From 87599729a7e2d03b934c070110c1d81366bdd8cf Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Tue, 27 Aug 2024 17:48:11 -0400 Subject: [PATCH] chore: Update generation configuration at Tue Aug 27 02:17:26 UTC 2024 (#11094) * chore: generate libraries at Tue Aug 27 02:19:11 UTC 2024 --- generation_config.yaml | 2 +- java-alloydb/README.md | 2 +- .../reflect-config.json | 18 + .../reflect-config.json | 18 + .../reflect-config.json | 72 + .../AlloyDBAdminClientHttpJsonTest.java | 39 + .../v1beta/AlloyDBAdminClientTest.java | 33 + .../google/cloud/alloydb/v1beta/Cluster.java | 687 +++++- .../alloydb/v1beta/ClusterOrBuilder.java | 101 +- .../cloud/alloydb/v1beta/ConnectionInfo.java | 26 +- .../v1beta/ConnectionInfoOrBuilder.java | 8 +- .../google/cloud/alloydb/v1beta/Instance.java | 445 +++- .../alloydb/v1beta/InstanceOrBuilder.java | 67 +- .../alloydb/v1beta/MaintenanceSchedule.java | 733 ++++++ .../v1beta/MaintenanceScheduleOrBuilder.java | 64 + .../v1beta/MaintenanceUpdatePolicy.java | 1976 +++++++++++++++++ .../MaintenanceUpdatePolicyOrBuilder.java | 93 + .../cloud/alloydb/v1beta/ResourcesProto.java | 561 ++--- .../cloud/alloydb/v1beta/resources.proto | 56 +- java-managedkafka/README.md | 2 +- .../reflect-config.json | 18 + java-texttospeech/README.md | 2 +- .../reflect-config.json | 18 + .../reflect-config.json | 18 + .../v1beta1/SynthesizeLongAudioMetadata.java | 8 +- .../SynthesizeLongAudioMetadataOrBuilder.java | 4 +- .../v1beta1/SynthesizeLongAudioRequest.java | 12 - .../SynthesizeLongAudioRequestOrBuilder.java | 3 - .../texttospeech/v1beta1/cloud_tts_lrs.proto | 1 - java-visionai/README.md | 2 +- .../cloud/visionai/v1/WarehouseClient.java | 16 +- .../reflect-config.json | 36 + .../v1/WarehouseClientHttpJsonTest.java | 40 + .../visionai/v1/WarehouseClientTest.java | 28 + .../cloud/visionai/v1/WarehouseGrpc.java | 4 + .../visionai/v1/AnalyzeAssetMetadata.java | 12 +- .../visionai/v1/BatchOperationStatus.java | 636 ++++++ .../v1/BatchOperationStatusOrBuilder.java | 54 + .../com/google/cloud/visionai/v1/Corpus.java | 282 +++ .../cloud/visionai/v1/CorpusOrBuilder.java | 58 + .../visionai/v1/ImportAssetsMetadata.java | 281 +++ .../v1/ImportAssetsMetadataOrBuilder.java | 38 + .../com/google/cloud/visionai/v1/Index.java | 282 +++ .../cloud/visionai/v1/IndexEndpoint.java | 294 +++ .../visionai/v1/IndexEndpointOrBuilder.java | 62 + .../cloud/visionai/v1/IndexOrBuilder.java | 58 + .../cloud/visionai/v1/SearchResultItem.java | 44 +- .../v1/SearchResultItemOrBuilder.java | 11 +- .../cloud/visionai/v1/WarehouseProto.java | 1722 +++++++------- .../google/cloud/visionai/v1/warehouse.proto | 65 +- 50 files changed, 7886 insertions(+), 1226 deletions(-) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceSchedule.java create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceScheduleOrBuilder.java create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceUpdatePolicy.java create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceUpdatePolicyOrBuilder.java create mode 100644 java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/BatchOperationStatus.java create mode 100644 java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/BatchOperationStatusOrBuilder.java diff --git a/generation_config.yaml b/generation_config.yaml index 12147d72bf05..616539ec8dd8 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.44.0 -googleapis_commitish: 54d659d0ae74f39e92755948b821a1495b3cb3c8 +googleapis_commitish: f17f11412a8770c52e7280fa0e66ab17cb2f3af9 libraries_bom_version: 26.44.0 # the libraries are ordered with respect to library name, which is diff --git a/java-alloydb/README.md b/java-alloydb/README.md index d0583cc88f9b..bdd76673f93b 100644 --- a/java-alloydb/README.md +++ b/java-alloydb/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-alloydb.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.36.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/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-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json index b78fdc579ea8..b0bc87009a5c 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json +++ b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json @@ -305,6 +305,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.ResourceDescriptor", "queryAllDeclaredConstructors": true, diff --git a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json index 4c8daeaf803c..b82cedfefc6d 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json +++ b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json @@ -332,6 +332,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.ResourceDescriptor", "queryAllDeclaredConstructors": true, diff --git a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json index 879075da4f66..544bc2b31d4f 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json +++ b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json @@ -332,6 +332,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.ResourceDescriptor", "queryAllDeclaredConstructors": true, @@ -1718,6 +1736,60 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.alloydb.v1beta.MaintenanceSchedule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.alloydb.v1beta.MaintenanceSchedule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy$MaintenanceWindow", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy$MaintenanceWindow$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.alloydb.v1beta.MigrationSource", "queryAllDeclaredConstructors": true, diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java index d1b06ae05732..4bd24dc54d2a 100644 --- a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java +++ b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java @@ -220,6 +220,8 @@ public void getClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -286,6 +288,8 @@ public void getClusterTest2() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -352,6 +356,8 @@ public void createClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -427,6 +433,8 @@ public void createClusterTest2() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -502,6 +510,8 @@ public void updateClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -536,6 +546,8 @@ public void updateClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -590,6 +602,8 @@ public void updateClusterExceptionTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateClusterAsync(cluster, updateMask).get(); @@ -715,6 +729,8 @@ public void promoteClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -786,6 +802,8 @@ public void promoteClusterTest2() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -857,6 +875,8 @@ public void restoreClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -942,6 +962,8 @@ public void createSecondaryClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1017,6 +1039,8 @@ public void createSecondaryClusterTest2() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1194,6 +1218,7 @@ public void getInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -1262,6 +1287,7 @@ public void getInstanceTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -1332,6 +1358,7 @@ public void createInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1409,6 +1436,7 @@ public void createInstanceTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1486,6 +1514,7 @@ public void createSecondaryInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1564,6 +1593,7 @@ public void createSecondaryInstanceTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1701,6 +1731,7 @@ public void updateInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1737,6 +1768,7 @@ public void updateInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -1793,6 +1825,7 @@ public void updateInstanceExceptionTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateInstanceAsync(instance, updateMask).get(); @@ -1922,6 +1955,7 @@ public void failoverInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1995,6 +2029,7 @@ public void failoverInstanceTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2070,6 +2105,7 @@ public void injectFaultTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2145,6 +2181,7 @@ public void injectFaultTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2222,6 +2259,7 @@ public void restartInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2295,6 +2333,7 @@ public void restartInstanceTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java index 52888d705476..f8f23091936f 100644 --- a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java +++ b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java @@ -217,6 +217,8 @@ public void getClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); mockAlloyDBAdmin.addResponse(expectedResponse); @@ -277,6 +279,8 @@ public void getClusterTest2() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); mockAlloyDBAdmin.addResponse(expectedResponse); @@ -337,6 +341,8 @@ public void createClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -411,6 +417,8 @@ public void createClusterTest2() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -485,6 +493,8 @@ public void updateClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -640,6 +650,8 @@ public void promoteClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -708,6 +720,8 @@ public void promoteClusterTest2() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -776,6 +790,8 @@ public void restoreClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -865,6 +881,8 @@ public void createSecondaryClusterTest() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -940,6 +958,8 @@ public void createSecondaryClusterTest2() throws Exception { .setSecondaryConfig(Cluster.SecondaryConfig.newBuilder().build()) .setPrimaryConfig(Cluster.PrimaryConfig.newBuilder().build()) .setSatisfiesPzs(true) + .setMaintenanceUpdatePolicy(MaintenanceUpdatePolicy.newBuilder().build()) + .setMaintenanceSchedule(MaintenanceSchedule.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1105,6 +1125,7 @@ public void getInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); mockAlloyDBAdmin.addResponse(expectedResponse); @@ -1167,6 +1188,7 @@ public void getInstanceTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); mockAlloyDBAdmin.addResponse(expectedResponse); @@ -1229,6 +1251,7 @@ public void createInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1305,6 +1328,7 @@ public void createInstanceTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1381,6 +1405,7 @@ public void createSecondaryInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1459,6 +1484,7 @@ public void createSecondaryInstanceTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1596,6 +1622,7 @@ public void updateInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1753,6 +1780,7 @@ public void failoverInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1823,6 +1851,7 @@ public void failoverInstanceTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1893,6 +1922,7 @@ public void injectFaultTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1966,6 +1996,7 @@ public void injectFaultTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2039,6 +2070,7 @@ public void restartInstanceTest() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2109,6 +2141,7 @@ public void restartInstanceTest2() throws Exception { .setSatisfiesPzs(true) .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) + .addAllOutboundPublicIpAddresses(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() 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 f7733653bdee..641819a9d647 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 @@ -585,7 +585,7 @@ public interface NetworkConfigOrBuilder * resources are created and from which they are accessible via Private IP. * The network must belong to the same project as the cluster. It is * specified in the form: - * "projects/{project_number}/global/networks/{network_id}". This is + * `projects/{project_number}/global/networks/{network_id}`. This is * required to create a cluster. * * @@ -604,7 +604,7 @@ public interface NetworkConfigOrBuilder * resources are created and from which they are accessible via Private IP. * The network must belong to the same project as the cluster. It is * specified in the form: - * "projects/{project_number}/global/networks/{network_id}". This is + * `projects/{project_number}/global/networks/{network_id}`. This is * required to create a cluster. * * @@ -710,7 +710,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * resources are created and from which they are accessible via Private IP. * The network must belong to the same project as the cluster. It is * specified in the form: - * "projects/{project_number}/global/networks/{network_id}". This is + * `projects/{project_number}/global/networks/{network_id}`. This is * required to create a cluster. * * @@ -740,7 +740,7 @@ public java.lang.String getNetwork() { * resources are created and from which they are accessible via Private IP. * The network must belong to the same project as the cluster. It is * specified in the form: - * "projects/{project_number}/global/networks/{network_id}". This is + * `projects/{project_number}/global/networks/{network_id}`. This is * required to create a cluster. * * @@ -1206,7 +1206,7 @@ public Builder mergeFrom( * resources are created and from which they are accessible via Private IP. * The network must belong to the same project as the cluster. It is * specified in the form: - * "projects/{project_number}/global/networks/{network_id}". This is + * `projects/{project_number}/global/networks/{network_id}`. This is * required to create a cluster. * * @@ -1235,7 +1235,7 @@ public java.lang.String getNetwork() { * resources are created and from which they are accessible via Private IP. * The network must belong to the same project as the cluster. It is * specified in the form: - * "projects/{project_number}/global/networks/{network_id}". This is + * `projects/{project_number}/global/networks/{network_id}`. This is * required to create a cluster. * * @@ -1264,7 +1264,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * resources are created and from which they are accessible via Private IP. * The network must belong to the same project as the cluster. It is * specified in the form: - * "projects/{project_number}/global/networks/{network_id}". This is + * `projects/{project_number}/global/networks/{network_id}`. This is * required to create a cluster. * * @@ -1292,7 +1292,7 @@ public Builder setNetwork(java.lang.String value) { * resources are created and from which they are accessible via Private IP. * The network must belong to the same project as the cluster. It is * specified in the form: - * "projects/{project_number}/global/networks/{network_id}". This is + * `projects/{project_number}/global/networks/{network_id}`. This is * required to create a cluster. * * @@ -1316,7 +1316,7 @@ public Builder clearNetwork() { * resources are created and from which they are accessible via Private IP. * The network must belong to the same project as the cluster. It is * specified in the form: - * "projects/{project_number}/global/networks/{network_id}". This is + * `projects/{project_number}/global/networks/{network_id}`. This is * required to create a cluster. * * @@ -3771,7 +3771,7 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getNetworkConfig() * Required. The resource link for the VPC network in which cluster resources * are created and from which they are accessible via Private IP. The network * must belong to the same project as the cluster. It is specified in the - * form: "projects/{project}/global/networks/{network_id}". This is required + * form: `projects/{project}/global/networks/{network_id}`. This is required * to create a cluster. Deprecated, use network_config.network instead. * * @@ -3780,7 +3780,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=547 + * google/cloud/alloydb/v1beta/resources.proto;l=574 * @return The network. */ @java.lang.Override @@ -3803,7 +3803,7 @@ public java.lang.String getNetwork() { * Required. The resource link for the VPC network in which cluster resources * are created and from which they are accessible via Private IP. The network * must belong to the same project as the cluster. It is specified in the - * form: "projects/{project}/global/networks/{network_id}". This is required + * form: `projects/{project}/global/networks/{network_id}`. This is required * to create a cluster. Deprecated, use network_config.network instead. * * @@ -3812,7 +3812,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=547 + * google/cloud/alloydb/v1beta/resources.proto;l=574 * @return The bytes for network. */ @java.lang.Override @@ -4153,7 +4153,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=582 + * google/cloud/alloydb/v1beta/resources.proto;l=609 * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -4171,7 +4171,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=582 + * google/cloud/alloydb/v1beta/resources.proto;l=609 * @return The sslConfig. */ @java.lang.Override @@ -4562,6 +4562,126 @@ public boolean getSatisfiesPzs() { return satisfiesPzs_; } + public static final int MAINTENANCE_UPDATE_POLICY_FIELD_NUMBER = 32; + private com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenanceUpdatePolicy_; + /** + * + * + *
+   * Optional. The maintenance update policy determines when to allow or deny
+   * updates.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the maintenanceUpdatePolicy field is set. + */ + @java.lang.Override + public boolean hasMaintenanceUpdatePolicy() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + * + * + *
+   * Optional. The maintenance update policy determines when to allow or deny
+   * updates.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The maintenanceUpdatePolicy. + */ + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy getMaintenanceUpdatePolicy() { + return maintenanceUpdatePolicy_ == null + ? com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.getDefaultInstance() + : maintenanceUpdatePolicy_; + } + /** + * + * + *
+   * Optional. The maintenance update policy determines when to allow or deny
+   * updates.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicyOrBuilder + getMaintenanceUpdatePolicyOrBuilder() { + return maintenanceUpdatePolicy_ == null + ? com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.getDefaultInstance() + : maintenanceUpdatePolicy_; + } + + public static final int MAINTENANCE_SCHEDULE_FIELD_NUMBER = 37; + private com.google.cloud.alloydb.v1beta.MaintenanceSchedule maintenanceSchedule_; + /** + * + * + *
+   * Output only. The maintenance schedule for the cluster, generated for a
+   * specific rollout if a maintenance window is set.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the maintenanceSchedule field is set. + */ + @java.lang.Override + public boolean hasMaintenanceSchedule() { + return ((bitField0_ & 0x00004000) != 0); + } + /** + * + * + *
+   * Output only. The maintenance schedule for the cluster, generated for a
+   * specific rollout if a maintenance window is set.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The maintenanceSchedule. + */ + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceSchedule getMaintenanceSchedule() { + return maintenanceSchedule_ == null + ? com.google.cloud.alloydb.v1beta.MaintenanceSchedule.getDefaultInstance() + : maintenanceSchedule_; + } + /** + * + * + *
+   * Output only. The maintenance schedule for the cluster, generated for a
+   * specific rollout if a maintenance window is set.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceScheduleOrBuilder + getMaintenanceScheduleOrBuilder() { + return maintenanceSchedule_ == null + ? com.google.cloud.alloydb.v1beta.MaintenanceSchedule.getDefaultInstance() + : maintenanceSchedule_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -4659,6 +4779,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (satisfiesPzs_ != false) { output.writeBool(30, satisfiesPzs_); } + if (((bitField0_ & 0x00002000) != 0)) { + output.writeMessage(32, getMaintenanceUpdatePolicy()); + } + if (((bitField0_ & 0x00004000) != 0)) { + output.writeMessage(37, getMaintenanceSchedule()); + } getUnknownFields().writeTo(output); } @@ -4774,6 +4900,15 @@ public int getSerializedSize() { if (satisfiesPzs_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(30, satisfiesPzs_); } + if (((bitField0_ & 0x00002000) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 32, getMaintenanceUpdatePolicy()); + } + if (((bitField0_ & 0x00004000) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(37, getMaintenanceSchedule()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -4853,6 +4988,14 @@ public boolean equals(final java.lang.Object obj) { if (!getPrimaryConfig().equals(other.getPrimaryConfig())) return false; } if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; + if (hasMaintenanceUpdatePolicy() != other.hasMaintenanceUpdatePolicy()) return false; + if (hasMaintenanceUpdatePolicy()) { + if (!getMaintenanceUpdatePolicy().equals(other.getMaintenanceUpdatePolicy())) return false; + } + if (hasMaintenanceSchedule() != other.hasMaintenanceSchedule()) return false; + if (hasMaintenanceSchedule()) { + if (!getMaintenanceSchedule().equals(other.getMaintenanceSchedule())) return false; + } if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 15: @@ -4955,6 +5098,14 @@ public int hashCode() { } hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); + if (hasMaintenanceUpdatePolicy()) { + hash = (37 * hash) + MAINTENANCE_UPDATE_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getMaintenanceUpdatePolicy().hashCode(); + } + if (hasMaintenanceSchedule()) { + hash = (37 * hash) + MAINTENANCE_SCHEDULE_FIELD_NUMBER; + hash = (53 * hash) + getMaintenanceSchedule().hashCode(); + } switch (sourceCase_) { case 15: hash = (37 * hash) + BACKUP_SOURCE_FIELD_NUMBER; @@ -5148,6 +5299,8 @@ private void maybeForceBuilderInitialization() { getContinuousBackupInfoFieldBuilder(); getSecondaryConfigFieldBuilder(); getPrimaryConfigFieldBuilder(); + getMaintenanceUpdatePolicyFieldBuilder(); + getMaintenanceScheduleFieldBuilder(); } } @@ -5238,6 +5391,16 @@ public Builder clear() { primaryConfigBuilder_ = null; } satisfiesPzs_ = false; + maintenanceUpdatePolicy_ = null; + if (maintenanceUpdatePolicyBuilder_ != null) { + maintenanceUpdatePolicyBuilder_.dispose(); + maintenanceUpdatePolicyBuilder_ = null; + } + maintenanceSchedule_ = null; + if (maintenanceScheduleBuilder_ != null) { + maintenanceScheduleBuilder_.dispose(); + maintenanceScheduleBuilder_ = null; + } sourceCase_ = 0; source_ = null; return this; @@ -5383,6 +5546,20 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster result) { if (((from_bitField0_ & 0x04000000) != 0)) { result.satisfiesPzs_ = satisfiesPzs_; } + if (((from_bitField0_ & 0x08000000) != 0)) { + result.maintenanceUpdatePolicy_ = + maintenanceUpdatePolicyBuilder_ == null + ? maintenanceUpdatePolicy_ + : maintenanceUpdatePolicyBuilder_.build(); + to_bitField0_ |= 0x00002000; + } + if (((from_bitField0_ & 0x10000000) != 0)) { + result.maintenanceSchedule_ = + maintenanceScheduleBuilder_ == null + ? maintenanceSchedule_ + : maintenanceScheduleBuilder_.build(); + to_bitField0_ |= 0x00004000; + } result.bitField0_ |= to_bitField0_; } @@ -5525,6 +5702,12 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster other) { if (other.getSatisfiesPzs() != false) { setSatisfiesPzs(other.getSatisfiesPzs()); } + if (other.hasMaintenanceUpdatePolicy()) { + mergeMaintenanceUpdatePolicy(other.getMaintenanceUpdatePolicy()); + } + if (other.hasMaintenanceSchedule()) { + mergeMaintenanceSchedule(other.getMaintenanceSchedule()); + } switch (other.getSourceCase()) { case BACKUP_SOURCE: { @@ -5745,6 +5928,20 @@ public Builder mergeFrom( bitField0_ |= 0x04000000; break; } // case 240 + case 258: + { + input.readMessage( + getMaintenanceUpdatePolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x08000000; + break; + } // case 258 + case 298: + { + input.readMessage( + getMaintenanceScheduleFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x10000000; + break; + } // case 298 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -7844,7 +8041,7 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder getNetworkC * Required. The resource link for the VPC network in which cluster resources * are created and from which they are accessible via Private IP. The network * must belong to the same project as the cluster. It is specified in the - * form: "projects/{project}/global/networks/{network_id}". This is required + * form: `projects/{project}/global/networks/{network_id}`. This is required * to create a cluster. Deprecated, use network_config.network instead. * * @@ -7853,7 +8050,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=547 + * google/cloud/alloydb/v1beta/resources.proto;l=574 * @return The network. */ @java.lang.Deprecated @@ -7875,7 +8072,7 @@ public java.lang.String getNetwork() { * Required. The resource link for the VPC network in which cluster resources * are created and from which they are accessible via Private IP. The network * must belong to the same project as the cluster. It is specified in the - * form: "projects/{project}/global/networks/{network_id}". This is required + * form: `projects/{project}/global/networks/{network_id}`. This is required * to create a cluster. Deprecated, use network_config.network instead. * * @@ -7884,7 +8081,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=547 + * google/cloud/alloydb/v1beta/resources.proto;l=574 * @return The bytes for network. */ @java.lang.Deprecated @@ -7906,7 +8103,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * Required. The resource link for the VPC network in which cluster resources * are created and from which they are accessible via Private IP. The network * must belong to the same project as the cluster. It is specified in the - * form: "projects/{project}/global/networks/{network_id}". This is required + * form: `projects/{project}/global/networks/{network_id}`. This is required * to create a cluster. Deprecated, use network_config.network instead. * * @@ -7915,7 +8112,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=547 + * google/cloud/alloydb/v1beta/resources.proto;l=574 * @param value The network to set. * @return This builder for chaining. */ @@ -7936,7 +8133,7 @@ public Builder setNetwork(java.lang.String value) { * Required. The resource link for the VPC network in which cluster resources * are created and from which they are accessible via Private IP. The network * must belong to the same project as the cluster. It is specified in the - * form: "projects/{project}/global/networks/{network_id}". This is required + * form: `projects/{project}/global/networks/{network_id}`. This is required * to create a cluster. Deprecated, use network_config.network instead. * * @@ -7945,7 +8142,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=547 + * google/cloud/alloydb/v1beta/resources.proto;l=574 * @return This builder for chaining. */ @java.lang.Deprecated @@ -7962,7 +8159,7 @@ public Builder clearNetwork() { * Required. The resource link for the VPC network in which cluster resources * are created and from which they are accessible via Private IP. The network * must belong to the same project as the cluster. It is specified in the - * form: "projects/{project}/global/networks/{network_id}". This is required + * form: `projects/{project}/global/networks/{network_id}`. This is required * to create a cluster. Deprecated, use network_config.network instead. * * @@ -7971,7 +8168,7 @@ public Builder clearNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=547 + * google/cloud/alloydb/v1beta/resources.proto;l=574 * @param value The bytes for network to set. * @return This builder for chaining. */ @@ -8812,7 +9009,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=582 + * google/cloud/alloydb/v1beta/resources.proto;l=609 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -8829,7 +9026,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=582 + * google/cloud/alloydb/v1beta/resources.proto;l=609 * @return The sslConfig. */ @java.lang.Deprecated @@ -10308,6 +10505,442 @@ public Builder clearSatisfiesPzs() { return this; } + private com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenanceUpdatePolicy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.Builder, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicyOrBuilder> + maintenanceUpdatePolicyBuilder_; + /** + * + * + *
+     * Optional. The maintenance update policy determines when to allow or deny
+     * updates.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the maintenanceUpdatePolicy field is set. + */ + public boolean hasMaintenanceUpdatePolicy() { + return ((bitField0_ & 0x08000000) != 0); + } + /** + * + * + *
+     * Optional. The maintenance update policy determines when to allow or deny
+     * updates.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The maintenanceUpdatePolicy. + */ + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy getMaintenanceUpdatePolicy() { + if (maintenanceUpdatePolicyBuilder_ == null) { + return maintenanceUpdatePolicy_ == null + ? com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.getDefaultInstance() + : maintenanceUpdatePolicy_; + } else { + return maintenanceUpdatePolicyBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Optional. The maintenance update policy determines when to allow or deny
+     * updates.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMaintenanceUpdatePolicy( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy value) { + if (maintenanceUpdatePolicyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + maintenanceUpdatePolicy_ = value; + } else { + maintenanceUpdatePolicyBuilder_.setMessage(value); + } + bitField0_ |= 0x08000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The maintenance update policy determines when to allow or deny
+     * updates.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMaintenanceUpdatePolicy( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.Builder builderForValue) { + if (maintenanceUpdatePolicyBuilder_ == null) { + maintenanceUpdatePolicy_ = builderForValue.build(); + } else { + maintenanceUpdatePolicyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x08000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The maintenance update policy determines when to allow or deny
+     * updates.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeMaintenanceUpdatePolicy( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy value) { + if (maintenanceUpdatePolicyBuilder_ == null) { + if (((bitField0_ & 0x08000000) != 0) + && maintenanceUpdatePolicy_ != null + && maintenanceUpdatePolicy_ + != com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.getDefaultInstance()) { + getMaintenanceUpdatePolicyBuilder().mergeFrom(value); + } else { + maintenanceUpdatePolicy_ = value; + } + } else { + maintenanceUpdatePolicyBuilder_.mergeFrom(value); + } + if (maintenanceUpdatePolicy_ != null) { + bitField0_ |= 0x08000000; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Optional. The maintenance update policy determines when to allow or deny
+     * updates.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearMaintenanceUpdatePolicy() { + bitField0_ = (bitField0_ & ~0x08000000); + maintenanceUpdatePolicy_ = null; + if (maintenanceUpdatePolicyBuilder_ != null) { + maintenanceUpdatePolicyBuilder_.dispose(); + maintenanceUpdatePolicyBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The maintenance update policy determines when to allow or deny
+     * updates.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.Builder + getMaintenanceUpdatePolicyBuilder() { + bitField0_ |= 0x08000000; + onChanged(); + return getMaintenanceUpdatePolicyFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Optional. The maintenance update policy determines when to allow or deny
+     * updates.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicyOrBuilder + getMaintenanceUpdatePolicyOrBuilder() { + if (maintenanceUpdatePolicyBuilder_ != null) { + return maintenanceUpdatePolicyBuilder_.getMessageOrBuilder(); + } else { + return maintenanceUpdatePolicy_ == null + ? com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.getDefaultInstance() + : maintenanceUpdatePolicy_; + } + } + /** + * + * + *
+     * Optional. The maintenance update policy determines when to allow or deny
+     * updates.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.Builder, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicyOrBuilder> + getMaintenanceUpdatePolicyFieldBuilder() { + if (maintenanceUpdatePolicyBuilder_ == null) { + maintenanceUpdatePolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.Builder, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicyOrBuilder>( + getMaintenanceUpdatePolicy(), getParentForChildren(), isClean()); + maintenanceUpdatePolicy_ = null; + } + return maintenanceUpdatePolicyBuilder_; + } + + private com.google.cloud.alloydb.v1beta.MaintenanceSchedule maintenanceSchedule_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.MaintenanceSchedule, + com.google.cloud.alloydb.v1beta.MaintenanceSchedule.Builder, + com.google.cloud.alloydb.v1beta.MaintenanceScheduleOrBuilder> + maintenanceScheduleBuilder_; + /** + * + * + *
+     * Output only. The maintenance schedule for the cluster, generated for a
+     * specific rollout if a maintenance window is set.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the maintenanceSchedule field is set. + */ + public boolean hasMaintenanceSchedule() { + return ((bitField0_ & 0x10000000) != 0); + } + /** + * + * + *
+     * Output only. The maintenance schedule for the cluster, generated for a
+     * specific rollout if a maintenance window is set.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The maintenanceSchedule. + */ + public com.google.cloud.alloydb.v1beta.MaintenanceSchedule getMaintenanceSchedule() { + if (maintenanceScheduleBuilder_ == null) { + return maintenanceSchedule_ == null + ? com.google.cloud.alloydb.v1beta.MaintenanceSchedule.getDefaultInstance() + : maintenanceSchedule_; + } else { + return maintenanceScheduleBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The maintenance schedule for the cluster, generated for a
+     * specific rollout if a maintenance window is set.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setMaintenanceSchedule( + com.google.cloud.alloydb.v1beta.MaintenanceSchedule value) { + if (maintenanceScheduleBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + maintenanceSchedule_ = value; + } else { + maintenanceScheduleBuilder_.setMessage(value); + } + bitField0_ |= 0x10000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The maintenance schedule for the cluster, generated for a
+     * specific rollout if a maintenance window is set.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setMaintenanceSchedule( + com.google.cloud.alloydb.v1beta.MaintenanceSchedule.Builder builderForValue) { + if (maintenanceScheduleBuilder_ == null) { + maintenanceSchedule_ = builderForValue.build(); + } else { + maintenanceScheduleBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x10000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The maintenance schedule for the cluster, generated for a
+     * specific rollout if a maintenance window is set.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeMaintenanceSchedule( + com.google.cloud.alloydb.v1beta.MaintenanceSchedule value) { + if (maintenanceScheduleBuilder_ == null) { + if (((bitField0_ & 0x10000000) != 0) + && maintenanceSchedule_ != null + && maintenanceSchedule_ + != com.google.cloud.alloydb.v1beta.MaintenanceSchedule.getDefaultInstance()) { + getMaintenanceScheduleBuilder().mergeFrom(value); + } else { + maintenanceSchedule_ = value; + } + } else { + maintenanceScheduleBuilder_.mergeFrom(value); + } + if (maintenanceSchedule_ != null) { + bitField0_ |= 0x10000000; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Output only. The maintenance schedule for the cluster, generated for a
+     * specific rollout if a maintenance window is set.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearMaintenanceSchedule() { + bitField0_ = (bitField0_ & ~0x10000000); + maintenanceSchedule_ = null; + if (maintenanceScheduleBuilder_ != null) { + maintenanceScheduleBuilder_.dispose(); + maintenanceScheduleBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The maintenance schedule for the cluster, generated for a
+     * specific rollout if a maintenance window is set.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.alloydb.v1beta.MaintenanceSchedule.Builder + getMaintenanceScheduleBuilder() { + bitField0_ |= 0x10000000; + onChanged(); + return getMaintenanceScheduleFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The maintenance schedule for the cluster, generated for a
+     * specific rollout if a maintenance window is set.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.alloydb.v1beta.MaintenanceScheduleOrBuilder + getMaintenanceScheduleOrBuilder() { + if (maintenanceScheduleBuilder_ != null) { + return maintenanceScheduleBuilder_.getMessageOrBuilder(); + } else { + return maintenanceSchedule_ == null + ? com.google.cloud.alloydb.v1beta.MaintenanceSchedule.getDefaultInstance() + : maintenanceSchedule_; + } + } + /** + * + * + *
+     * Output only. The maintenance schedule for the cluster, generated for a
+     * specific rollout if a maintenance window is set.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.MaintenanceSchedule, + com.google.cloud.alloydb.v1beta.MaintenanceSchedule.Builder, + com.google.cloud.alloydb.v1beta.MaintenanceScheduleOrBuilder> + getMaintenanceScheduleFieldBuilder() { + if (maintenanceScheduleBuilder_ == null) { + maintenanceScheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.MaintenanceSchedule, + com.google.cloud.alloydb.v1beta.MaintenanceSchedule.Builder, + com.google.cloud.alloydb.v1beta.MaintenanceScheduleOrBuilder>( + getMaintenanceSchedule(), getParentForChildren(), isClean()); + maintenanceSchedule_ = null; + } + return maintenanceScheduleBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); 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 b103f75a33e4..5ab9d60140da 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 @@ -494,7 +494,7 @@ java.lang.String getLabelsOrDefault( * Required. The resource link for the VPC network in which cluster resources * are created and from which they are accessible via Private IP. The network * must belong to the same project as the cluster. It is specified in the - * form: "projects/{project}/global/networks/{network_id}". This is required + * form: `projects/{project}/global/networks/{network_id}`. This is required * to create a cluster. Deprecated, use network_config.network instead. * * @@ -503,7 +503,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=547 + * google/cloud/alloydb/v1beta/resources.proto;l=574 * @return The network. */ @java.lang.Deprecated @@ -515,7 +515,7 @@ java.lang.String getLabelsOrDefault( * Required. The resource link for the VPC network in which cluster resources * are created and from which they are accessible via Private IP. The network * must belong to the same project as the cluster. It is specified in the - * form: "projects/{project}/global/networks/{network_id}". This is required + * form: `projects/{project}/global/networks/{network_id}`. This is required * to create a cluster. Deprecated, use network_config.network instead. * * @@ -524,7 +524,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=547 + * google/cloud/alloydb/v1beta/resources.proto;l=574 * @return The bytes for network. */ @java.lang.Deprecated @@ -748,7 +748,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=582 + * google/cloud/alloydb/v1beta/resources.proto;l=609 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -763,7 +763,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=582 + * google/cloud/alloydb/v1beta/resources.proto;l=609 * @return The sslConfig. */ @java.lang.Deprecated @@ -1046,5 +1046,94 @@ java.lang.String getAnnotationsOrDefault( */ boolean getSatisfiesPzs(); + /** + * + * + *
+   * Optional. The maintenance update policy determines when to allow or deny
+   * updates.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the maintenanceUpdatePolicy field is set. + */ + boolean hasMaintenanceUpdatePolicy(); + /** + * + * + *
+   * Optional. The maintenance update policy determines when to allow or deny
+   * updates.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The maintenanceUpdatePolicy. + */ + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy getMaintenanceUpdatePolicy(); + /** + * + * + *
+   * Optional. The maintenance update policy determines when to allow or deny
+   * updates.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy maintenance_update_policy = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicyOrBuilder + getMaintenanceUpdatePolicyOrBuilder(); + + /** + * + * + *
+   * Output only. The maintenance schedule for the cluster, generated for a
+   * specific rollout if a maintenance window is set.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the maintenanceSchedule field is set. + */ + boolean hasMaintenanceSchedule(); + /** + * + * + *
+   * Output only. The maintenance schedule for the cluster, generated for a
+   * specific rollout if a maintenance window is set.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The maintenanceSchedule. + */ + com.google.cloud.alloydb.v1beta.MaintenanceSchedule getMaintenanceSchedule(); + /** + * + * + *
+   * Output only. The maintenance schedule for the cluster, generated for a
+   * specific rollout if a maintenance window is set.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.MaintenanceSchedule maintenance_schedule = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.alloydb.v1beta.MaintenanceScheduleOrBuilder getMaintenanceScheduleOrBuilder(); + com.google.cloud.alloydb.v1beta.Cluster.SourceCase getSourceCase(); } 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 41900ea17dc1..136664bcb16c 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 @@ -256,7 +256,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=1015 + * google/cloud/alloydb/v1beta/resources.proto;l=1065 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -276,7 +276,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=1015 + * google/cloud/alloydb/v1beta/resources.proto;l=1065 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -296,7 +296,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1015 + * google/cloud/alloydb/v1beta/resources.proto;l=1065 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -317,7 +317,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=1015 + * google/cloud/alloydb/v1beta/resources.proto;l=1065 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1284,7 +1284,7 @@ private void ensurePemCertificateChainIsMutable() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1015 + * See google/cloud/alloydb/v1beta/resources.proto;l=1065 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -1305,7 +1305,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=1015 + * See google/cloud/alloydb/v1beta/resources.proto;l=1065 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -1325,7 +1325,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1015 + * See google/cloud/alloydb/v1beta/resources.proto;l=1065 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -1346,7 +1346,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=1015 + * See google/cloud/alloydb/v1beta/resources.proto;l=1065 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1367,7 +1367,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=1015 + * See google/cloud/alloydb/v1beta/resources.proto;l=1065 * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. @@ -1396,7 +1396,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=1015 + * See google/cloud/alloydb/v1beta/resources.proto;l=1065 * @param value The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1424,7 +1424,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=1015 + * See google/cloud/alloydb/v1beta/resources.proto;l=1065 * @param values The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1449,7 +1449,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=1015 + * See google/cloud/alloydb/v1beta/resources.proto;l=1065 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1473,7 +1473,7 @@ public Builder clearPemCertificateChain() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1015 + * See google/cloud/alloydb/v1beta/resources.proto;l=1065 * @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 77b3c3512192..c45d067fa998 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 @@ -128,7 +128,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1015 + * google/cloud/alloydb/v1beta/resources.proto;l=1065 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -146,7 +146,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1015 + * google/cloud/alloydb/v1beta/resources.proto;l=1065 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -164,7 +164,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1015 + * google/cloud/alloydb/v1beta/resources.proto;l=1065 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -183,7 +183,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1015 + * google/cloud/alloydb/v1beta/resources.proto;l=1065 * @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/Instance.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java index e5e707530fe2..a0dd0a8d13f6 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 @@ -51,6 +51,7 @@ private Instance() { ipAddress_ = ""; publicIpAddress_ = ""; etag_ = ""; + outboundPublicIpAddresses_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -9678,6 +9679,20 @@ public interface InstanceNetworkConfigOrBuilder * @return The enablePublicIp. */ boolean getEnablePublicIp(); + + /** + * + * + *
+     * Optional. Enabling an outbound public IP address to support a database
+     * server sending requests out into the internet.
+     * 
+ * + * bool enable_outbound_public_ip = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableOutboundPublicIp. + */ + boolean getEnableOutboundPublicIp(); } /** * @@ -10512,6 +10527,25 @@ public boolean getEnablePublicIp() { return enablePublicIp_; } + public static final int ENABLE_OUTBOUND_PUBLIC_IP_FIELD_NUMBER = 3; + private boolean enableOutboundPublicIp_ = false; + /** + * + * + *
+     * Optional. Enabling an outbound public IP address to support a database
+     * server sending requests out into the internet.
+     * 
+ * + * bool enable_outbound_public_ip = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableOutboundPublicIp. + */ + @java.lang.Override + public boolean getEnableOutboundPublicIp() { + return enableOutboundPublicIp_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -10532,6 +10566,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enablePublicIp_ != false) { output.writeBool(2, enablePublicIp_); } + if (enableOutboundPublicIp_ != false) { + output.writeBool(3, enableOutboundPublicIp_); + } getUnknownFields().writeTo(output); } @@ -10549,6 +10586,9 @@ public int getSerializedSize() { if (enablePublicIp_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enablePublicIp_); } + if (enableOutboundPublicIp_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, enableOutboundPublicIp_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -10568,6 +10608,7 @@ public boolean equals(final java.lang.Object obj) { if (!getAuthorizedExternalNetworksList().equals(other.getAuthorizedExternalNetworksList())) return false; if (getEnablePublicIp() != other.getEnablePublicIp()) return false; + if (getEnableOutboundPublicIp() != other.getEnableOutboundPublicIp()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -10585,6 +10626,8 @@ public int hashCode() { } hash = (37 * hash) + ENABLE_PUBLIC_IP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePublicIp()); + hash = (37 * hash) + ENABLE_OUTBOUND_PUBLIC_IP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableOutboundPublicIp()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -10735,6 +10778,7 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); enablePublicIp_ = false; + enableOutboundPublicIp_ = false; return this; } @@ -10791,6 +10835,9 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000002) != 0)) { result.enablePublicIp_ = enablePublicIp_; } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.enableOutboundPublicIp_ = enableOutboundPublicIp_; + } } @java.lang.Override @@ -10873,6 +10920,9 @@ public Builder mergeFrom( if (other.getEnablePublicIp() != false) { setEnablePublicIp(other.getEnablePublicIp()); } + if (other.getEnableOutboundPublicIp() != false) { + setEnableOutboundPublicIp(other.getEnableOutboundPublicIp()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -10921,6 +10971,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000002; break; } // case 16 + case 24: + { + enableOutboundPublicIp_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -11428,6 +11484,62 @@ public Builder clearEnablePublicIp() { return this; } + private boolean enableOutboundPublicIp_; + /** + * + * + *
+       * Optional. Enabling an outbound public IP address to support a database
+       * server sending requests out into the internet.
+       * 
+ * + * bool enable_outbound_public_ip = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableOutboundPublicIp. + */ + @java.lang.Override + public boolean getEnableOutboundPublicIp() { + return enableOutboundPublicIp_; + } + /** + * + * + *
+       * Optional. Enabling an outbound public IP address to support a database
+       * server sending requests out into the internet.
+       * 
+ * + * bool enable_outbound_public_ip = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enableOutboundPublicIp to set. + * @return This builder for chaining. + */ + public Builder setEnableOutboundPublicIp(boolean value) { + + enableOutboundPublicIp_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. Enabling an outbound public IP address to support a database
+       * server sending requests out into the internet.
+       * 
+ * + * bool enable_outbound_public_ip = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEnableOutboundPublicIp() { + bitField0_ = (bitField0_ & ~0x00000004); + enableOutboundPublicIp_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12637,7 +12749,9 @@ public com.google.protobuf.ByteString getIpAddressBytes() { * end-user application. * * - * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The publicIpAddress. */ @@ -12662,7 +12776,9 @@ public java.lang.String getPublicIpAddress() { * end-user application. * * - * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The bytes for publicIpAddress. */ @@ -13115,6 +13231,78 @@ public com.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig getNetwork : networkConfig_; } + public static final int OUTBOUND_PUBLIC_IP_ADDRESSES_FIELD_NUMBER = 34; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList outboundPublicIpAddresses_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * Output only. All outbound public IP addresses configured for the instance.
+   * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return A list containing the outboundPublicIpAddresses. + */ + public com.google.protobuf.ProtocolStringList getOutboundPublicIpAddressesList() { + return outboundPublicIpAddresses_; + } + /** + * + * + *
+   * Output only. All outbound public IP addresses configured for the instance.
+   * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The count of outboundPublicIpAddresses. + */ + public int getOutboundPublicIpAddressesCount() { + return outboundPublicIpAddresses_.size(); + } + /** + * + * + *
+   * Output only. All outbound public IP addresses configured for the instance.
+   * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param index The index of the element to return. + * @return The outboundPublicIpAddresses at the given index. + */ + public java.lang.String getOutboundPublicIpAddresses(int index) { + return outboundPublicIpAddresses_.get(index); + } + /** + * + * + *
+   * Output only. All outbound public IP addresses configured for the instance.
+   * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param index The index of the value to return. + * @return The bytes of the outboundPublicIpAddresses at the given index. + */ + public com.google.protobuf.ByteString getOutboundPublicIpAddressesBytes(int index) { + return outboundPublicIpAddresses_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -13211,6 +13399,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000400) != 0)) { output.writeMessage(29, getNetworkConfig()); } + for (int i = 0; i < outboundPublicIpAddresses_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 34, outboundPublicIpAddresses_.getRaw(i)); + } getUnknownFields().writeTo(output); } @@ -13328,6 +13520,14 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getNetworkConfig()); } + { + int dataSize = 0; + for (int i = 0; i < outboundPublicIpAddresses_.size(); i++) { + dataSize += computeStringSizeNoTag(outboundPublicIpAddresses_.getRaw(i)); + } + size += dataSize; + size += 2 * getOutboundPublicIpAddressesList().size(); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -13403,6 +13603,8 @@ public boolean equals(final java.lang.Object obj) { if (hasNetworkConfig()) { if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; } + if (!getOutboundPublicIpAddressesList().equals(other.getOutboundPublicIpAddressesList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -13498,6 +13700,10 @@ public int hashCode() { hash = (37 * hash) + NETWORK_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getNetworkConfig().hashCode(); } + if (getOutboundPublicIpAddressesCount() > 0) { + hash = (37 * hash) + OUTBOUND_PUBLIC_IP_ADDRESSES_FIELD_NUMBER; + hash = (53 * hash) + getOutboundPublicIpAddressesList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -13765,6 +13971,7 @@ public Builder clear() { networkConfigBuilder_.dispose(); networkConfigBuilder_ = null; } + outboundPublicIpAddresses_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -13921,6 +14128,10 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance result) { networkConfigBuilder_ == null ? networkConfig_ : networkConfigBuilder_.build(); to_bitField0_ |= 0x00000400; } + if (((from_bitField0_ & 0x08000000) != 0)) { + outboundPublicIpAddresses_.makeImmutable(); + result.outboundPublicIpAddresses_ = outboundPublicIpAddresses_; + } result.bitField0_ |= to_bitField0_; } @@ -14085,6 +14296,16 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance other) { if (other.hasNetworkConfig()) { mergeNetworkConfig(other.getNetworkConfig()); } + if (!other.outboundPublicIpAddresses_.isEmpty()) { + if (outboundPublicIpAddresses_.isEmpty()) { + outboundPublicIpAddresses_ = other.outboundPublicIpAddresses_; + bitField0_ |= 0x08000000; + } else { + ensureOutboundPublicIpAddressesIsMutable(); + outboundPublicIpAddresses_.addAll(other.outboundPublicIpAddresses_); + } + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -14301,6 +14522,13 @@ public Builder mergeFrom( bitField0_ |= 0x04000000; break; } // case 234 + case 274: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureOutboundPublicIpAddressesIsMutable(); + outboundPublicIpAddresses_.add(s); + break; + } // case 274 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -17515,7 +17743,9 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { * end-user application. * * - * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The publicIpAddress. */ @@ -17539,7 +17769,9 @@ public java.lang.String getPublicIpAddress() { * end-user application. * * - * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The bytes for publicIpAddress. */ @@ -17563,7 +17795,9 @@ public com.google.protobuf.ByteString getPublicIpAddressBytes() { * end-user application. * * - * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @param value The publicIpAddress to set. * @return This builder for chaining. @@ -17586,7 +17820,9 @@ public Builder setPublicIpAddress(java.lang.String value) { * end-user application. * * - * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return This builder for chaining. */ @@ -17605,7 +17841,9 @@ public Builder clearPublicIpAddress() { * end-user application. * * - * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @param value The bytes for publicIpAddress to set. * @return This builder for chaining. @@ -18880,6 +19118,199 @@ public Builder clearNetworkConfig() { return networkConfigBuilder_; } + private com.google.protobuf.LazyStringArrayList outboundPublicIpAddresses_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureOutboundPublicIpAddressesIsMutable() { + if (!outboundPublicIpAddresses_.isModifiable()) { + outboundPublicIpAddresses_ = + new com.google.protobuf.LazyStringArrayList(outboundPublicIpAddresses_); + } + bitField0_ |= 0x08000000; + } + /** + * + * + *
+     * Output only. All outbound public IP addresses configured for the instance.
+     * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return A list containing the outboundPublicIpAddresses. + */ + public com.google.protobuf.ProtocolStringList getOutboundPublicIpAddressesList() { + outboundPublicIpAddresses_.makeImmutable(); + return outboundPublicIpAddresses_; + } + /** + * + * + *
+     * Output only. All outbound public IP addresses configured for the instance.
+     * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The count of outboundPublicIpAddresses. + */ + public int getOutboundPublicIpAddressesCount() { + return outboundPublicIpAddresses_.size(); + } + /** + * + * + *
+     * Output only. All outbound public IP addresses configured for the instance.
+     * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param index The index of the element to return. + * @return The outboundPublicIpAddresses at the given index. + */ + public java.lang.String getOutboundPublicIpAddresses(int index) { + return outboundPublicIpAddresses_.get(index); + } + /** + * + * + *
+     * Output only. All outbound public IP addresses configured for the instance.
+     * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param index The index of the value to return. + * @return The bytes of the outboundPublicIpAddresses at the given index. + */ + public com.google.protobuf.ByteString getOutboundPublicIpAddressesBytes(int index) { + return outboundPublicIpAddresses_.getByteString(index); + } + /** + * + * + *
+     * Output only. All outbound public IP addresses configured for the instance.
+     * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param index The index to set the value at. + * @param value The outboundPublicIpAddresses to set. + * @return This builder for chaining. + */ + public Builder setOutboundPublicIpAddresses(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureOutboundPublicIpAddressesIsMutable(); + outboundPublicIpAddresses_.set(index, value); + bitField0_ |= 0x08000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. All outbound public IP addresses configured for the instance.
+     * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param value The outboundPublicIpAddresses to add. + * @return This builder for chaining. + */ + public Builder addOutboundPublicIpAddresses(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureOutboundPublicIpAddressesIsMutable(); + outboundPublicIpAddresses_.add(value); + bitField0_ |= 0x08000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. All outbound public IP addresses configured for the instance.
+     * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param values The outboundPublicIpAddresses to add. + * @return This builder for chaining. + */ + public Builder addAllOutboundPublicIpAddresses(java.lang.Iterable values) { + ensureOutboundPublicIpAddressesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, outboundPublicIpAddresses_); + bitField0_ |= 0x08000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. All outbound public IP addresses configured for the instance.
+     * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearOutboundPublicIpAddresses() { + outboundPublicIpAddresses_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x08000000); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. All outbound public IP addresses configured for the instance.
+     * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param value The bytes of the outboundPublicIpAddresses to add. + * @return This builder for chaining. + */ + public Builder addOutboundPublicIpAddressesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureOutboundPublicIpAddressesIsMutable(); + outboundPublicIpAddresses_.add(value); + bitField0_ |= 0x08000000; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); 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 ac2721fa1b60..8fca69ac212b 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 @@ -805,7 +805,9 @@ java.lang.String getDatabaseFlagsOrDefault( * end-user application. * * - * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The publicIpAddress. */ @@ -819,7 +821,9 @@ java.lang.String getDatabaseFlagsOrDefault( * end-user application. * * - * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * * * @return The bytes for publicIpAddress. */ @@ -1120,4 +1124,63 @@ java.lang.String getAnnotationsOrDefault( */ com.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfigOrBuilder getNetworkConfigOrBuilder(); + + /** + * + * + *
+   * Output only. All outbound public IP addresses configured for the instance.
+   * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return A list containing the outboundPublicIpAddresses. + */ + java.util.List getOutboundPublicIpAddressesList(); + /** + * + * + *
+   * Output only. All outbound public IP addresses configured for the instance.
+   * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The count of outboundPublicIpAddresses. + */ + int getOutboundPublicIpAddressesCount(); + /** + * + * + *
+   * Output only. All outbound public IP addresses configured for the instance.
+   * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param index The index of the element to return. + * @return The outboundPublicIpAddresses at the given index. + */ + java.lang.String getOutboundPublicIpAddresses(int index); + /** + * + * + *
+   * Output only. All outbound public IP addresses configured for the instance.
+   * 
+ * + * + * repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param index The index of the value to return. + * @return The bytes of the outboundPublicIpAddresses at the given index. + */ + com.google.protobuf.ByteString getOutboundPublicIpAddressesBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceSchedule.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceSchedule.java new file mode 100644 index 000000000000..48d7107200a7 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceSchedule.java @@ -0,0 +1,733 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/resources.proto + +// Protobuf Java Version: 3.25.4 +package com.google.cloud.alloydb.v1beta; + +/** + * + * + *
+ * MaintenanceSchedule stores the maintenance schedule generated from
+ * the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
+ * MaintenanceWindow is set, and if there is no conflicting DenyPeriod.
+ * The schedule is cleared once the update takes place. This field cannot be
+ * manually changed; modify the MaintenanceUpdatePolicy instead.
+ * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1beta.MaintenanceSchedule} + */ +public final class MaintenanceSchedule extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.MaintenanceSchedule) + MaintenanceScheduleOrBuilder { + private static final long serialVersionUID = 0L; + // Use MaintenanceSchedule.newBuilder() to construct. + private MaintenanceSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MaintenanceSchedule() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MaintenanceSchedule(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceSchedule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceSchedule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1beta.MaintenanceSchedule.class, + com.google.cloud.alloydb.v1beta.MaintenanceSchedule.Builder.class); + } + + private int bitField0_; + public static final int START_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp startTime_; + /** + * + * + *
+   * Output only. The scheduled start time for the maintenance.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Output only. The scheduled start time for the maintenance.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + * + * + *
+   * Output only. The scheduled start time for the maintenance.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @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, 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, 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.alloydb.v1beta.MaintenanceSchedule)) { + return super.equals(obj); + } + com.google.cloud.alloydb.v1beta.MaintenanceSchedule other = + (com.google.cloud.alloydb.v1beta.MaintenanceSchedule) obj; + + 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 (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.alloydb.v1beta.MaintenanceSchedule parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceSchedule 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.alloydb.v1beta.MaintenanceSchedule parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceSchedule 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.alloydb.v1beta.MaintenanceSchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceSchedule parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceSchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceSchedule parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceSchedule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceSchedule parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceSchedule parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceSchedule parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.MaintenanceSchedule prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * MaintenanceSchedule stores the maintenance schedule generated from
+   * the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
+   * MaintenanceWindow is set, and if there is no conflicting DenyPeriod.
+   * The schedule is cleared once the update takes place. This field cannot be
+   * manually changed; modify the MaintenanceUpdatePolicy instead.
+   * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1beta.MaintenanceSchedule} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.MaintenanceSchedule) + com.google.cloud.alloydb.v1beta.MaintenanceScheduleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceSchedule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceSchedule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1beta.MaintenanceSchedule.class, + com.google.cloud.alloydb.v1beta.MaintenanceSchedule.Builder.class); + } + + // Construct using com.google.cloud.alloydb.v1beta.MaintenanceSchedule.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStartTimeFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + 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.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceSchedule_descriptor; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceSchedule getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.MaintenanceSchedule.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceSchedule build() { + com.google.cloud.alloydb.v1beta.MaintenanceSchedule result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceSchedule buildPartial() { + com.google.cloud.alloydb.v1beta.MaintenanceSchedule result = + new com.google.cloud.alloydb.v1beta.MaintenanceSchedule(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.alloydb.v1beta.MaintenanceSchedule result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.alloydb.v1beta.MaintenanceSchedule) { + return mergeFrom((com.google.cloud.alloydb.v1beta.MaintenanceSchedule) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.alloydb.v1beta.MaintenanceSchedule other) { + if (other == com.google.cloud.alloydb.v1beta.MaintenanceSchedule.getDefaultInstance()) + return this; + 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(getStartTimeFieldBuilder().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.protobuf.Timestamp startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; + /** + * + * + *
+     * Output only. The scheduled start time for the maintenance.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Output only. The scheduled start time for the maintenance.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @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(); + } + } + /** + * + * + *
+     * Output only. The scheduled start time for the maintenance.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The scheduled start time for the maintenance.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The scheduled start time for the maintenance.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + if (startTime_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Output only. The scheduled start time for the maintenance.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000001); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The scheduled start time for the maintenance.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The scheduled start time for the maintenance.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + * + * + *
+     * Output only. The scheduled start time for the maintenance.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.MaintenanceSchedule) + } + + // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.MaintenanceSchedule) + private static final com.google.cloud.alloydb.v1beta.MaintenanceSchedule DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.MaintenanceSchedule(); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceSchedule getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceSchedule 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.alloydb.v1beta.MaintenanceSchedule getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceScheduleOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceScheduleOrBuilder.java new file mode 100644 index 000000000000..ca22093449fc --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceScheduleOrBuilder.java @@ -0,0 +1,64 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/resources.proto + +// Protobuf Java Version: 3.25.4 +package com.google.cloud.alloydb.v1beta; + +public interface MaintenanceScheduleOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.MaintenanceSchedule) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The scheduled start time for the maintenance.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + * + * + *
+   * Output only. The scheduled start time for the maintenance.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + * + * + *
+   * Output only. The scheduled start time for the maintenance.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceUpdatePolicy.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceUpdatePolicy.java new file mode 100644 index 000000000000..4e21b74a84b0 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceUpdatePolicy.java @@ -0,0 +1,1976 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/resources.proto + +// Protobuf Java Version: 3.25.4 +package com.google.cloud.alloydb.v1beta; + +/** + * + * + *
+ * MaintenanceUpdatePolicy defines the policy for system updates.
+ * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy} + */ +public final class MaintenanceUpdatePolicy extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy) + MaintenanceUpdatePolicyOrBuilder { + private static final long serialVersionUID = 0L; + // Use MaintenanceUpdatePolicy.newBuilder() to construct. + private MaintenanceUpdatePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MaintenanceUpdatePolicy() { + maintenanceWindows_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MaintenanceUpdatePolicy(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.class, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.Builder.class); + } + + public interface MaintenanceWindowOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
+     * 
+ * + * .google.type.DayOfWeek day = 1; + * + * @return The enum numeric value on the wire for day. + */ + int getDayValue(); + /** + * + * + *
+     * Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
+     * 
+ * + * .google.type.DayOfWeek day = 1; + * + * @return The day. + */ + com.google.type.DayOfWeek getDay(); + + /** + * + * + *
+     * Preferred time to start the maintenance operation on the specified day.
+     * Maintenance will start within 1 hour of this time.
+     * 
+ * + * .google.type.TimeOfDay start_time = 2; + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + * + * + *
+     * Preferred time to start the maintenance operation on the specified day.
+     * Maintenance will start within 1 hour of this time.
+     * 
+ * + * .google.type.TimeOfDay start_time = 2; + * + * @return The startTime. + */ + com.google.type.TimeOfDay getStartTime(); + /** + * + * + *
+     * Preferred time to start the maintenance operation on the specified day.
+     * Maintenance will start within 1 hour of this time.
+     * 
+ * + * .google.type.TimeOfDay start_time = 2; + */ + com.google.type.TimeOfDayOrBuilder getStartTimeOrBuilder(); + } + /** + * + * + *
+   * MaintenanceWindow specifies a preferred day and time for maintenance.
+   * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow} + */ + public static final class MaintenanceWindow extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow) + MaintenanceWindowOrBuilder { + private static final long serialVersionUID = 0L; + // Use MaintenanceWindow.newBuilder() to construct. + private MaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MaintenanceWindow() { + day_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MaintenanceWindow(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_MaintenanceWindow_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_MaintenanceWindow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.class, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder + .class); + } + + private int bitField0_; + public static final int DAY_FIELD_NUMBER = 1; + private int day_ = 0; + /** + * + * + *
+     * Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
+     * 
+ * + * .google.type.DayOfWeek day = 1; + * + * @return The enum numeric value on the wire for day. + */ + @java.lang.Override + public int getDayValue() { + return day_; + } + /** + * + * + *
+     * Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
+     * 
+ * + * .google.type.DayOfWeek day = 1; + * + * @return The day. + */ + @java.lang.Override + public com.google.type.DayOfWeek getDay() { + com.google.type.DayOfWeek result = com.google.type.DayOfWeek.forNumber(day_); + return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; + } + + public static final int START_TIME_FIELD_NUMBER = 2; + private com.google.type.TimeOfDay startTime_; + /** + * + * + *
+     * Preferred time to start the maintenance operation on the specified day.
+     * Maintenance will start within 1 hour of this time.
+     * 
+ * + * .google.type.TimeOfDay start_time = 2; + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Preferred time to start the maintenance operation on the specified day.
+     * Maintenance will start within 1 hour of this time.
+     * 
+ * + * .google.type.TimeOfDay start_time = 2; + * + * @return The startTime. + */ + @java.lang.Override + public com.google.type.TimeOfDay getStartTime() { + return startTime_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : startTime_; + } + /** + * + * + *
+     * Preferred time to start the maintenance operation on the specified day.
+     * Maintenance will start within 1 hour of this time.
+     * 
+ * + * .google.type.TimeOfDay start_time = 2; + */ + @java.lang.Override + public com.google.type.TimeOfDayOrBuilder getStartTimeOrBuilder() { + return startTime_ == null ? com.google.type.TimeOfDay.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 (day_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { + output.writeEnum(1, day_); + } + if (((bitField0_ & 0x00000001) != 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 (day_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, day_); + } + if (((bitField0_ & 0x00000001) != 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.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow)) { + return super.equals(obj); + } + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow other = + (com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow) obj; + + if (day_ != other.day_) 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(); + hash = (37 * hash) + DAY_FIELD_NUMBER; + hash = (53 * hash) + day_; + 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.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + 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.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + 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.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * MaintenanceWindow specifies a preferred day and time for maintenance.
+     * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow) + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_MaintenanceWindow_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_MaintenanceWindow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.class, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder + .class); + } + + // Construct using + // com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStartTimeFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + day_ = 0; + 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.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_MaintenanceWindow_descriptor; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow build() { + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + buildPartial() { + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow result = + new com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.day_ = day_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow) { + return mergeFrom( + (com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow other) { + if (other + == com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + .getDefaultInstance()) return this; + if (other.day_ != 0) { + setDayValue(other.getDayValue()); + } + 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 8: + { + day_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getStartTimeFieldBuilder().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 int day_ = 0; + /** + * + * + *
+       * Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
+       * 
+ * + * .google.type.DayOfWeek day = 1; + * + * @return The enum numeric value on the wire for day. + */ + @java.lang.Override + public int getDayValue() { + return day_; + } + /** + * + * + *
+       * Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
+       * 
+ * + * .google.type.DayOfWeek day = 1; + * + * @param value The enum numeric value on the wire for day to set. + * @return This builder for chaining. + */ + public Builder setDayValue(int value) { + day_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
+       * 
+ * + * .google.type.DayOfWeek day = 1; + * + * @return The day. + */ + @java.lang.Override + public com.google.type.DayOfWeek getDay() { + com.google.type.DayOfWeek result = com.google.type.DayOfWeek.forNumber(day_); + return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; + } + /** + * + * + *
+       * Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
+       * 
+ * + * .google.type.DayOfWeek day = 1; + * + * @param value The day to set. + * @return This builder for chaining. + */ + public Builder setDay(com.google.type.DayOfWeek value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + day_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
+       * 
+ * + * .google.type.DayOfWeek day = 1; + * + * @return This builder for chaining. + */ + public Builder clearDay() { + bitField0_ = (bitField0_ & ~0x00000001); + day_ = 0; + onChanged(); + return this; + } + + private com.google.type.TimeOfDay startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> + startTimeBuilder_; + /** + * + * + *
+       * Preferred time to start the maintenance operation on the specified day.
+       * Maintenance will start within 1 hour of this time.
+       * 
+ * + * .google.type.TimeOfDay start_time = 2; + * + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+       * Preferred time to start the maintenance operation on the specified day.
+       * Maintenance will start within 1 hour of this time.
+       * 
+ * + * .google.type.TimeOfDay start_time = 2; + * + * @return The startTime. + */ + public com.google.type.TimeOfDay getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Preferred time to start the maintenance operation on the specified day.
+       * Maintenance will start within 1 hour of this time.
+       * 
+ * + * .google.type.TimeOfDay start_time = 2; + */ + public Builder setStartTime(com.google.type.TimeOfDay value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Preferred time to start the maintenance operation on the specified day.
+       * Maintenance will start within 1 hour of this time.
+       * 
+ * + * .google.type.TimeOfDay start_time = 2; + */ + public Builder setStartTime(com.google.type.TimeOfDay.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Preferred time to start the maintenance operation on the specified day.
+       * Maintenance will start within 1 hour of this time.
+       * 
+ * + * .google.type.TimeOfDay start_time = 2; + */ + public Builder mergeStartTime(com.google.type.TimeOfDay value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && startTime_ != null + && startTime_ != com.google.type.TimeOfDay.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + if (startTime_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Preferred time to start the maintenance operation on the specified day.
+       * Maintenance will start within 1 hour of this time.
+       * 
+ * + * .google.type.TimeOfDay start_time = 2; + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000002); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Preferred time to start the maintenance operation on the specified day.
+       * Maintenance will start within 1 hour of this time.
+       * 
+ * + * .google.type.TimeOfDay start_time = 2; + */ + public com.google.type.TimeOfDay.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Preferred time to start the maintenance operation on the specified day.
+       * Maintenance will start within 1 hour of this time.
+       * 
+ * + * .google.type.TimeOfDay start_time = 2; + */ + public com.google.type.TimeOfDayOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : startTime_; + } + } + /** + * + * + *
+       * Preferred time to start the maintenance operation on the specified day.
+       * Maintenance will start within 1 hour of this time.
+       * 
+ * + * .google.type.TimeOfDay start_time = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow) + } + + // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow) + private static final com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow(); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceWindow 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.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int MAINTENANCE_WINDOWS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List + maintenanceWindows_; + /** + * + * + *
+   * Preferred windows to perform maintenance. Currently limited to 1.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + @java.lang.Override + public java.util.List + getMaintenanceWindowsList() { + return maintenanceWindows_; + } + /** + * + * + *
+   * Preferred windows to perform maintenance. Currently limited to 1.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + @java.lang.Override + public java.util.List< + ? extends + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder> + getMaintenanceWindowsOrBuilderList() { + return maintenanceWindows_; + } + /** + * + * + *
+   * Preferred windows to perform maintenance. Currently limited to 1.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + @java.lang.Override + public int getMaintenanceWindowsCount() { + return maintenanceWindows_.size(); + } + /** + * + * + *
+   * Preferred windows to perform maintenance. Currently limited to 1.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + getMaintenanceWindows(int index) { + return maintenanceWindows_.get(index); + } + /** + * + * + *
+   * Preferred windows to perform maintenance. Currently limited to 1.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder + getMaintenanceWindowsOrBuilder(int index) { + return maintenanceWindows_.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 < maintenanceWindows_.size(); i++) { + output.writeMessage(1, maintenanceWindows_.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 < maintenanceWindows_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, maintenanceWindows_.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.alloydb.v1beta.MaintenanceUpdatePolicy)) { + return super.equals(obj); + } + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy other = + (com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy) obj; + + if (!getMaintenanceWindowsList().equals(other.getMaintenanceWindowsList())) 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 (getMaintenanceWindowsCount() > 0) { + hash = (37 * hash) + MAINTENANCE_WINDOWS_FIELD_NUMBER; + hash = (53 * hash) + getMaintenanceWindowsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy 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.alloydb.v1beta.MaintenanceUpdatePolicy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy 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.alloydb.v1beta.MaintenanceUpdatePolicy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * MaintenanceUpdatePolicy defines the policy for system updates.
+   * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy) + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.class, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.Builder.class); + } + + // Construct using com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (maintenanceWindowsBuilder_ == null) { + maintenanceWindows_ = java.util.Collections.emptyList(); + } else { + maintenanceWindows_ = null; + maintenanceWindowsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_descriptor; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy build() { + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy buildPartial() { + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy result = + new com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy result) { + if (maintenanceWindowsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + maintenanceWindows_ = java.util.Collections.unmodifiableList(maintenanceWindows_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.maintenanceWindows_ = maintenanceWindows_; + } else { + result.maintenanceWindows_ = maintenanceWindowsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy) { + return mergeFrom((com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy other) { + if (other == com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.getDefaultInstance()) + return this; + if (maintenanceWindowsBuilder_ == null) { + if (!other.maintenanceWindows_.isEmpty()) { + if (maintenanceWindows_.isEmpty()) { + maintenanceWindows_ = other.maintenanceWindows_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureMaintenanceWindowsIsMutable(); + maintenanceWindows_.addAll(other.maintenanceWindows_); + } + onChanged(); + } + } else { + if (!other.maintenanceWindows_.isEmpty()) { + if (maintenanceWindowsBuilder_.isEmpty()) { + maintenanceWindowsBuilder_.dispose(); + maintenanceWindowsBuilder_ = null; + maintenanceWindows_ = other.maintenanceWindows_; + bitField0_ = (bitField0_ & ~0x00000001); + maintenanceWindowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMaintenanceWindowsFieldBuilder() + : null; + } else { + maintenanceWindowsBuilder_.addAllMessages(other.maintenanceWindows_); + } + } + } + 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.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow m = + input.readMessage( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + .parser(), + extensionRegistry); + if (maintenanceWindowsBuilder_ == null) { + ensureMaintenanceWindowsIsMutable(); + maintenanceWindows_.add(m); + } else { + maintenanceWindowsBuilder_.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< + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow> + maintenanceWindows_ = java.util.Collections.emptyList(); + + private void ensureMaintenanceWindowsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + maintenanceWindows_ = + new java.util.ArrayList< + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow>( + maintenanceWindows_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder> + maintenanceWindowsBuilder_; + + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public java.util.List + getMaintenanceWindowsList() { + if (maintenanceWindowsBuilder_ == null) { + return java.util.Collections.unmodifiableList(maintenanceWindows_); + } else { + return maintenanceWindowsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public int getMaintenanceWindowsCount() { + if (maintenanceWindowsBuilder_ == null) { + return maintenanceWindows_.size(); + } else { + return maintenanceWindowsBuilder_.getCount(); + } + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + getMaintenanceWindows(int index) { + if (maintenanceWindowsBuilder_ == null) { + return maintenanceWindows_.get(index); + } else { + return maintenanceWindowsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public Builder setMaintenanceWindows( + int index, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow value) { + if (maintenanceWindowsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMaintenanceWindowsIsMutable(); + maintenanceWindows_.set(index, value); + onChanged(); + } else { + maintenanceWindowsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public Builder setMaintenanceWindows( + int index, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder + builderForValue) { + if (maintenanceWindowsBuilder_ == null) { + ensureMaintenanceWindowsIsMutable(); + maintenanceWindows_.set(index, builderForValue.build()); + onChanged(); + } else { + maintenanceWindowsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public Builder addMaintenanceWindows( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow value) { + if (maintenanceWindowsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMaintenanceWindowsIsMutable(); + maintenanceWindows_.add(value); + onChanged(); + } else { + maintenanceWindowsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public Builder addMaintenanceWindows( + int index, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow value) { + if (maintenanceWindowsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMaintenanceWindowsIsMutable(); + maintenanceWindows_.add(index, value); + onChanged(); + } else { + maintenanceWindowsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public Builder addMaintenanceWindows( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder + builderForValue) { + if (maintenanceWindowsBuilder_ == null) { + ensureMaintenanceWindowsIsMutable(); + maintenanceWindows_.add(builderForValue.build()); + onChanged(); + } else { + maintenanceWindowsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public Builder addMaintenanceWindows( + int index, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder + builderForValue) { + if (maintenanceWindowsBuilder_ == null) { + ensureMaintenanceWindowsIsMutable(); + maintenanceWindows_.add(index, builderForValue.build()); + onChanged(); + } else { + maintenanceWindowsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public Builder addAllMaintenanceWindows( + java.lang.Iterable< + ? extends com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow> + values) { + if (maintenanceWindowsBuilder_ == null) { + ensureMaintenanceWindowsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, maintenanceWindows_); + onChanged(); + } else { + maintenanceWindowsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public Builder clearMaintenanceWindows() { + if (maintenanceWindowsBuilder_ == null) { + maintenanceWindows_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + maintenanceWindowsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public Builder removeMaintenanceWindows(int index) { + if (maintenanceWindowsBuilder_ == null) { + ensureMaintenanceWindowsIsMutable(); + maintenanceWindows_.remove(index); + onChanged(); + } else { + maintenanceWindowsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder + getMaintenanceWindowsBuilder(int index) { + return getMaintenanceWindowsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder + getMaintenanceWindowsOrBuilder(int index) { + if (maintenanceWindowsBuilder_ == null) { + return maintenanceWindows_.get(index); + } else { + return maintenanceWindowsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public java.util.List< + ? extends + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder> + getMaintenanceWindowsOrBuilderList() { + if (maintenanceWindowsBuilder_ != null) { + return maintenanceWindowsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(maintenanceWindows_); + } + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder + addMaintenanceWindowsBuilder() { + return getMaintenanceWindowsFieldBuilder() + .addBuilder( + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + .getDefaultInstance()); + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder + addMaintenanceWindowsBuilder(int index) { + return getMaintenanceWindowsFieldBuilder() + .addBuilder( + index, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow + .getDefaultInstance()); + } + /** + * + * + *
+     * Preferred windows to perform maintenance. Currently limited to 1.
+     * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + public java.util.List< + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder> + getMaintenanceWindowsBuilderList() { + return getMaintenanceWindowsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder> + getMaintenanceWindowsFieldBuilder() { + if (maintenanceWindowsBuilder_ == null) { + maintenanceWindowsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow.Builder, + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder>( + maintenanceWindows_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + maintenanceWindows_ = null; + } + return maintenanceWindowsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy) + } + + // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy) + private static final com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy(); + } + + public static com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceUpdatePolicy 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.alloydb.v1beta.MaintenanceUpdatePolicy getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceUpdatePolicyOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceUpdatePolicyOrBuilder.java new file mode 100644 index 000000000000..ccfe804a7676 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MaintenanceUpdatePolicyOrBuilder.java @@ -0,0 +1,93 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/resources.proto + +// Protobuf Java Version: 3.25.4 +package com.google.cloud.alloydb.v1beta; + +public interface MaintenanceUpdatePolicyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Preferred windows to perform maintenance. Currently limited to 1.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + java.util.List + getMaintenanceWindowsList(); + /** + * + * + *
+   * Preferred windows to perform maintenance. Currently limited to 1.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow getMaintenanceWindows( + int index); + /** + * + * + *
+   * Preferred windows to perform maintenance. Currently limited to 1.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + int getMaintenanceWindowsCount(); + /** + * + * + *
+   * Preferred windows to perform maintenance. Currently limited to 1.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder> + getMaintenanceWindowsOrBuilderList(); + /** + * + * + *
+   * Preferred windows to perform maintenance. Currently limited to 1.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1; + * + */ + com.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder + getMaintenanceWindowsOrBuilder(int index); +} 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 90f9b257f39c..0e9f4bc9f3a8 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 @@ -84,6 +84,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_MaintenanceWindow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_MaintenanceWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_MaintenanceSchedule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_MaintenanceSchedule_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -283,253 +295,267 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "p_name\030\001 \001(\tB%\340A\002\372A\037\n\035alloydb.googleapis" + ".com/Backup\"f\n\026ContinuousBackupSource\022\024\n" + "\007cluster\030\001 \001(\tB\003\340A\002\0226\n\rpoint_in_time\030\002 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\002\"\214\022\n\007" - + "Cluster\022G\n\rbackup_source\030\017 \001(\0132).google." - + "cloud.alloydb.v1beta.BackupSourceB\003\340A\003H\000" - + "\022M\n\020migration_source\030\020 \001(\0132,.google.clou" - + "d.alloydb.v1beta.MigrationSourceB\003\340A\003H\000\022" - + "\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t" - + "\022\020\n\003uid\030\003 \001(\tB\003\340A\003\0224\n\013create_time\030\004 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" - + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\0224\n\013delete_time\030\006 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\022@\n\006labels\030\007 \003(\01320.g" - + "oogle.cloud.alloydb.v1beta.Cluster.Label" - + "sEntry\022>\n\005state\030\010 \001(\0162*.google.cloud.all" - + "oydb.v1beta.Cluster.StateB\003\340A\003\022K\n\014cluste" - + "r_type\030\030 \001(\01620.google.cloud.alloydb.v1be" - + "ta.Cluster.ClusterTypeB\003\340A\003\022K\n\020database_" - + "version\030\t \001(\0162,.google.cloud.alloydb.v1b" - + "eta.DatabaseVersionB\003\340A\001\022O\n\016network_conf" - + "ig\030\035 \001(\01322.google.cloud.alloydb.v1beta.C" - + "luster.NetworkConfigB\003\340A\001\0229\n\007network\030\n \001" - + "(\tB(\030\001\340A\002\372A \n\036compute.googleapis.com/Net" - + "work\022\014\n\004etag\030\013 \001(\t\022J\n\013annotations\030\014 \003(\0132" - + "5.google.cloud.alloydb.v1beta.Cluster.An" - + "notationsEntry\022\030\n\013reconciling\030\r \001(\010B\003\340A\003" - + "\022D\n\014initial_user\030\016 \001(\0132).google.cloud.al" - + "loydb.v1beta.UserPasswordB\003\340A\004\022S\n\027automa" - + "ted_backup_policy\030\021 \001(\01322.google.cloud.a" - + "lloydb.v1beta.AutomatedBackupPolicy\022>\n\ns" - + "sl_config\030\022 \001(\0132&.google.cloud.alloydb.v" - + "1beta.SslConfigB\002\030\001\022M\n\021encryption_config" - + "\030\023 \001(\0132-.google.cloud.alloydb.v1beta.Enc" - + "ryptionConfigB\003\340A\001\022I\n\017encryption_info\030\024 " - + "\001(\0132+.google.cloud.alloydb.v1beta.Encryp" - + "tionInfoB\003\340A\003\022Z\n\030continuous_backup_confi" - + "g\030\033 \001(\01323.google.cloud.alloydb.v1beta.Co" - + "ntinuousBackupConfigB\003\340A\001\022V\n\026continuous_" - + "backup_info\030\034 \001(\01321.google.cloud.alloydb" - + ".v1beta.ContinuousBackupInfoB\003\340A\003\022N\n\020sec" - + "ondary_config\030\026 \001(\01324.google.cloud.alloy" - + "db.v1beta.Cluster.SecondaryConfig\022O\n\016pri" - + "mary_config\030\027 \001(\01322.google.cloud.alloydb" - + ".v1beta.Cluster.PrimaryConfigB\003\340A\003\022\032\n\rsa" - + "tisfies_pzs\030\036 \001(\010B\003\340A\003\032i\n\rNetworkConfig\022" - + "7\n\007network\030\001 \001(\tB&\340A\001\372A \n\036compute.google" - + "apis.com/Network\022\037\n\022allocated_ip_range\030\002" - + " \001(\tB\003\340A\001\032/\n\017SecondaryConfig\022\034\n\024primary_" - + "cluster_name\030\001 \001(\t\0325\n\rPrimaryConfig\022$\n\027s" - + "econdary_cluster_names\030\001 \003(\tB\003\340A\003\032-\n\013Lab" - + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" - + "ue\030\002 \001(\t:\0028\001\"\234\001\n\005State\022\025\n\021STATE_UNSPECIF" - + "IED\020\000\022\t\n\005READY\020\001\022\013\n\007STOPPED\020\002\022\t\n\005EMPTY\020\003" - + "\022\014\n\010CREATING\020\004\022\014\n\010DELETING\020\005\022\n\n\006FAILED\020\006" - + "\022\021\n\rBOOTSTRAPPING\020\007\022\017\n\013MAINTENANCE\020\010\022\r\n\t" - + "PROMOTING\020\t\"G\n\013ClusterType\022\034\n\030CLUSTER_TY" - + "PE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\tSECONDA" - + "RY\020\002:b\352A_\n\036alloydb.googleapis.com/Cluste" - + "r\022:projects/{project}/locations/{locatio" - + "n}/clusters/{cluster}R\001\001B\010\n\006source\"\373\032\n\010I" - + "nstance\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_na" - + "me\030\002 \001(\t\022\020\n\003uid\030\003 \001(\tB\003\340A\003\0224\n\013create_tim" - + "e\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0224\n\013update_time\030\005 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\0224\n\013delete_time\030\006 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\022A\n\006labels\030\007" - + " \003(\01321.google.cloud.alloydb.v1beta.Insta" - + "nce.LabelsEntry\022?\n\005state\030\010 \001(\0162+.google." - + "cloud.alloydb.v1beta.Instance.StateB\003\340A\003" - + "\022N\n\rinstance_type\030\t \001(\01622.google.cloud.a" - + "lloydb.v1beta.Instance.InstanceTypeB\003\340A\002" - + "\022K\n\016machine_config\030\n \001(\01323.google.cloud." - + "alloydb.v1beta.Instance.MachineConfig\022Q\n" - + "\021availability_type\030\013 \001(\01626.google.cloud." - + "alloydb.v1beta.Instance.AvailabilityType" - + "\022\020\n\010gce_zone\030\014 \001(\t\022P\n\016database_flags\030\r \003" - + "(\01328.google.cloud.alloydb.v1beta.Instanc" - + "e.DatabaseFlagsEntry\022F\n\rwritable_node\030\023 " - + "\001(\0132*.google.cloud.alloydb.v1beta.Instan" - + "ce.NodeB\003\340A\003\022>\n\005nodes\030\024 \003(\0132*.google.clo" - + "ud.alloydb.v1beta.Instance.NodeB\003\340A\003\022`\n\025" - + "query_insights_config\030\025 \001(\0132A.google.clo" - + "ud.alloydb.v1beta.Instance.QueryInsights" - + "InstanceConfig\022N\n\020read_pool_config\030\016 \001(\013" - + "24.google.cloud.alloydb.v1beta.Instance." - + "ReadPoolConfig\022\027\n\nip_address\030\017 \001(\tB\003\340A\003\022" - + "\036\n\021public_ip_address\030\033 \001(\tB\003\340A\003\022\030\n\013recon" - + "ciling\030\020 \001(\010B\003\340A\003\022\014\n\004etag\030\021 \001(\t\022K\n\013annot" - + "ations\030\022 \003(\01326.google.cloud.alloydb.v1be" - + "ta.Instance.AnnotationsEntry\022I\n\rupdate_p" - + "olicy\030\026 \001(\01322.google.cloud.alloydb.v1bet" - + "a.Instance.UpdatePolicy\022c\n\030client_connec" - + "tion_config\030\027 \001(\0132<.google.cloud.alloydb" - + ".v1beta.Instance.ClientConnectionConfigB" - + "\003\340A\001\022\032\n\rsatisfies_pzs\030\030 \001(\010B\003\340A\003\022Y\n\023psc_" - + "instance_config\030\034 \001(\01327.google.cloud.all" - + "oydb.v1beta.Instance.PscInstanceConfigB\003" - + "\340A\001\022X\n\016network_config\030\035 \001(\0132;.google.clo" - + "ud.alloydb.v1beta.Instance.InstanceNetwo" - + "rkConfigB\003\340A\001\032\"\n\rMachineConfig\022\021\n\tcpu_co" - + "unt\030\001 \001(\005\032>\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002id" - + "\030\002 \001(\t\022\n\n\002ip\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033Qu" - + "eryInsightsInstanceConfig\022$\n\027record_appl" - + "ication_tags\030\002 \001(\010H\000\210\001\001\022\"\n\025record_client" - + "_address\030\003 \001(\010H\001\210\001\001\022\033\n\023query_string_leng" - + "th\030\004 \001(\r\022#\n\026query_plans_per_minute\030\005 \001(\r" - + "H\002\210\001\001B\032\n\030_record_application_tagsB\030\n\026_re" - + "cord_client_addressB\031\n\027_query_plans_per_" - + "minute\032$\n\016ReadPoolConfig\022\022\n\nnode_count\030\001" - + " \001(\005\032\221\001\n\014UpdatePolicy\022E\n\004mode\030\001 \001(\01627.go" - + "ogle.cloud.alloydb.v1beta.Instance.Updat" - + "ePolicy.Mode\":\n\004Mode\022\024\n\020MODE_UNSPECIFIED" - + "\020\000\022\013\n\007DEFAULT\020\001\022\017\n\013FORCE_APPLY\020\002\032z\n\026Clie" - + "ntConnectionConfig\022\037\n\022require_connectors" - + "\030\001 \001(\010B\003\340A\001\022?\n\nssl_config\030\002 \001(\0132&.google" - + ".cloud.alloydb.v1beta.SslConfigB\003\340A\001\032O\n\022" - + "PscInterfaceConfig\022\035\n\025consumer_endpoint_" - + "ips\030\001 \003(\t\022\032\n\022network_attachment\030\002 \001(\t\032\261\002" - + "\n\021PscInstanceConfig\022$\n\027service_attachmen" - + "t_link\030\001 \001(\tB\003\340A\003\022&\n\031allowed_consumer_pr" - + "ojects\030\002 \003(\tB\003\340A\001\022&\n\031allowed_consumer_ne" - + "tworks\030\003 \003(\tB\003\340A\001\022\\\n\025psc_interface_confi" - + "gs\030\004 \003(\01328.google.cloud.alloydb.v1beta.I" - + "nstance.PscInterfaceConfigB\003\340A\001\022.\n!outgo" - + "ing_service_attachment_links\030\005 \003(\tB\003\340A\001\022" - + "\030\n\013psc_enabled\030\006 \001(\010B\003\340A\001\032\343\001\n\025InstanceNe" - + "tworkConfig\022x\n\034authorized_external_netwo" - + "rks\030\001 \003(\0132M.google.cloud.alloydb.v1beta." - + "Instance.InstanceNetworkConfig.Authorize" - + "dNetworkB\003\340A\001\022\035\n\020enable_public_ip\030\002 \001(\010B" - + "\003\340A\001\0321\n\021AuthorizedNetwork\022\034\n\ncidr_range\030" - + "\001 \001(\tB\010\342\214\317\327\010\002\010\002\032-\n\013LabelsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0324\n\022DatabaseFlagsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020" - + "AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001\"\221\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020" - + "\000\022\t\n\005READY\020\001\022\013\n\007STOPPED\020\002\022\014\n\010CREATING\020\003\022" - + "\014\n\010DELETING\020\004\022\017\n\013MAINTENANCE\020\005\022\n\n\006FAILED" - + "\020\006\022\021\n\rBOOTSTRAPPING\020\010\022\r\n\tPROMOTING\020\t\"X\n\014" - + "InstanceType\022\035\n\031INSTANCE_TYPE_UNSPECIFIE" - + "D\020\000\022\013\n\007PRIMARY\020\001\022\r\n\tREAD_POOL\020\002\022\r\n\tSECON" - + "DARY\020\003\"N\n\020AvailabilityType\022!\n\035AVAILABILI" - + "TY_TYPE_UNSPECIFIED\020\000\022\t\n\005ZONAL\020\001\022\014\n\010REGI" - + "ONAL\020\002:x\352Au\n\037alloydb.googleapis.com/Inst" - + "ance\022Oprojects/{project}/locations/{loca" - + "tion}/clusters/{cluster}/instances/{inst" - + "ance}R\001\001\"\311\002\n\016ConnectionInfo\022\014\n\004name\030\001 \001(" - + "\t\022\027\n\nip_address\030\002 \001(\tB\003\340A\003\022&\n\021public_ip_" - + "address\030\005 \001(\tB\013\340A\003\342\214\317\327\010\002\010\002\022$\n\025pem_certif" - + "icate_chain\030\003 \003(\tB\005\030\001\340A\003\022\031\n\014instance_uid" - + "\030\004 \001(\tB\003\340A\003\022\031\n\014psc_dns_name\030\006 \001(\tB\003\340A\003:\213" - + "\001\352A\207\001\n%alloydb.googleapis.com/Connection" - + "Info\022^projects/{project}/locations/{loca" - + "tion}/clusters/{cluster}/instances/{inst" - + "ance}/connectionInfo\"\342\013\n\006Backup\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\020\n\003uid\030" - + "\003 \001(\tB\003\340A\003\0224\n\013create_time\030\004 \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\003\0224\n\013update_time\030" - + "\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224" - + "\n\013delete_time\030\017 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\003\022?\n\006labels\030\006 \003(\0132/.google.cl" - + "oud.alloydb.v1beta.Backup.LabelsEntry\022=\n" - + "\005state\030\007 \001(\0162).google.cloud.alloydb.v1be" - + "ta.Backup.StateB\003\340A\003\0226\n\004type\030\010 \001(\0162(.goo" - + "gle.cloud.alloydb.v1beta.Backup.Type\022\023\n\013" - + "description\030\t \001(\t\022\030\n\013cluster_uid\030\022 \001(\tB\003" - + "\340A\003\022<\n\014cluster_name\030\n \001(\tB&\340A\002\372A \n\036alloy" - + "db.googleapis.com/Cluster\022\030\n\013reconciling" - + "\030\013 \001(\010B\003\340A\003\022M\n\021encryption_config\030\014 \001(\0132-" - + ".google.cloud.alloydb.v1beta.EncryptionC" - + "onfigB\003\340A\001\022I\n\017encryption_info\030\r \001(\0132+.go" - + "ogle.cloud.alloydb.v1beta.EncryptionInfo" - + "B\003\340A\003\022\014\n\004etag\030\016 \001(\t\022I\n\013annotations\030\020 \003(\013" - + "24.google.cloud.alloydb.v1beta.Backup.An" - + "notationsEntry\022\027\n\nsize_bytes\030\021 \001(\003B\003\340A\003\022" - + "4\n\013expiry_time\030\023 \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\022U\n\017expiry_quantity\030\024 \001(\01327" - + ".google.cloud.alloydb.v1beta.Backup.Quan" - + "tityBasedExpiryB\003\340A\003\022\032\n\rsatisfies_pzs\030\025 " - + "\001(\010B\003\340A\003\022K\n\020database_version\030\026 \001(\0162,.goo" - + "gle.cloud.alloydb.v1beta.DatabaseVersion" - + "B\003\340A\003\032W\n\023QuantityBasedExpiry\022\034\n\017retentio" - + "n_count\030\001 \001(\005B\003\340A\003\022\"\n\025total_retention_co" - + "unt\030\002 \001(\005B\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\002\"\344\001\n\027" + + "MaintenanceUpdatePolicy\022c\n\023maintenance_w" + + "indows\030\001 \003(\0132F.google.cloud.alloydb.v1be" + + "ta.MaintenanceUpdatePolicy.MaintenanceWi" + + "ndow\032d\n\021MaintenanceWindow\022#\n\003day\030\001 \001(\0162\026" + + ".google.type.DayOfWeek\022*\n\nstart_time\030\002 \001" + + "(\0132\026.google.type.TimeOfDay\"J\n\023Maintenanc" + + "eSchedule\0223\n\nstart_time\030\001 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\"\277\023\n\007Cluster\022G\n\rba" + + "ckup_source\030\017 \001(\0132).google.cloud.alloydb" + + ".v1beta.BackupSourceB\003\340A\003H\000\022M\n\020migration" + + "_source\030\020 \001(\0132,.google.cloud.alloydb.v1b" + + "eta.MigrationSourceB\003\340A\003H\000\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\020\n\003uid\030\003 \001(\t" + + "B\003\340A\003\0224\n\013create_time\030\004 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\005 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013del" + + "ete_time\030\006 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\022@\n\006labels\030\007 \003(\01320.google.cloud.a" + + "lloydb.v1beta.Cluster.LabelsEntry\022>\n\005sta" + + "te\030\010 \001(\0162*.google.cloud.alloydb.v1beta.C" + + "luster.StateB\003\340A\003\022K\n\014cluster_type\030\030 \001(\0162" + + "0.google.cloud.alloydb.v1beta.Cluster.Cl" + + "usterTypeB\003\340A\003\022K\n\020database_version\030\t \001(\016" + + "2,.google.cloud.alloydb.v1beta.DatabaseV" + + "ersionB\003\340A\001\022O\n\016network_config\030\035 \001(\01322.go" + + "ogle.cloud.alloydb.v1beta.Cluster.Networ" + + "kConfigB\003\340A\001\0229\n\007network\030\n \001(\tB(\030\001\340A\002\372A \n" + + "\036compute.googleapis.com/Network\022\014\n\004etag\030" + + "\013 \001(\t\022J\n\013annotations\030\014 \003(\01325.google.clou" + + "d.alloydb.v1beta.Cluster.AnnotationsEntr" + + "y\022\030\n\013reconciling\030\r \001(\010B\003\340A\003\022D\n\014initial_u" + + "ser\030\016 \001(\0132).google.cloud.alloydb.v1beta." + + "UserPasswordB\003\340A\004\022S\n\027automated_backup_po" + + "licy\030\021 \001(\01322.google.cloud.alloydb.v1beta" + + ".AutomatedBackupPolicy\022>\n\nssl_config\030\022 \001" + + "(\0132&.google.cloud.alloydb.v1beta.SslConf" + + "igB\002\030\001\022M\n\021encryption_config\030\023 \001(\0132-.goog" + + "le.cloud.alloydb.v1beta.EncryptionConfig" + + "B\003\340A\001\022I\n\017encryption_info\030\024 \001(\0132+.google." + + "cloud.alloydb.v1beta.EncryptionInfoB\003\340A\003" + + "\022Z\n\030continuous_backup_config\030\033 \001(\01323.goo" + + "gle.cloud.alloydb.v1beta.ContinuousBacku" + + "pConfigB\003\340A\001\022V\n\026continuous_backup_info\030\034" + + " \001(\01321.google.cloud.alloydb.v1beta.Conti" + + "nuousBackupInfoB\003\340A\003\022N\n\020secondary_config" + + "\030\026 \001(\01324.google.cloud.alloydb.v1beta.Clu" + + "ster.SecondaryConfig\022O\n\016primary_config\030\027" + + " \001(\01322.google.cloud.alloydb.v1beta.Clust" + + "er.PrimaryConfigB\003\340A\003\022\032\n\rsatisfies_pzs\030\036" + + " \001(\010B\003\340A\003\022\\\n\031maintenance_update_policy\030 " + + " \001(\01324.google.cloud.alloydb.v1beta.Maint" + + "enanceUpdatePolicyB\003\340A\001\022S\n\024maintenance_s" + + "chedule\030% \001(\01320.google.cloud.alloydb.v1b" + + "eta.MaintenanceScheduleB\003\340A\003\032i\n\rNetworkC" + + "onfig\0227\n\007network\030\001 \001(\tB&\340A\001\372A \n\036compute." + + "googleapis.com/Network\022\037\n\022allocated_ip_r" + + "ange\030\002 \001(\tB\003\340A\001\032/\n\017SecondaryConfig\022\034\n\024pr" + + "imary_cluster_name\030\001 \001(\t\0325\n\rPrimaryConfi" + + "g\022$\n\027secondary_cluster_names\030\001 \003(\tB\003\340A\003\032" + + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\"\234\001\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n\007STOPPED\020\002\022\t\n\005E" + + "MPTY\020\003\022\014\n\010CREATING\020\004\022\014\n\010DELETING\020\005\022\n\n\006FA" + + "ILED\020\006\022\021\n\rBOOTSTRAPPING\020\007\022\017\n\013MAINTENANCE" + + "\020\010\022\r\n\tPROMOTING\020\t\"G\n\013ClusterType\022\034\n\030CLUS" + + "TER_TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\tS" + + "ECONDARY\020\002:b\352A_\n\036alloydb.googleapis.com/" + + "Cluster\022:projects/{project}/locations/{l" + + "ocation}/clusters/{cluster}R\001\001B\010\n\006source" + + "\"\336\033\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014disp" + + "lay_name\030\002 \001(\t\022\020\n\003uid\030\003 \001(\tB\003\340A\003\0224\n\013crea" + + "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\0224\n\013delete_time\030\006 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022A\n\006la" + + "bels\030\007 \003(\01321.google.cloud.alloydb.v1beta" + + ".Instance.LabelsEntry\022?\n\005state\030\010 \001(\0162+.g" + + "oogle.cloud.alloydb.v1beta.Instance.Stat" + + "eB\003\340A\003\022N\n\rinstance_type\030\t \001(\01622.google.c" + + "loud.alloydb.v1beta.Instance.InstanceTyp" + + "eB\003\340A\002\022K\n\016machine_config\030\n \001(\01323.google." + + "cloud.alloydb.v1beta.Instance.MachineCon" + + "fig\022Q\n\021availability_type\030\013 \001(\01626.google." + + "cloud.alloydb.v1beta.Instance.Availabili" + + "tyType\022\020\n\010gce_zone\030\014 \001(\t\022P\n\016database_fla" + + "gs\030\r \003(\01328.google.cloud.alloydb.v1beta.I" + + "nstance.DatabaseFlagsEntry\022F\n\rwritable_n" + + "ode\030\023 \001(\0132*.google.cloud.alloydb.v1beta." + + "Instance.NodeB\003\340A\003\022>\n\005nodes\030\024 \003(\0132*.goog" + + "le.cloud.alloydb.v1beta.Instance.NodeB\003\340" + + "A\003\022`\n\025query_insights_config\030\025 \001(\0132A.goog" + + "le.cloud.alloydb.v1beta.Instance.QueryIn" + + "sightsInstanceConfig\022N\n\020read_pool_config" + + "\030\016 \001(\01324.google.cloud.alloydb.v1beta.Ins" + + "tance.ReadPoolConfig\022\027\n\nip_address\030\017 \001(\t" + + "B\003\340A\003\022&\n\021public_ip_address\030\033 \001(\tB\013\340A\003\342\214\317" + + "\327\010\002\010\002\022\030\n\013reconciling\030\020 \001(\010B\003\340A\003\022\014\n\004etag\030" + + "\021 \001(\t\022K\n\013annotations\030\022 \003(\01326.google.clou" + + "d.alloydb.v1beta.Instance.AnnotationsEnt" + + "ry\022I\n\rupdate_policy\030\026 \001(\01322.google.cloud" + + ".alloydb.v1beta.Instance.UpdatePolicy\022c\n" + + "\030client_connection_config\030\027 \001(\0132<.google" + + ".cloud.alloydb.v1beta.Instance.ClientCon" + + "nectionConfigB\003\340A\001\022\032\n\rsatisfies_pzs\030\030 \001(" + + "\010B\003\340A\003\022Y\n\023psc_instance_config\030\034 \001(\01327.go" + + "ogle.cloud.alloydb.v1beta.Instance.PscIn" + + "stanceConfigB\003\340A\001\022X\n\016network_config\030\035 \001(" + + "\0132;.google.cloud.alloydb.v1beta.Instance" + + ".InstanceNetworkConfigB\003\340A\001\0221\n\034outbound_" + + "public_ip_addresses\030\" \003(\tB\013\340A\003\342\214\317\327\010\002\010\002\032\"" + + "\n\rMachineConfig\022\021\n\tcpu_count\030\001 \001(\005\032>\n\004No" + + "de\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\n\n\002ip\030\003 " + + "\001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033QueryInsightsInst" + + "anceConfig\022$\n\027record_application_tags\030\002 " + + "\001(\010H\000\210\001\001\022\"\n\025record_client_address\030\003 \001(\010H" + + "\001\210\001\001\022\033\n\023query_string_length\030\004 \001(\r\022#\n\026que" + + "ry_plans_per_minute\030\005 \001(\rH\002\210\001\001B\032\n\030_recor" + + "d_application_tagsB\030\n\026_record_client_add" + + "ressB\031\n\027_query_plans_per_minute\032$\n\016ReadP" + + "oolConfig\022\022\n\nnode_count\030\001 \001(\005\032\221\001\n\014Update" + + "Policy\022E\n\004mode\030\001 \001(\01627.google.cloud.allo" + + "ydb.v1beta.Instance.UpdatePolicy.Mode\":\n" + + "\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001" + + "\022\017\n\013FORCE_APPLY\020\002\032z\n\026ClientConnectionCon" + + "fig\022\037\n\022require_connectors\030\001 \001(\010B\003\340A\001\022?\n\n" + + "ssl_config\030\002 \001(\0132&.google.cloud.alloydb." + + "v1beta.SslConfigB\003\340A\001\032O\n\022PscInterfaceCon" + + "fig\022\035\n\025consumer_endpoint_ips\030\001 \003(\t\022\032\n\022ne" + + "twork_attachment\030\002 \001(\t\032\261\002\n\021PscInstanceCo" + + "nfig\022$\n\027service_attachment_link\030\001 \001(\tB\003\340" + + "A\003\022&\n\031allowed_consumer_projects\030\002 \003(\tB\003\340" + + "A\001\022&\n\031allowed_consumer_networks\030\003 \003(\tB\003\340" + + "A\001\022\\\n\025psc_interface_configs\030\004 \003(\01328.goog" + + "le.cloud.alloydb.v1beta.Instance.PscInte" + + "rfaceConfigB\003\340A\001\022.\n!outgoing_service_att" + + "achment_links\030\005 \003(\tB\003\340A\001\022\030\n\013psc_enabled\030" + + "\006 \001(\010B\003\340A\001\032\213\002\n\025InstanceNetworkConfig\022x\n\034" + + "authorized_external_networks\030\001 \003(\0132M.goo" + + "gle.cloud.alloydb.v1beta.Instance.Instan" + + "ceNetworkConfig.AuthorizedNetworkB\003\340A\001\022\035" + + "\n\020enable_public_ip\030\002 \001(\010B\003\340A\001\022&\n\031enable_" + + "outbound_public_ip\030\003 \001(\010B\003\340A\001\0321\n\021Authori" + + "zedNetwork\022\034\n\ncidr_range\030\001 \001(\tB\010\342\214\317\327\010\002\010\002" + + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001\0324\n\022DatabaseFlagsEntry\022\013\n\003key\030\001 \001" + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"Q\n\005Sta" - + "te\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\014\n\010" - + "CREATING\020\002\022\n\n\006FAILED\020\003\022\014\n\010DELETING\020\004\"J\n\004" - + "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\r\n\tON_DEMAND\020" - + "\001\022\r\n\tAUTOMATED\020\002\022\016\n\nCONTINUOUS\020\003:_\352A\\\n\035a" - + "lloydb.googleapis.com/Backup\0228projects/{" - + "project}/locations/{location}/backups/{b" - + "ackup}R\001\001\"\330\006\n\025SupportedDatabaseFlag\022d\n\023s" - + "tring_restrictions\030\007 \001(\0132E.google.cloud." - + "alloydb.v1beta.SupportedDatabaseFlag.Str" - + "ingRestrictionsH\000\022f\n\024integer_restriction" - + "s\030\010 \001(\0132F.google.cloud.alloydb.v1beta.Su" - + "pportedDatabaseFlag.IntegerRestrictionsH" - + "\000\022\014\n\004name\030\001 \001(\t\022\021\n\tflag_name\030\002 \001(\t\022P\n\nva" - + "lue_type\030\003 \001(\0162<.google.cloud.alloydb.v1" - + "beta.SupportedDatabaseFlag.ValueType\022\037\n\027" - + "accepts_multiple_values\030\004 \001(\010\022K\n\025support" - + "ed_db_versions\030\005 \003(\0162,.google.cloud.allo" - + "ydb.v1beta.DatabaseVersion\022\033\n\023requires_d" - + "b_restart\030\006 \001(\010\032,\n\022StringRestrictions\022\026\n" - + "\016allowed_values\030\001 \003(\t\032u\n\023IntegerRestrict" - + "ions\022.\n\tmin_value\030\001 \001(\0132\033.google.protobu" - + "f.Int64Value\022.\n\tmax_value\030\002 \001(\0132\033.google" - + ".protobuf.Int64Value\"U\n\tValueType\022\032\n\026VAL" - + "UE_TYPE_UNSPECIFIED\020\000\022\n\n\006STRING\020\001\022\013\n\007INT" - + "EGER\020\002\022\t\n\005FLOAT\020\003\022\010\n\004NONE\020\004:g\352Ad\n,alloyd" - + "b.googleapis.com/SupportedDatabaseFlag\0224" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n" + + "\007STOPPED\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\017" + + "\n\013MAINTENANCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAP" + + "PING\020\010\022\r\n\tPROMOTING\020\t\"X\n\014InstanceType\022\035\n" + + "\031INSTANCE_TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020" + + "\001\022\r\n\tREAD_POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020Avail" + + "abilityType\022!\n\035AVAILABILITY_TYPE_UNSPECI" + + "FIED\020\000\022\t\n\005ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037al" + + "loydb.googleapis.com/Instance\022Oprojects/" + + "{project}/locations/{location}/clusters/" + + "{cluster}/instances/{instance}R\001\001\"\311\002\n\016Co" + + "nnectionInfo\022\014\n\004name\030\001 \001(\t\022\027\n\nip_address" + + "\030\002 \001(\tB\003\340A\003\022&\n\021public_ip_address\030\005 \001(\tB\013" + + "\340A\003\342\214\317\327\010\002\010\002\022$\n\025pem_certificate_chain\030\003 \003" + + "(\tB\005\030\001\340A\003\022\031\n\014instance_uid\030\004 \001(\tB\003\340A\003\022\031\n\014" + + "psc_dns_name\030\006 \001(\tB\003\340A\003:\213\001\352A\207\001\n%alloydb." + + "googleapis.com/ConnectionInfo\022^projects/" + + "{project}/locations/{location}/clusters/" + + "{cluster}/instances/{instance}/connectio" + + "nInfo\"\342\013\n\006Backup\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014d" + + "isplay_name\030\002 \001(\t\022\020\n\003uid\030\003 \001(\tB\003\340A\003\0224\n\013c" + + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0224\n\013delete_time\030\017" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022?\n" + + "\006labels\030\006 \003(\0132/.google.cloud.alloydb.v1b" + + "eta.Backup.LabelsEntry\022=\n\005state\030\007 \001(\0162)." + + "google.cloud.alloydb.v1beta.Backup.State" + + "B\003\340A\003\0226\n\004type\030\010 \001(\0162(.google.cloud.alloy" + + "db.v1beta.Backup.Type\022\023\n\013description\030\t \001" + + "(\t\022\030\n\013cluster_uid\030\022 \001(\tB\003\340A\003\022<\n\014cluster_" + + "name\030\n \001(\tB&\340A\002\372A \n\036alloydb.googleapis.c" + + "om/Cluster\022\030\n\013reconciling\030\013 \001(\010B\003\340A\003\022M\n\021" + + "encryption_config\030\014 \001(\0132-.google.cloud.a" + + "lloydb.v1beta.EncryptionConfigB\003\340A\001\022I\n\017e" + + "ncryption_info\030\r \001(\0132+.google.cloud.allo" + + "ydb.v1beta.EncryptionInfoB\003\340A\003\022\014\n\004etag\030\016" + + " \001(\t\022I\n\013annotations\030\020 \003(\01324.google.cloud" + + ".alloydb.v1beta.Backup.AnnotationsEntry\022" + + "\027\n\nsize_bytes\030\021 \001(\003B\003\340A\003\0224\n\013expiry_time\030" + + "\023 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022U" + + "\n\017expiry_quantity\030\024 \001(\01327.google.cloud.a" + + "lloydb.v1beta.Backup.QuantityBasedExpiry" + + "B\003\340A\003\022\032\n\rsatisfies_pzs\030\025 \001(\010B\003\340A\003\022K\n\020dat" + + "abase_version\030\026 \001(\0162,.google.cloud.alloy" + + "db.v1beta.DatabaseVersionB\003\340A\003\032W\n\023Quanti" + + "tyBasedExpiry\022\034\n\017retention_count\030\001 \001(\005B\003" + + "\340A\003\022\"\n\025total_retention_count\030\002 \001(\005B\003\340A\003\032" + + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021STATE_UNS" + + "PECIFIED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\n\n\006F" + + "AILED\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024\n\020TYPE_UN" + + "SPECIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tAUTOMATED\020" + + "\002\022\016\n\nCONTINUOUS\020\003:_\352A\\\n\035alloydb.googleap" + + "is.com/Backup\0228projects/{project}/locati" + + "ons/{location}/backups/{backup}R\001\001\"\330\006\n\025S" + + "upportedDatabaseFlag\022d\n\023string_restricti" + + "ons\030\007 \001(\0132E.google.cloud.alloydb.v1beta." + + "SupportedDatabaseFlag.StringRestrictions" + + "H\000\022f\n\024integer_restrictions\030\010 \001(\0132F.googl" + + "e.cloud.alloydb.v1beta.SupportedDatabase" + + "Flag.IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(\t" + + "\022\021\n\tflag_name\030\002 \001(\t\022P\n\nvalue_type\030\003 \001(\0162" + + "<.google.cloud.alloydb.v1beta.SupportedD" + + "atabaseFlag.ValueType\022\037\n\027accepts_multipl" + + "e_values\030\004 \001(\010\022K\n\025supported_db_versions\030" + + "\005 \003(\0162,.google.cloud.alloydb.v1beta.Data" + + "baseVersion\022\033\n\023requires_db_restart\030\006 \001(\010" + + "\032,\n\022StringRestrictions\022\026\n\016allowed_values" + + "\030\001 \003(\t\032u\n\023IntegerRestrictions\022.\n\tmin_val" + + "ue\030\001 \001(\0132\033.google.protobuf.Int64Value\022.\n" + + "\tmax_value\030\002 \001(\0132\033.google.protobuf.Int64" + + "Value\"U\n\tValueType\022\032\n\026VALUE_TYPE_UNSPECI" + + "FIED\020\000\022\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOAT" + + "\020\003\022\010\n\004NONE\020\004:g\352Ad\n,alloydb.googleapis.co" + + "m/SupportedDatabaseFlag\0224projects/{proje" + + "ct}/locations/{location}/flags/{flag}B\016\n" + + "\014restrictions\"\322\002\n\004User\022\021\n\004name\030\001 \001(\tB\003\340A" + + "\003\022\025\n\010password\030\002 \001(\tB\003\340A\004\022\033\n\016database_rol" + + "es\030\004 \003(\tB\003\340A\001\022B\n\tuser_type\030\005 \001(\0162*.googl" + + "e.cloud.alloydb.v1beta.User.UserTypeB\003\340A" + + "\001\"Q\n\010UserType\022\031\n\025USER_TYPE_UNSPECIFIED\020\000" + + "\022\024\n\020ALLOYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_IAM_US" + + "ER\020\002:l\352Ai\n\033alloydb.googleapis.com/User\022G" + "projects/{project}/locations/{location}/" - + "flags/{flag}B\016\n\014restrictions\"\322\002\n\004User\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\025\n\010password\030\002 \001(\tB\003\340A\004\022" - + "\033\n\016database_roles\030\004 \003(\tB\003\340A\001\022B\n\tuser_typ" - + "e\030\005 \001(\0162*.google.cloud.alloydb.v1beta.Us" - + "er.UserTypeB\003\340A\001\"Q\n\010UserType\022\031\n\025USER_TYP" - + "E_UNSPECIFIED\020\000\022\024\n\020ALLOYDB_BUILT_IN\020\001\022\024\n" - + "\020ALLOYDB_IAM_USER\020\002:l\352Ai\n\033alloydb.google" - + "apis.com/User\022Gprojects/{project}/locati" - + "ons/{location}/clusters/{cluster}/users/" - + "{user}R\001\001\"\334\001\n\010Database\022\021\n\004name\030\001 \001(\tB\003\340A" - + "\010\022\024\n\007charset\030\002 \001(\tB\003\340A\001\022\026\n\tcollation\030\003 \001" - + "(\tB\003\340A\001:\216\001\352A\212\001\n\037alloydb.googleapis.com/D" - + "atabase\022Oprojects/{project}/locations/{l" - + "ocation}/clusters/{cluster}/databases/{d" - + "atabase}*\tdatabases2\010databaseR\001\001*^\n\014Inst" - + "anceView\022\035\n\031INSTANCE_VIEW_UNSPECIFIED\020\000\022" - + "\027\n\023INSTANCE_VIEW_BASIC\020\001\022\026\n\022INSTANCE_VIE" - + "W_FULL\020\002*g\n\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*j\n\017Dat" - + "abaseVersion\022 \n\034DATABASE_VERSION_UNSPECI" - + "FIED\020\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013POSTGRES_" - + "14\020\002\022\017\n\013POSTGRES_15\020\003B\306\003\n\037com.google.clo" - + "ud.alloydb.v1betaB\016ResourcesProtoP\001Z9clo" - + "ud.google.com/go/alloydb/apiv1beta/alloy" - + "dbpb;alloydbpb\252\002\033Google.Cloud.AlloyDb.V1" - + "Beta\312\002\033Google\\Cloud\\AlloyDb\\V1beta\352\002\036Goo" - + "gle::Cloud::AlloyDB::V1beta\352A\246\001\n(cloudkm" - + "s.googleapis.com/CryptoKeyVersion\022zproje" - + "cts/{project}/locations/{location}/keyRi" - + "ngs/{key_ring}/cryptoKeys/{crypto_key}/c" - + "ryptoKeyVersions/{crypto_key_version}\352AN" - + "\n\036compute.googleapis.com/Network\022,projec" - + "ts/{project}/global/networks/{network}b\006" - + "proto3" + + "clusters/{cluster}/users/{user}R\001\001\"\334\001\n\010D" + + "atabase\022\021\n\004name\030\001 \001(\tB\003\340A\010\022\024\n\007charset\030\002 " + + "\001(\tB\003\340A\001\022\026\n\tcollation\030\003 \001(\tB\003\340A\001:\216\001\352A\212\001\n" + + "\037alloydb.googleapis.com/Database\022Oprojec" + + "ts/{project}/locations/{location}/cluste" + + "rs/{cluster}/databases/{database}*\tdatab" + + "ases2\010databaseR\001\001*^\n\014InstanceView\022\035\n\031INS" + + "TANCE_VIEW_UNSPECIFIED\020\000\022\027\n\023INSTANCE_VIE" + + "W_BASIC\020\001\022\026\n\022INSTANCE_VIEW_FULL\020\002*g\n\013Clu" + + "sterView\022\034\n\030CLUSTER_VIEW_UNSPECIFIED\020\000\022\026" + + "\n\022CLUSTER_VIEW_BASIC\020\001\022\"\n\036CLUSTER_VIEW_C" + + "ONTINUOUS_BACKUP\020\002*j\n\017DatabaseVersion\022 \n" + + "\034DATABASE_VERSION_UNSPECIFIED\020\000\022\023\n\013POSTG" + + "RES_13\020\001\032\002\010\001\022\017\n\013POSTGRES_14\020\002\022\017\n\013POSTGRE" + + "S_15\020\003B\306\003\n\037com.google.cloud.alloydb.v1be" + + "taB\016ResourcesProtoP\001Z9cloud.google.com/g" + + "o/alloydb/apiv1beta/alloydbpb;alloydbpb\252" + + "\002\033Google.Cloud.AlloyDb.V1Beta\312\002\033Google\\C" + + "loud\\AlloyDb\\V1beta\352\002\036Google::Cloud::All" + + "oyDB::V1beta\352A\246\001\n(cloudkms.googleapis.co" + + "m/CryptoKeyVersion\022zprojects/{project}/l" + + "ocations/{location}/keyRings/{key_ring}/" + + "cryptoKeys/{crypto_key}/cryptoKeyVersion" + + "s/{crypto_key_version}\352AN\n\036compute.googl" + + "eapis.com/Network\022,projects/{project}/gl" + + "obal/networks/{network}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -673,8 +699,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Cluster", "PointInTime", }); - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor = + internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_descriptor = getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_descriptor, + new java.lang.String[] { + "MaintenanceWindows", + }); + internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_MaintenanceWindow_descriptor = + internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_MaintenanceWindow_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_MaintenanceUpdatePolicy_MaintenanceWindow_descriptor, + new java.lang.String[] { + "Day", "StartTime", + }); + internal_static_google_cloud_alloydb_v1beta_MaintenanceSchedule_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_alloydb_v1beta_MaintenanceSchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_MaintenanceSchedule_descriptor, + new java.lang.String[] { + "StartTime", + }); + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor = + getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor, @@ -706,6 +758,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SecondaryConfig", "PrimaryConfig", "SatisfiesPzs", + "MaintenanceUpdatePolicy", + "MaintenanceSchedule", "Source", }); internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor = @@ -749,7 +803,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_alloydb_v1beta_Instance_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1beta_Instance_descriptor, @@ -781,6 +835,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SatisfiesPzs", "PscInstanceConfig", "NetworkConfig", + "OutboundPublicIpAddresses", }); internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor = internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(0); @@ -860,7 +915,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1beta_Instance_InstanceNetworkConfig_descriptor, new java.lang.String[] { - "AuthorizedExternalNetworks", "EnablePublicIp", + "AuthorizedExternalNetworks", "EnablePublicIp", "EnableOutboundPublicIp", }); internal_static_google_cloud_alloydb_v1beta_Instance_InstanceNetworkConfig_AuthorizedNetwork_descriptor = internal_static_google_cloud_alloydb_v1beta_Instance_InstanceNetworkConfig_descriptor @@ -897,7 +952,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor, @@ -910,7 +965,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PscDnsName", }); internal_static_google_cloud_alloydb_v1beta_Backup_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(15); internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1beta_Backup_descriptor, @@ -963,7 +1018,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(16); internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor, @@ -999,7 +1054,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MinValue", "MaxValue", }); internal_static_google_cloud_alloydb_v1beta_User_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(17); internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1beta_User_descriptor, @@ -1007,7 +1062,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Password", "DatabaseRoles", "UserType", }); internal_static_google_cloud_alloydb_v1beta_Database_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(18); internal_static_google_cloud_alloydb_v1beta_Database_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1beta_Database_descriptor, 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 d6c3927f6a54..4fee0dc94ba1 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 @@ -375,6 +375,33 @@ message ContinuousBackupSource { [(google.api.field_behavior) = REQUIRED]; } +// MaintenanceUpdatePolicy defines the policy for system updates. +message MaintenanceUpdatePolicy { + // MaintenanceWindow specifies a preferred day and time for maintenance. + message MaintenanceWindow { + // Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. + google.type.DayOfWeek day = 1; + + // Preferred time to start the maintenance operation on the specified day. + // Maintenance will start within 1 hour of this time. + google.type.TimeOfDay start_time = 2; + } + + // Preferred windows to perform maintenance. Currently limited to 1. + repeated MaintenanceWindow maintenance_windows = 1; +} + +// MaintenanceSchedule stores the maintenance schedule generated from +// the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if +// MaintenanceWindow is set, and if there is no conflicting DenyPeriod. +// The schedule is cleared once the update takes place. This field cannot be +// manually changed; modify the MaintenanceUpdatePolicy instead. +message MaintenanceSchedule { + // Output only. The scheduled start time for the maintenance. + google.protobuf.Timestamp start_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // A cluster is a collection of regional AlloyDB resources. It can include a // primary instance and one or more read pool instances. // All cluster resources share a storage layer, which scales as needed. @@ -391,7 +418,7 @@ message Cluster { // resources are created and from which they are accessible via Private IP. // The network must belong to the same project as the cluster. It is // specified in the form: - // "projects/{project_number}/global/networks/{network_id}". This is + // `projects/{project_number}/global/networks/{network_id}`. This is // required to create a cluster. string network = 1 [ (google.api.field_behavior) = OPTIONAL, @@ -543,7 +570,7 @@ message Cluster { // Required. The resource link for the VPC network in which cluster resources // are created and from which they are accessible via Private IP. The network // must belong to the same project as the cluster. It is specified in the - // form: "projects/{project}/global/networks/{network_id}". This is required + // form: `projects/{project}/global/networks/{network_id}`. This is required // to create a cluster. Deprecated, use network_config.network instead. string network = 10 [ deprecated = true, @@ -610,6 +637,16 @@ message Cluster { // Output only. Reserved for future use. bool satisfies_pzs = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The maintenance update policy determines when to allow or deny + // updates. + MaintenanceUpdatePolicy maintenance_update_policy = 32 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The maintenance schedule for the cluster, generated for a + // specific rollout if a maintenance window is set. + MaintenanceSchedule maintenance_schedule = 37 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // An Instance is a computing unit that an end customer can connect to. @@ -773,6 +810,10 @@ message Instance { // Optional. Enabling public ip for the instance. bool enable_public_ip = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Enabling an outbound public IP address to support a database + // server sending requests out into the internet. + bool enable_outbound_public_ip = 3 [(google.api.field_behavior) = OPTIONAL]; } // Instance State @@ -945,7 +986,10 @@ message Instance { // Output only. The public IP addresses for the Instance. This is available // ONLY when enable_public_ip is set. This is the connection endpoint for an // end-user application. - string public_ip_address = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; + string public_ip_address = 27 [ + (google.api.field_info).format = IPV4, + (google.api.field_behavior) = OUTPUT_ONLY + ]; // Output only. Reconciling (https://google.aip.dev/128#reconciliation). // Set to true if the current state of Instance does not match the user's @@ -983,6 +1027,12 @@ message Instance { // Optional. Instance level network configuration. InstanceNetworkConfig network_config = 29 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. All outbound public IP addresses configured for the instance. + repeated string outbound_public_ip_addresses = 34 [ + (google.api.field_info).format = IPV4, + (google.api.field_behavior) = OUTPUT_ONLY + ]; } // ConnectionInfo singleton resource. diff --git a/java-managedkafka/README.md b/java-managedkafka/README.md index 21f6112d5539..300a3e5ec2ef 100644 --- a/java-managedkafka/README.md +++ b/java-managedkafka/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-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.3.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managedkafka/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-managedkafka/google-cloud-managedkafka/src/main/resources/META-INF/native-image/com.google.cloud.managedkafka.v1/reflect-config.json b/java-managedkafka/google-cloud-managedkafka/src/main/resources/META-INF/native-image/com.google.cloud.managedkafka.v1/reflect-config.json index f44c7b6eb45a..9d2130c68730 100644 --- a/java-managedkafka/google-cloud-managedkafka/src/main/resources/META-INF/native-image/com.google.cloud.managedkafka.v1/reflect-config.json +++ b/java-managedkafka/google-cloud-managedkafka/src/main/resources/META-INF/native-image/com.google.cloud.managedkafka.v1/reflect-config.json @@ -332,6 +332,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.ResourceDescriptor", "queryAllDeclaredConstructors": true, diff --git a/java-texttospeech/README.md b/java-texttospeech/README.md index 1e24a31b4822..39865a4d9e17 100644 --- a/java-texttospeech/README.md +++ b/java-texttospeech/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-texttospeech.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.48.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.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-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1/reflect-config.json b/java-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1/reflect-config.json index 5f0f51b2f312..9be8125e27d9 100644 --- a/java-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1/reflect-config.json +++ b/java-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1/reflect-config.json @@ -305,6 +305,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.ResourceDescriptor", "queryAllDeclaredConstructors": true, diff --git a/java-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1beta1/reflect-config.json b/java-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1beta1/reflect-config.json index b9a8e16e64a6..11faacc8e9ff 100644 --- a/java-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1beta1/reflect-config.json +++ b/java-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1beta1/reflect-config.json @@ -305,6 +305,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.ResourceDescriptor", "queryAllDeclaredConstructors": true, diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioMetadata.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioMetadata.java index ce9855089951..4536047fd4c8 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioMetadata.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioMetadata.java @@ -120,7 +120,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 2 [deprecated = true]; * * @deprecated google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata.last_update_time is - * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=86 + * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=85 * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -138,7 +138,7 @@ public boolean hasLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 2 [deprecated = true]; * * @deprecated google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata.last_update_time is - * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=86 + * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=85 * @return The lastUpdateTime. */ @java.lang.Override @@ -808,7 +808,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp last_update_time = 2 [deprecated = true]; * * @deprecated google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata.last_update_time is - * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=86 + * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=85 * @return Whether the lastUpdateTime field is set. */ @java.lang.Deprecated @@ -825,7 +825,7 @@ public boolean hasLastUpdateTime() { * .google.protobuf.Timestamp last_update_time = 2 [deprecated = true]; * * @deprecated google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata.last_update_time is - * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=86 + * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=85 * @return The lastUpdateTime. */ @java.lang.Deprecated diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioMetadataOrBuilder.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioMetadataOrBuilder.java index 8dbad219113d..541492a1671f 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioMetadataOrBuilder.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioMetadataOrBuilder.java @@ -69,7 +69,7 @@ public interface SynthesizeLongAudioMetadataOrBuilder * .google.protobuf.Timestamp last_update_time = 2 [deprecated = true]; * * @deprecated google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata.last_update_time is - * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=86 + * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=85 * @return Whether the lastUpdateTime field is set. */ @java.lang.Deprecated @@ -84,7 +84,7 @@ public interface SynthesizeLongAudioMetadataOrBuilder * .google.protobuf.Timestamp last_update_time = 2 [deprecated = true]; * * @deprecated google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata.last_update_time is - * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=86 + * deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=85 * @return The lastUpdateTime. */ @java.lang.Deprecated diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioRequest.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioRequest.java index 72ced0e184bb..55ec8c7256b4 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioRequest.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioRequest.java @@ -126,7 +126,6 @@ public com.google.protobuf.ByteString getParentBytes() { * *
    * Required. The Synthesizer requires either plain text or SSML as input.
-   * While Long Audio is in preview, SSML is temporarily unsupported.
    * 
* * @@ -144,7 +143,6 @@ public boolean hasInput() { * *
    * Required. The Synthesizer requires either plain text or SSML as input.
-   * While Long Audio is in preview, SSML is temporarily unsupported.
    * 
* * @@ -164,7 +162,6 @@ public com.google.cloud.texttospeech.v1beta1.SynthesisInput getInput() { * *
    * Required. The Synthesizer requires either plain text or SSML as input.
-   * While Long Audio is in preview, SSML is temporarily unsupported.
    * 
* * @@ -949,7 +946,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * *
      * Required. The Synthesizer requires either plain text or SSML as input.
-     * While Long Audio is in preview, SSML is temporarily unsupported.
      * 
* * @@ -966,7 +962,6 @@ public boolean hasInput() { * *
      * Required. The Synthesizer requires either plain text or SSML as input.
-     * While Long Audio is in preview, SSML is temporarily unsupported.
      * 
* * @@ -989,7 +984,6 @@ public com.google.cloud.texttospeech.v1beta1.SynthesisInput getInput() { * *
      * Required. The Synthesizer requires either plain text or SSML as input.
-     * While Long Audio is in preview, SSML is temporarily unsupported.
      * 
* * @@ -1014,7 +1008,6 @@ public Builder setInput(com.google.cloud.texttospeech.v1beta1.SynthesisInput val * *
      * Required. The Synthesizer requires either plain text or SSML as input.
-     * While Long Audio is in preview, SSML is temporarily unsupported.
      * 
* * @@ -1037,7 +1030,6 @@ public Builder setInput( * *
      * Required. The Synthesizer requires either plain text or SSML as input.
-     * While Long Audio is in preview, SSML is temporarily unsupported.
      * 
* * @@ -1068,7 +1060,6 @@ public Builder mergeInput(com.google.cloud.texttospeech.v1beta1.SynthesisInput v * *
      * Required. The Synthesizer requires either plain text or SSML as input.
-     * While Long Audio is in preview, SSML is temporarily unsupported.
      * 
* * @@ -1090,7 +1081,6 @@ public Builder clearInput() { * *
      * Required. The Synthesizer requires either plain text or SSML as input.
-     * While Long Audio is in preview, SSML is temporarily unsupported.
      * 
* * @@ -1107,7 +1097,6 @@ public com.google.cloud.texttospeech.v1beta1.SynthesisInput.Builder getInputBuil * *
      * Required. The Synthesizer requires either plain text or SSML as input.
-     * While Long Audio is in preview, SSML is temporarily unsupported.
      * 
* * @@ -1128,7 +1117,6 @@ public com.google.cloud.texttospeech.v1beta1.SynthesisInputOrBuilder getInputOrB * *
      * Required. The Synthesizer requires either plain text or SSML as input.
-     * While Long Audio is in preview, SSML is temporarily unsupported.
      * 
* * diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioRequestOrBuilder.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioRequestOrBuilder.java index 6f6e3b7bf415..d53c436734e7 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioRequestOrBuilder.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioRequestOrBuilder.java @@ -56,7 +56,6 @@ public interface SynthesizeLongAudioRequestOrBuilder * *
    * Required. The Synthesizer requires either plain text or SSML as input.
-   * While Long Audio is in preview, SSML is temporarily unsupported.
    * 
* * @@ -71,7 +70,6 @@ public interface SynthesizeLongAudioRequestOrBuilder * *
    * Required. The Synthesizer requires either plain text or SSML as input.
-   * While Long Audio is in preview, SSML is temporarily unsupported.
    * 
* * @@ -86,7 +84,6 @@ public interface SynthesizeLongAudioRequestOrBuilder * *
    * Required. The Synthesizer requires either plain text or SSML as input.
-   * While Long Audio is in preview, SSML is temporarily unsupported.
    * 
* * diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto index d6fa1b3df3da..969dfd993967 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto @@ -60,7 +60,6 @@ message SynthesizeLongAudioRequest { string parent = 1; // Required. The Synthesizer requires either plain text or SSML as input. - // While Long Audio is in preview, SSML is temporarily unsupported. SynthesisInput input = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The configuration of the synthesized audio. diff --git a/java-visionai/README.md b/java-visionai/README.md index def2eda099f3..41984f06a313 100644 --- a/java-visionai/README.md +++ b/java-visionai/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-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.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-visionai/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-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/WarehouseClient.java b/java-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/WarehouseClient.java index 51113005c37f..286952c7fd87 100644 --- a/java-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/WarehouseClient.java +++ b/java-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/WarehouseClient.java @@ -670,7 +670,7 @@ * * *

ClipAsset - *

Generates clips for downloading. The api takes in a time range, and generates a clip of the first content available after start_time and before end_time, which may overflow beyond these bounds. Returned clips are truncated if the total size of the clips are larger than 100MB. + *

Supported by STREAM_VIDEO corpus type. Generates clips for downloading. The api takes in a time range, and generates a clip of the first content available after start_time and before end_time, which may overflow beyond these bounds. Returned clips are truncated if the total size of the clips are larger than 100MB. * *

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

*
    @@ -5262,9 +5262,10 @@ public final UnaryCallable deleteAnnotationCalla // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Generates clips for downloading. The api takes in a time range, and generates a clip of the - * first content available after start_time and before end_time, which may overflow beyond these - * bounds. Returned clips are truncated if the total size of the clips are larger than 100MB. + * Supported by STREAM_VIDEO corpus type. Generates clips for downloading. The api takes in a time + * range, and generates a clip of the first content available after start_time and before + * end_time, which may overflow beyond these bounds. Returned clips are truncated if the total + * size of the clips are larger than 100MB. * *

    Sample code: * @@ -5294,9 +5295,10 @@ public final ClipAssetResponse clipAsset(ClipAssetRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Generates clips for downloading. The api takes in a time range, and generates a clip of the - * first content available after start_time and before end_time, which may overflow beyond these - * bounds. Returned clips are truncated if the total size of the clips are larger than 100MB. + * Supported by STREAM_VIDEO corpus type. Generates clips for downloading. The api takes in a time + * range, and generates a clip of the first content available after start_time and before + * end_time, which may overflow beyond these bounds. Returned clips are truncated if the total + * size of the clips are larger than 100MB. * *

    Sample code: * diff --git a/java-visionai/google-cloud-visionai/src/main/resources/META-INF/native-image/com.google.cloud.visionai.v1/reflect-config.json b/java-visionai/google-cloud-visionai/src/main/resources/META-INF/native-image/com.google.cloud.visionai.v1/reflect-config.json index ba3eb7228f28..a2ec410994fa 100644 --- a/java-visionai/google-cloud-visionai/src/main/resources/META-INF/native-image/com.google.cloud.visionai.v1/reflect-config.json +++ b/java-visionai/google-cloud-visionai/src/main/resources/META-INF/native-image/com.google.cloud.visionai.v1/reflect-config.json @@ -305,6 +305,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.ResourceDescriptor", "queryAllDeclaredConstructors": true, @@ -1295,6 +1313,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.visionai.v1.BatchOperationStatus", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.visionai.v1.BatchOperationStatus$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.visionai.v1.BatchRunProcessRequest", "queryAllDeclaredConstructors": true, diff --git a/java-visionai/google-cloud-visionai/src/test/java/com/google/cloud/visionai/v1/WarehouseClientHttpJsonTest.java b/java-visionai/google-cloud-visionai/src/test/java/com/google/cloud/visionai/v1/WarehouseClientHttpJsonTest.java index 4f75caba0fa7..f6ab79072898 100644 --- a/java-visionai/google-cloud-visionai/src/test/java/com/google/cloud/visionai/v1/WarehouseClientHttpJsonTest.java +++ b/java-visionai/google-cloud-visionai/src/test/java/com/google/cloud/visionai/v1/WarehouseClientHttpJsonTest.java @@ -935,6 +935,8 @@ public void createIndexTest() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -994,6 +996,8 @@ public void createIndexTest2() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -1053,6 +1057,8 @@ public void updateIndexTest() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -1071,6 +1077,8 @@ public void updateIndexTest() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -1109,6 +1117,8 @@ public void updateIndexExceptionTest() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateIndexAsync(index, updateMask).get(); @@ -1128,6 +1138,8 @@ public void getIndexTest() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockService.addResponse(expectedResponse); @@ -1178,6 +1190,8 @@ public void getIndexTest2() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockService.addResponse(expectedResponse); @@ -1420,6 +1434,8 @@ public void createCorpusTest() throws Exception { .setDescription("description-1724546052") .setDefaultTtl(Duration.newBuilder().build()) .setSearchCapabilitySetting(SearchCapabilitySetting.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -1475,6 +1491,8 @@ public void getCorpusTest() throws Exception { .setDescription("description-1724546052") .setDefaultTtl(Duration.newBuilder().build()) .setSearchCapabilitySetting(SearchCapabilitySetting.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockService.addResponse(expectedResponse); @@ -1523,6 +1541,8 @@ public void getCorpusTest2() throws Exception { .setDescription("description-1724546052") .setDefaultTtl(Duration.newBuilder().build()) .setSearchCapabilitySetting(SearchCapabilitySetting.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockService.addResponse(expectedResponse); @@ -1571,6 +1591,8 @@ public void updateCorpusTest() throws Exception { .setDescription("description-1724546052") .setDefaultTtl(Duration.newBuilder().build()) .setSearchCapabilitySetting(SearchCapabilitySetting.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockService.addResponse(expectedResponse); @@ -1581,6 +1603,8 @@ public void updateCorpusTest() throws Exception { .setDescription("description-1724546052") .setDefaultTtl(Duration.newBuilder().build()) .setSearchCapabilitySetting(SearchCapabilitySetting.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -1617,6 +1641,8 @@ public void updateCorpusExceptionTest() throws Exception { .setDescription("description-1724546052") .setDefaultTtl(Duration.newBuilder().build()) .setSearchCapabilitySetting(SearchCapabilitySetting.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateCorpus(corpus, updateMask); @@ -3944,6 +3970,8 @@ public void createIndexEndpointTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -4004,6 +4032,8 @@ public void createIndexEndpointTest2() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -4064,6 +4094,8 @@ public void getIndexEndpointTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockService.addResponse(expectedResponse); @@ -4114,6 +4146,8 @@ public void getIndexEndpointTest2() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockService.addResponse(expectedResponse); @@ -4265,6 +4299,8 @@ public void updateIndexEndpointTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -4283,6 +4319,8 @@ public void updateIndexEndpointTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -4322,6 +4360,8 @@ public void updateIndexEndpointExceptionTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateIndexEndpointAsync(indexEndpoint, updateMask).get(); diff --git a/java-visionai/google-cloud-visionai/src/test/java/com/google/cloud/visionai/v1/WarehouseClientTest.java b/java-visionai/google-cloud-visionai/src/test/java/com/google/cloud/visionai/v1/WarehouseClientTest.java index 805c12825837..47f4f37970ac 100644 --- a/java-visionai/google-cloud-visionai/src/test/java/com/google/cloud/visionai/v1/WarehouseClientTest.java +++ b/java-visionai/google-cloud-visionai/src/test/java/com/google/cloud/visionai/v1/WarehouseClientTest.java @@ -861,6 +861,8 @@ public void createIndexTest() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -919,6 +921,8 @@ public void createIndexTest2() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -977,6 +981,8 @@ public void updateIndexTest() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -1032,6 +1038,8 @@ public void getIndexTest() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockWarehouse.addResponse(expectedResponse); @@ -1076,6 +1084,8 @@ public void getIndexTest2() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) .addAllDeployedIndexes(new ArrayList()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockWarehouse.addResponse(expectedResponse); @@ -1290,6 +1300,8 @@ public void createCorpusTest() throws Exception { .setDescription("description-1724546052") .setDefaultTtl(Duration.newBuilder().build()) .setSearchCapabilitySetting(SearchCapabilitySetting.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -1343,6 +1355,8 @@ public void getCorpusTest() throws Exception { .setDescription("description-1724546052") .setDefaultTtl(Duration.newBuilder().build()) .setSearchCapabilitySetting(SearchCapabilitySetting.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockWarehouse.addResponse(expectedResponse); @@ -1385,6 +1399,8 @@ public void getCorpusTest2() throws Exception { .setDescription("description-1724546052") .setDefaultTtl(Duration.newBuilder().build()) .setSearchCapabilitySetting(SearchCapabilitySetting.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockWarehouse.addResponse(expectedResponse); @@ -1427,6 +1443,8 @@ public void updateCorpusTest() throws Exception { .setDescription("description-1724546052") .setDefaultTtl(Duration.newBuilder().build()) .setSearchCapabilitySetting(SearchCapabilitySetting.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockWarehouse.addResponse(expectedResponse); @@ -3526,6 +3544,8 @@ public void createIndexEndpointTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -3585,6 +3605,8 @@ public void createIndexEndpointTest2() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() @@ -3644,6 +3666,8 @@ public void getIndexEndpointTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockWarehouse.addResponse(expectedResponse); @@ -3688,6 +3712,8 @@ public void getIndexEndpointTest2() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); mockWarehouse.addResponse(expectedResponse); @@ -3820,6 +3846,8 @@ public void updateIndexEndpointTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .setSatisfiesPzi(true) .build(); Operation resultOperation = Operation.newBuilder() diff --git a/java-visionai/grpc-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/WarehouseGrpc.java b/java-visionai/grpc-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/WarehouseGrpc.java index 6993d00833e5..013c32773a65 100644 --- a/java-visionai/grpc-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/WarehouseGrpc.java +++ b/java-visionai/grpc-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/WarehouseGrpc.java @@ -3364,6 +3364,7 @@ default void deleteAnnotation( * * *

    +     * Supported by STREAM_VIDEO corpus type.
          * Generates clips for downloading. The api takes in a time range, and
          * generates a clip of the first content available after start_time and
          * before end_time, which may overflow beyond these bounds.
    @@ -4405,6 +4406,7 @@ public io.grpc.stub.StreamObserver
    +     * Supported by STREAM_VIDEO corpus type.
          * Generates clips for downloading. The api takes in a time range, and
          * generates a clip of the first content available after start_time and
          * before end_time, which may overflow beyond these bounds.
    @@ -5382,6 +5384,7 @@ public com.google.protobuf.Empty deleteAnnotation(
          *
          *
          * 
    +     * Supported by STREAM_VIDEO corpus type.
          * Generates clips for downloading. The api takes in a time range, and
          * generates a clip of the first content available after start_time and
          * before end_time, which may overflow beyond these bounds.
    @@ -6272,6 +6275,7 @@ protected WarehouseFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
          *
          *
          * 
    +     * Supported by STREAM_VIDEO corpus type.
          * Generates clips for downloading. The api takes in a time range, and
          * generates a clip of the first content available after start_time and
          * before end_time, which may overflow beyond these bounds.
    diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/AnalyzeAssetMetadata.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/AnalyzeAssetMetadata.java
    index 3f1f23caa03f..88dbbf4f0dbc 100644
    --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/AnalyzeAssetMetadata.java
    +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/AnalyzeAssetMetadata.java
    @@ -198,7 +198,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
            *
            *
            * 
    -       * The feature is in progress.
    +       * The ml model analysis is in progress.
            * 
    * * IN_PROGRESS = 1; @@ -208,7 +208,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * * *
    -       * The process is successfully done.
    +       * The ml model analysis is successfully done.
            * 
    * * SUCCEEDED = 2; @@ -218,7 +218,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * * *
    -       * The process failed.
    +       * The ml model analysis failed.
            * 
    * * FAILED = 3; @@ -241,7 +241,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * * *
    -       * The feature is in progress.
    +       * The ml model analysis is in progress.
            * 
    * * IN_PROGRESS = 1; @@ -251,7 +251,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * * *
    -       * The process is successfully done.
    +       * The ml model analysis is successfully done.
            * 
    * * SUCCEEDED = 2; @@ -261,7 +261,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * * *
    -       * The process failed.
    +       * The ml model analysis failed.
            * 
    * * FAILED = 3; diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/BatchOperationStatus.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/BatchOperationStatus.java new file mode 100644 index 000000000000..95df6b17e4b7 --- /dev/null +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/BatchOperationStatus.java @@ -0,0 +1,636 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/visionai/v1/warehouse.proto + +// Protobuf Java Version: 3.25.4 +package com.google.cloud.visionai.v1; + +/** + * + * + *
    + * The batch operation status.
    + * 
    + * + * Protobuf type {@code google.cloud.visionai.v1.BatchOperationStatus} + */ +public final class BatchOperationStatus extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.visionai.v1.BatchOperationStatus) + BatchOperationStatusOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchOperationStatus.newBuilder() to construct. + private BatchOperationStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BatchOperationStatus() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BatchOperationStatus(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.visionai.v1.WarehouseProto + .internal_static_google_cloud_visionai_v1_BatchOperationStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.visionai.v1.WarehouseProto + .internal_static_google_cloud_visionai_v1_BatchOperationStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.visionai.v1.BatchOperationStatus.class, + com.google.cloud.visionai.v1.BatchOperationStatus.Builder.class); + } + + public static final int SUCCESS_COUNT_FIELD_NUMBER = 1; + private int successCount_ = 0; + /** + * + * + *
    +   * The count of assets (together with their annotations if any) successfully
    +   * ingested.
    +   * 
    + * + * int32 success_count = 1; + * + * @return The successCount. + */ + @java.lang.Override + public int getSuccessCount() { + return successCount_; + } + + public static final int FAILURE_COUNT_FIELD_NUMBER = 2; + private int failureCount_ = 0; + /** + * + * + *
    +   * The count of assets failed to ingested; it might be due to the annotation
    +   * ingestion error.
    +   * 
    + * + * int32 failure_count = 2; + * + * @return The failureCount. + */ + @java.lang.Override + public int getFailureCount() { + return failureCount_; + } + + 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 (successCount_ != 0) { + output.writeInt32(1, successCount_); + } + if (failureCount_ != 0) { + output.writeInt32(2, failureCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (successCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, successCount_); + } + if (failureCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, failureCount_); + } + 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.visionai.v1.BatchOperationStatus)) { + return super.equals(obj); + } + com.google.cloud.visionai.v1.BatchOperationStatus other = + (com.google.cloud.visionai.v1.BatchOperationStatus) obj; + + if (getSuccessCount() != other.getSuccessCount()) return false; + if (getFailureCount() != other.getFailureCount()) 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) + SUCCESS_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getSuccessCount(); + hash = (37 * hash) + FAILURE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getFailureCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.visionai.v1.BatchOperationStatus parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.visionai.v1.BatchOperationStatus 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.visionai.v1.BatchOperationStatus parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.visionai.v1.BatchOperationStatus 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.visionai.v1.BatchOperationStatus parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.visionai.v1.BatchOperationStatus parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.visionai.v1.BatchOperationStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.visionai.v1.BatchOperationStatus parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.visionai.v1.BatchOperationStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.visionai.v1.BatchOperationStatus parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.visionai.v1.BatchOperationStatus parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.visionai.v1.BatchOperationStatus parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.visionai.v1.BatchOperationStatus prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * The batch operation status.
    +   * 
    + * + * Protobuf type {@code google.cloud.visionai.v1.BatchOperationStatus} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.visionai.v1.BatchOperationStatus) + com.google.cloud.visionai.v1.BatchOperationStatusOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.visionai.v1.WarehouseProto + .internal_static_google_cloud_visionai_v1_BatchOperationStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.visionai.v1.WarehouseProto + .internal_static_google_cloud_visionai_v1_BatchOperationStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.visionai.v1.BatchOperationStatus.class, + com.google.cloud.visionai.v1.BatchOperationStatus.Builder.class); + } + + // Construct using com.google.cloud.visionai.v1.BatchOperationStatus.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + successCount_ = 0; + failureCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.visionai.v1.WarehouseProto + .internal_static_google_cloud_visionai_v1_BatchOperationStatus_descriptor; + } + + @java.lang.Override + public com.google.cloud.visionai.v1.BatchOperationStatus getDefaultInstanceForType() { + return com.google.cloud.visionai.v1.BatchOperationStatus.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.visionai.v1.BatchOperationStatus build() { + com.google.cloud.visionai.v1.BatchOperationStatus result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.visionai.v1.BatchOperationStatus buildPartial() { + com.google.cloud.visionai.v1.BatchOperationStatus result = + new com.google.cloud.visionai.v1.BatchOperationStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.visionai.v1.BatchOperationStatus result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.successCount_ = successCount_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.failureCount_ = failureCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.visionai.v1.BatchOperationStatus) { + return mergeFrom((com.google.cloud.visionai.v1.BatchOperationStatus) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.visionai.v1.BatchOperationStatus other) { + if (other == com.google.cloud.visionai.v1.BatchOperationStatus.getDefaultInstance()) + return this; + if (other.getSuccessCount() != 0) { + setSuccessCount(other.getSuccessCount()); + } + if (other.getFailureCount() != 0) { + setFailureCount(other.getFailureCount()); + } + 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: + { + successCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + failureCount_ = input.readInt32(); + 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 int successCount_; + /** + * + * + *
    +     * The count of assets (together with their annotations if any) successfully
    +     * ingested.
    +     * 
    + * + * int32 success_count = 1; + * + * @return The successCount. + */ + @java.lang.Override + public int getSuccessCount() { + return successCount_; + } + /** + * + * + *
    +     * The count of assets (together with their annotations if any) successfully
    +     * ingested.
    +     * 
    + * + * int32 success_count = 1; + * + * @param value The successCount to set. + * @return This builder for chaining. + */ + public Builder setSuccessCount(int value) { + + successCount_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
    +     * The count of assets (together with their annotations if any) successfully
    +     * ingested.
    +     * 
    + * + * int32 success_count = 1; + * + * @return This builder for chaining. + */ + public Builder clearSuccessCount() { + bitField0_ = (bitField0_ & ~0x00000001); + successCount_ = 0; + onChanged(); + return this; + } + + private int failureCount_; + /** + * + * + *
    +     * The count of assets failed to ingested; it might be due to the annotation
    +     * ingestion error.
    +     * 
    + * + * int32 failure_count = 2; + * + * @return The failureCount. + */ + @java.lang.Override + public int getFailureCount() { + return failureCount_; + } + /** + * + * + *
    +     * The count of assets failed to ingested; it might be due to the annotation
    +     * ingestion error.
    +     * 
    + * + * int32 failure_count = 2; + * + * @param value The failureCount to set. + * @return This builder for chaining. + */ + public Builder setFailureCount(int value) { + + failureCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
    +     * The count of assets failed to ingested; it might be due to the annotation
    +     * ingestion error.
    +     * 
    + * + * int32 failure_count = 2; + * + * @return This builder for chaining. + */ + public Builder clearFailureCount() { + bitField0_ = (bitField0_ & ~0x00000002); + failureCount_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.visionai.v1.BatchOperationStatus) + } + + // @@protoc_insertion_point(class_scope:google.cloud.visionai.v1.BatchOperationStatus) + private static final com.google.cloud.visionai.v1.BatchOperationStatus DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.visionai.v1.BatchOperationStatus(); + } + + public static com.google.cloud.visionai.v1.BatchOperationStatus getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchOperationStatus 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.visionai.v1.BatchOperationStatus getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/BatchOperationStatusOrBuilder.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/BatchOperationStatusOrBuilder.java new file mode 100644 index 000000000000..19a91dddf834 --- /dev/null +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/BatchOperationStatusOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/visionai/v1/warehouse.proto + +// Protobuf Java Version: 3.25.4 +package com.google.cloud.visionai.v1; + +public interface BatchOperationStatusOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.visionai.v1.BatchOperationStatus) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * The count of assets (together with their annotations if any) successfully
    +   * ingested.
    +   * 
    + * + * int32 success_count = 1; + * + * @return The successCount. + */ + int getSuccessCount(); + + /** + * + * + *
    +   * The count of assets failed to ingested; it might be due to the annotation
    +   * ingestion error.
    +   * 
    + * + * int32 failure_count = 2; + * + * @return The failureCount. + */ + int getFailureCount(); +} diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Corpus.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Corpus.java index 9db016cef23e..ae544c855fbb 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Corpus.java +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Corpus.java @@ -555,6 +555,80 @@ public com.google.cloud.visionai.v1.SearchCapabilitySetting getSearchCapabilityS : searchCapabilitySetting_; } + public static final int SATISFIES_PZS_FIELD_NUMBER = 11; + private boolean satisfiesPzs_ = false; + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the corpus is a valid zone separated corpus and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzs field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzs() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the corpus is a valid zone separated corpus and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzs. + */ + @java.lang.Override + public boolean getSatisfiesPzs() { + return satisfiesPzs_; + } + + public static final int SATISFIES_PZI_FIELD_NUMBER = 12; + private boolean satisfiesPzi_ = false; + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the corpus is a valid zone isolated corpus and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzi field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzi() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the corpus is a valid zone isolated corpus and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzi. + */ + @java.lang.Override + public boolean getSatisfiesPzi() { + return satisfiesPzi_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -587,6 +661,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(8, getSearchCapabilitySetting()); } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBool(11, satisfiesPzs_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeBool(12, satisfiesPzi_); + } getUnknownFields().writeTo(output); } @@ -615,6 +695,12 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getSearchCapabilitySetting()); } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, satisfiesPzs_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, satisfiesPzi_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -642,6 +728,14 @@ public boolean equals(final java.lang.Object obj) { if (hasSearchCapabilitySetting()) { if (!getSearchCapabilitySetting().equals(other.getSearchCapabilitySetting())) return false; } + if (hasSatisfiesPzs() != other.hasSatisfiesPzs()) return false; + if (hasSatisfiesPzs()) { + if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; + } + if (hasSatisfiesPzi() != other.hasSatisfiesPzi()) return false; + if (hasSatisfiesPzi()) { + if (getSatisfiesPzi() != other.getSatisfiesPzi()) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -669,6 +763,14 @@ public int hashCode() { hash = (37 * hash) + SEARCH_CAPABILITY_SETTING_FIELD_NUMBER; hash = (53 * hash) + getSearchCapabilitySetting().hashCode(); } + if (hasSatisfiesPzs()) { + hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); + } + if (hasSatisfiesPzi()) { + hash = (37 * hash) + SATISFIES_PZI_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzi()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -833,6 +935,8 @@ public Builder clear() { searchCapabilitySettingBuilder_.dispose(); searchCapabilitySettingBuilder_ = null; } + satisfiesPzs_ = false; + satisfiesPzi_ = false; return this; } @@ -892,6 +996,14 @@ private void buildPartial0(com.google.cloud.visionai.v1.Corpus result) { : searchCapabilitySettingBuilder_.build(); to_bitField0_ |= 0x00000002; } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.satisfiesPzs_ = satisfiesPzs_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.satisfiesPzi_ = satisfiesPzi_; + to_bitField0_ |= 0x00000008; + } result.bitField0_ |= to_bitField0_; } @@ -964,6 +1076,12 @@ public Builder mergeFrom(com.google.cloud.visionai.v1.Corpus other) { if (other.hasSearchCapabilitySetting()) { mergeSearchCapabilitySetting(other.getSearchCapabilitySetting()); } + if (other.hasSatisfiesPzs()) { + setSatisfiesPzs(other.getSatisfiesPzs()); + } + if (other.hasSatisfiesPzi()) { + setSatisfiesPzi(other.getSatisfiesPzi()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1027,6 +1145,18 @@ public Builder mergeFrom( bitField0_ |= 0x00000020; break; } // case 66 + case 88: + { + satisfiesPzs_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 88 + case 96: + { + satisfiesPzi_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 96 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1891,6 +2021,158 @@ public Builder clearSearchCapabilitySetting() { return searchCapabilitySettingBuilder_; } + private boolean satisfiesPzs_; + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the corpus is a valid zone separated corpus and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzs field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzs() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the corpus is a valid zone separated corpus and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzs. + */ + @java.lang.Override + public boolean getSatisfiesPzs() { + return satisfiesPzs_; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the corpus is a valid zone separated corpus and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The satisfiesPzs to set. + * @return This builder for chaining. + */ + public Builder setSatisfiesPzs(boolean value) { + + satisfiesPzs_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the corpus is a valid zone separated corpus and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearSatisfiesPzs() { + bitField0_ = (bitField0_ & ~0x00000040); + satisfiesPzs_ = false; + onChanged(); + return this; + } + + private boolean satisfiesPzi_; + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the corpus is a valid zone isolated corpus and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzi field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzi() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the corpus is a valid zone isolated corpus and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzi. + */ + @java.lang.Override + public boolean getSatisfiesPzi() { + return satisfiesPzi_; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the corpus is a valid zone isolated corpus and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The satisfiesPzi to set. + * @return This builder for chaining. + */ + public Builder setSatisfiesPzi(boolean value) { + + satisfiesPzi_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the corpus is a valid zone isolated corpus and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearSatisfiesPzi() { + bitField0_ = (bitField0_ & ~0x00000080); + satisfiesPzi_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/CorpusOrBuilder.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/CorpusOrBuilder.java index 915a83fa2a7a..6b80d07cbca6 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/CorpusOrBuilder.java +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/CorpusOrBuilder.java @@ -214,4 +214,62 @@ public interface CorpusOrBuilder */ com.google.cloud.visionai.v1.SearchCapabilitySettingOrBuilder getSearchCapabilitySettingOrBuilder(); + + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the corpus is a valid zone separated corpus and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzs field is set. + */ + boolean hasSatisfiesPzs(); + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the corpus is a valid zone separated corpus and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzs. + */ + boolean getSatisfiesPzs(); + + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the corpus is a valid zone isolated corpus and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzi field is set. + */ + boolean hasSatisfiesPzi(); + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the corpus is a valid zone isolated corpus and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzi. + */ + boolean getSatisfiesPzi(); } diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ImportAssetsMetadata.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ImportAssetsMetadata.java index 057c27ce18ea..8b82d4b48936 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ImportAssetsMetadata.java +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ImportAssetsMetadata.java @@ -112,6 +112,59 @@ public com.google.cloud.visionai.v1.OperationMetadataOrBuilder getMetadataOrBuil : metadata_; } + public static final int STATUS_FIELD_NUMBER = 2; + private com.google.cloud.visionai.v1.BatchOperationStatus status_; + /** + * + * + *
    +   * The importing status including partial failures, if the implementation can
    +   * provide such information during the progress of the ImportAssets.
    +   * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + * + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
    +   * The importing status including partial failures, if the implementation can
    +   * provide such information during the progress of the ImportAssets.
    +   * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + * + * @return The status. + */ + @java.lang.Override + public com.google.cloud.visionai.v1.BatchOperationStatus getStatus() { + return status_ == null + ? com.google.cloud.visionai.v1.BatchOperationStatus.getDefaultInstance() + : status_; + } + /** + * + * + *
    +   * The importing status including partial failures, if the implementation can
    +   * provide such information during the progress of the ImportAssets.
    +   * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + */ + @java.lang.Override + public com.google.cloud.visionai.v1.BatchOperationStatusOrBuilder getStatusOrBuilder() { + return status_ == null + ? com.google.cloud.visionai.v1.BatchOperationStatus.getDefaultInstance() + : status_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -129,6 +182,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMetadata()); } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getStatus()); + } getUnknownFields().writeTo(output); } @@ -141,6 +197,9 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetadata()); } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -161,6 +220,10 @@ public boolean equals(final java.lang.Object obj) { if (hasMetadata()) { if (!getMetadata().equals(other.getMetadata())) return false; } + if (hasStatus() != other.hasStatus()) return false; + if (hasStatus()) { + if (!getStatus().equals(other.getStatus())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,6 +239,10 @@ public int hashCode() { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -317,6 +384,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMetadataFieldBuilder(); + getStatusFieldBuilder(); } } @@ -329,6 +397,11 @@ public Builder clear() { metadataBuilder_.dispose(); metadataBuilder_ = null; } + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } return this; } @@ -370,6 +443,10 @@ private void buildPartial0(com.google.cloud.visionai.v1.ImportAssetsMetadata res result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); + to_bitField0_ |= 0x00000002; + } result.bitField0_ |= to_bitField0_; } @@ -422,6 +499,9 @@ public Builder mergeFrom(com.google.cloud.visionai.v1.ImportAssetsMetadata other if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } + if (other.hasStatus()) { + mergeStatus(other.getStatus()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -454,6 +534,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 10 + case 18: + { + input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -659,6 +745,201 @@ public com.google.cloud.visionai.v1.OperationMetadataOrBuilder getMetadataOrBuil return metadataBuilder_; } + private com.google.cloud.visionai.v1.BatchOperationStatus status_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.visionai.v1.BatchOperationStatus, + com.google.cloud.visionai.v1.BatchOperationStatus.Builder, + com.google.cloud.visionai.v1.BatchOperationStatusOrBuilder> + statusBuilder_; + /** + * + * + *
    +     * The importing status including partial failures, if the implementation can
    +     * provide such information during the progress of the ImportAssets.
    +     * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + * + * @return Whether the status field is set. + */ + public boolean hasStatus() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
    +     * The importing status including partial failures, if the implementation can
    +     * provide such information during the progress of the ImportAssets.
    +     * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + * + * @return The status. + */ + public com.google.cloud.visionai.v1.BatchOperationStatus getStatus() { + if (statusBuilder_ == null) { + return status_ == null + ? com.google.cloud.visionai.v1.BatchOperationStatus.getDefaultInstance() + : status_; + } else { + return statusBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * The importing status including partial failures, if the implementation can
    +     * provide such information during the progress of the ImportAssets.
    +     * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + */ + public Builder setStatus(com.google.cloud.visionai.v1.BatchOperationStatus value) { + if (statusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + status_ = value; + } else { + statusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
    +     * The importing status including partial failures, if the implementation can
    +     * provide such information during the progress of the ImportAssets.
    +     * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + */ + public Builder setStatus( + com.google.cloud.visionai.v1.BatchOperationStatus.Builder builderForValue) { + if (statusBuilder_ == null) { + status_ = builderForValue.build(); + } else { + statusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
    +     * The importing status including partial failures, if the implementation can
    +     * provide such information during the progress of the ImportAssets.
    +     * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + */ + public Builder mergeStatus(com.google.cloud.visionai.v1.BatchOperationStatus value) { + if (statusBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && status_ != null + && status_ != com.google.cloud.visionai.v1.BatchOperationStatus.getDefaultInstance()) { + getStatusBuilder().mergeFrom(value); + } else { + status_ = value; + } + } else { + statusBuilder_.mergeFrom(value); + } + if (status_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
    +     * The importing status including partial failures, if the implementation can
    +     * provide such information during the progress of the ImportAssets.
    +     * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00000002); + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
    +     * The importing status including partial failures, if the implementation can
    +     * provide such information during the progress of the ImportAssets.
    +     * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + */ + public com.google.cloud.visionai.v1.BatchOperationStatus.Builder getStatusBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getStatusFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * The importing status including partial failures, if the implementation can
    +     * provide such information during the progress of the ImportAssets.
    +     * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + */ + public com.google.cloud.visionai.v1.BatchOperationStatusOrBuilder getStatusOrBuilder() { + if (statusBuilder_ != null) { + return statusBuilder_.getMessageOrBuilder(); + } else { + return status_ == null + ? com.google.cloud.visionai.v1.BatchOperationStatus.getDefaultInstance() + : status_; + } + } + /** + * + * + *
    +     * The importing status including partial failures, if the implementation can
    +     * provide such information during the progress of the ImportAssets.
    +     * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.visionai.v1.BatchOperationStatus, + com.google.cloud.visionai.v1.BatchOperationStatus.Builder, + com.google.cloud.visionai.v1.BatchOperationStatusOrBuilder> + getStatusFieldBuilder() { + if (statusBuilder_ == null) { + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.visionai.v1.BatchOperationStatus, + com.google.cloud.visionai.v1.BatchOperationStatus.Builder, + com.google.cloud.visionai.v1.BatchOperationStatusOrBuilder>( + getStatus(), getParentForChildren(), isClean()); + status_ = null; + } + return statusBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ImportAssetsMetadataOrBuilder.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ImportAssetsMetadataOrBuilder.java index 2400f68ed581..56940199696e 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ImportAssetsMetadataOrBuilder.java +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ImportAssetsMetadataOrBuilder.java @@ -58,4 +58,42 @@ public interface ImportAssetsMetadataOrBuilder * .google.cloud.visionai.v1.OperationMetadata metadata = 1; */ com.google.cloud.visionai.v1.OperationMetadataOrBuilder getMetadataOrBuilder(); + + /** + * + * + *
    +   * The importing status including partial failures, if the implementation can
    +   * provide such information during the progress of the ImportAssets.
    +   * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + * + * @return Whether the status field is set. + */ + boolean hasStatus(); + /** + * + * + *
    +   * The importing status including partial failures, if the implementation can
    +   * provide such information during the progress of the ImportAssets.
    +   * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + * + * @return The status. + */ + com.google.cloud.visionai.v1.BatchOperationStatus getStatus(); + /** + * + * + *
    +   * The importing status including partial failures, if the implementation can
    +   * provide such information during the progress of the ImportAssets.
    +   * 
    + * + * .google.cloud.visionai.v1.BatchOperationStatus status = 2; + */ + com.google.cloud.visionai.v1.BatchOperationStatusOrBuilder getStatusOrBuilder(); } diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Index.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Index.java index 70c792b69751..281906f7176c 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Index.java +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Index.java @@ -718,6 +718,80 @@ public com.google.cloud.visionai.v1.DeployedIndexReferenceOrBuilder getDeployedI return deployedIndexes_.get(index); } + public static final int SATISFIES_PZS_FIELD_NUMBER = 11; + private boolean satisfiesPzs_ = false; + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the index is a valid zone separated index and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzs field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzs() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the index is a valid zone separated index and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzs. + */ + @java.lang.Override + public boolean getSatisfiesPzs() { + return satisfiesPzs_; + } + + public static final int SATISFIES_PZI_FIELD_NUMBER = 12; + private boolean satisfiesPzi_ = false; + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the index is a valid zone isolated index and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzi field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzi() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the index is a valid zone isolated index and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzi. + */ + @java.lang.Override + public boolean getSatisfiesPzi() { + return satisfiesPzi_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -756,6 +830,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (assetFilterCase_ == 9) { output.writeBool(9, (boolean) ((java.lang.Boolean) assetFilter_)); } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBool(11, satisfiesPzs_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeBool(12, satisfiesPzi_); + } getUnknownFields().writeTo(output); } @@ -791,6 +871,12 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeBoolSize( 9, (boolean) ((java.lang.Boolean) assetFilter_)); } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, satisfiesPzs_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, satisfiesPzi_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -819,6 +905,14 @@ public boolean equals(final java.lang.Object obj) { if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!getDeployedIndexesList().equals(other.getDeployedIndexesList())) return false; + if (hasSatisfiesPzs() != other.hasSatisfiesPzs()) return false; + if (hasSatisfiesPzs()) { + if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; + } + if (hasSatisfiesPzi() != other.hasSatisfiesPzi()) return false; + if (hasSatisfiesPzi()) { + if (getSatisfiesPzi() != other.getSatisfiesPzi()) return false; + } if (!getAssetFilterCase().equals(other.getAssetFilterCase())) return false; switch (assetFilterCase_) { case 9: @@ -858,6 +952,14 @@ public int hashCode() { hash = (37 * hash) + DEPLOYED_INDEXES_FIELD_NUMBER; hash = (53 * hash) + getDeployedIndexesList().hashCode(); } + if (hasSatisfiesPzs()) { + hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); + } + if (hasSatisfiesPzi()) { + hash = (37 * hash) + SATISFIES_PZI_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzi()); + } switch (assetFilterCase_) { case 9: hash = (37 * hash) + ENTIRE_CORPUS_FIELD_NUMBER; @@ -1038,6 +1140,8 @@ public Builder clear() { deployedIndexesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); + satisfiesPzs_ = false; + satisfiesPzi_ = false; assetFilterCase_ = 0; assetFilter_ = null; return this; @@ -1110,6 +1214,14 @@ private void buildPartial0(com.google.cloud.visionai.v1.Index result) { result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.satisfiesPzs_ = satisfiesPzs_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.satisfiesPzi_ = satisfiesPzi_; + to_bitField0_ |= 0x00000008; + } result.bitField0_ |= to_bitField0_; } @@ -1214,6 +1326,12 @@ public Builder mergeFrom(com.google.cloud.visionai.v1.Index other) { } } } + if (other.hasSatisfiesPzs()) { + setSatisfiesPzs(other.getSatisfiesPzs()); + } + if (other.hasSatisfiesPzi()) { + setSatisfiesPzi(other.getSatisfiesPzi()); + } switch (other.getAssetFilterCase()) { case ENTIRE_CORPUS: { @@ -1307,6 +1425,18 @@ public Builder mergeFrom( assetFilterCase_ = 9; break; } // case 72 + case 88: + { + satisfiesPzs_ = input.readBool(); + bitField0_ |= 0x00000100; + break; + } // case 88 + case 96: + { + satisfiesPzi_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 96 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2678,6 +2808,158 @@ public com.google.cloud.visionai.v1.DeployedIndexReference.Builder addDeployedIn return deployedIndexesBuilder_; } + private boolean satisfiesPzs_; + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the index is a valid zone separated index and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzs field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzs() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the index is a valid zone separated index and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzs. + */ + @java.lang.Override + public boolean getSatisfiesPzs() { + return satisfiesPzs_; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the index is a valid zone separated index and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The satisfiesPzs to set. + * @return This builder for chaining. + */ + public Builder setSatisfiesPzs(boolean value) { + + satisfiesPzs_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the index is a valid zone separated index and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearSatisfiesPzs() { + bitField0_ = (bitField0_ & ~0x00000100); + satisfiesPzs_ = false; + onChanged(); + return this; + } + + private boolean satisfiesPzi_; + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the index is a valid zone isolated index and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzi field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzi() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the index is a valid zone isolated index and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzi. + */ + @java.lang.Override + public boolean getSatisfiesPzi() { + return satisfiesPzi_; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the index is a valid zone isolated index and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The satisfiesPzi to set. + * @return This builder for chaining. + */ + public Builder setSatisfiesPzi(boolean value) { + + satisfiesPzi_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the index is a valid zone isolated index and false if it isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearSatisfiesPzi() { + bitField0_ = (bitField0_ & ~0x00000200); + satisfiesPzi_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexEndpoint.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexEndpoint.java index 365c6aed2ff7..29a4c604391a 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexEndpoint.java +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexEndpoint.java @@ -804,6 +804,84 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } + public static final int SATISFIES_PZS_FIELD_NUMBER = 10; + private boolean satisfiesPzs_ = false; + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the index endpoint is a valid zone separated index endpoint and false
    +   * if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzs field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzs() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the index endpoint is a valid zone separated index endpoint and false
    +   * if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzs. + */ + @java.lang.Override + public boolean getSatisfiesPzs() { + return satisfiesPzs_; + } + + public static final int SATISFIES_PZI_FIELD_NUMBER = 11; + private boolean satisfiesPzi_ = false; + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the index endpoint is a valid zone isolated index endpoint and false if it
    +   * isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzi field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzi() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the index endpoint is a valid zone isolated index endpoint and false if it
    +   * isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzi. + */ + @java.lang.Override + public boolean getSatisfiesPzi() { + return satisfiesPzi_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -841,6 +919,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(9, getDeployedIndex()); } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeBool(10, satisfiesPzs_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeBool(11, satisfiesPzi_); + } getUnknownFields().writeTo(output); } @@ -881,6 +965,12 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeployedIndex()); } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, satisfiesPzs_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, satisfiesPzi_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -914,6 +1004,14 @@ public boolean equals(final java.lang.Object obj) { if (hasUpdateTime()) { if (!getUpdateTime().equals(other.getUpdateTime())) return false; } + if (hasSatisfiesPzs() != other.hasSatisfiesPzs()) return false; + if (hasSatisfiesPzs()) { + if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; + } + if (hasSatisfiesPzi() != other.hasSatisfiesPzi()) return false; + if (hasSatisfiesPzi()) { + if (getSatisfiesPzi() != other.getSatisfiesPzi()) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -949,6 +1047,14 @@ public int hashCode() { hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); } + if (hasSatisfiesPzs()) { + hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); + } + if (hasSatisfiesPzi()) { + hash = (37 * hash) + SATISFIES_PZI_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzi()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1141,6 +1247,8 @@ public Builder clear() { updateTimeBuilder_.dispose(); updateTimeBuilder_ = null; } + satisfiesPzs_ = false; + satisfiesPzi_ = false; return this; } @@ -1207,6 +1315,14 @@ private void buildPartial0(com.google.cloud.visionai.v1.IndexEndpoint result) { result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.satisfiesPzs_ = satisfiesPzs_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.satisfiesPzi_ = satisfiesPzi_; + to_bitField0_ |= 0x00000010; + } result.bitField0_ |= to_bitField0_; } @@ -1284,6 +1400,12 @@ public Builder mergeFrom(com.google.cloud.visionai.v1.IndexEndpoint other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } + if (other.hasSatisfiesPzs()) { + setSatisfiesPzs(other.getSatisfiesPzs()); + } + if (other.hasSatisfiesPzi()) { + setSatisfiesPzi(other.getSatisfiesPzi()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1364,6 +1486,18 @@ public Builder mergeFrom( bitField0_ |= 0x00000008; break; } // case 74 + case 80: + { + satisfiesPzs_ = input.readBool(); + bitField0_ |= 0x00000100; + break; + } // case 80 + case 88: + { + satisfiesPzi_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 88 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2715,6 +2849,166 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return updateTimeBuilder_; } + private boolean satisfiesPzs_; + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the index endpoint is a valid zone separated index endpoint and false
    +     * if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzs field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzs() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the index endpoint is a valid zone separated index endpoint and false
    +     * if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzs. + */ + @java.lang.Override + public boolean getSatisfiesPzs() { + return satisfiesPzs_; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the index endpoint is a valid zone separated index endpoint and false
    +     * if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The satisfiesPzs to set. + * @return This builder for chaining. + */ + public Builder setSatisfiesPzs(boolean value) { + + satisfiesPzs_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Separation enabled via an Org Policy constraint. It is set to true
    +     * when the index endpoint is a valid zone separated index endpoint and false
    +     * if it isn't.
    +     * 
    + * + * optional bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearSatisfiesPzs() { + bitField0_ = (bitField0_ & ~0x00000100); + satisfiesPzs_ = false; + onChanged(); + return this; + } + + private boolean satisfiesPzi_; + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the index endpoint is a valid zone isolated index endpoint and false if it
    +     * isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzi field is set. + */ + @java.lang.Override + public boolean hasSatisfiesPzi() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the index endpoint is a valid zone isolated index endpoint and false if it
    +     * isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzi. + */ + @java.lang.Override + public boolean getSatisfiesPzi() { + return satisfiesPzi_; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the index endpoint is a valid zone isolated index endpoint and false if it
    +     * isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The satisfiesPzi to set. + * @return This builder for chaining. + */ + public Builder setSatisfiesPzi(boolean value) { + + satisfiesPzi_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
    +     * Output only. This boolean field is only set for projects that have Physical
    +     * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +     * the index endpoint is a valid zone isolated index endpoint and false if it
    +     * isn't.
    +     * 
    + * + * optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearSatisfiesPzi() { + bitField0_ = (bitField0_ & ~0x00000200); + satisfiesPzi_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexEndpointOrBuilder.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexEndpointOrBuilder.java index 9b8be5406543..f23d0efb5147 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexEndpointOrBuilder.java +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexEndpointOrBuilder.java @@ -395,4 +395,66 @@ java.lang.String getLabelsOrDefault( *
    */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the index endpoint is a valid zone separated index endpoint and false
    +   * if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzs field is set. + */ + boolean hasSatisfiesPzs(); + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the index endpoint is a valid zone separated index endpoint and false
    +   * if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzs. + */ + boolean getSatisfiesPzs(); + + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the index endpoint is a valid zone isolated index endpoint and false if it
    +   * isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzi field is set. + */ + boolean hasSatisfiesPzi(); + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the index endpoint is a valid zone isolated index endpoint and false if it
    +   * isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzi. + */ + boolean getSatisfiesPzi(); } diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexOrBuilder.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexOrBuilder.java index 3b9bf629c0d3..3fe96ce43cff 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexOrBuilder.java +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexOrBuilder.java @@ -306,5 +306,63 @@ public interface IndexOrBuilder com.google.cloud.visionai.v1.DeployedIndexReferenceOrBuilder getDeployedIndexesOrBuilder( int index); + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the index is a valid zone separated index and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzs field is set. + */ + boolean hasSatisfiesPzs(); + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Separation enabled via an Org Policy constraint. It is set to true
    +   * when the index is a valid zone separated index and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzs. + */ + boolean getSatisfiesPzs(); + + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the index is a valid zone isolated index and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the satisfiesPzi field is set. + */ + boolean hasSatisfiesPzi(); + /** + * + * + *
    +   * Output only. This boolean field is only set for projects that have Physical
    +   * Zone Isolation enabled via an Org Policy constraint. It is set to true when
    +   * the index is a valid zone isolated index and false if it isn't.
    +   * 
    + * + * optional bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The satisfiesPzi. + */ + boolean getSatisfiesPzi(); + com.google.cloud.visionai.v1.Index.AssetFilterCase getAssetFilterCase(); } diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItem.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItem.java index a3e424cdd0e6..c5b8792635e6 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItem.java +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItem.java @@ -271,10 +271,13 @@ public com.google.cloud.visionai.v1.Partition.TemporalPartitionOrBuilder getSegm * * *
    -   * Relevance of this `SearchResultItem` to user search request.
    -   * Currently available only in Image Warehouse, and by default represents
    -   * cosine similarity.  In the future can be other measures such as "dot
    -   * product" or "topicality" requested in the search request.
    +   * Available to IMAGE corpus types.
    +   * Relevance of this `SearchResultItem` to user search query (text query or
    +   * image query).
    +   * By default this represents cosine similarity between the query and the
    +   * retrieved media content. The value is in the range of [-1, 1].
    +   * Note that search ranking is not only decided by this relevance score,
    +   * but also other factors such as the match of annotations.
        * 
    * * double relevance = 6; @@ -1827,10 +1830,13 @@ public com.google.cloud.visionai.v1.Partition.TemporalPartitionOrBuilder getSegm * * *
    -     * Relevance of this `SearchResultItem` to user search request.
    -     * Currently available only in Image Warehouse, and by default represents
    -     * cosine similarity.  In the future can be other measures such as "dot
    -     * product" or "topicality" requested in the search request.
    +     * Available to IMAGE corpus types.
    +     * Relevance of this `SearchResultItem` to user search query (text query or
    +     * image query).
    +     * By default this represents cosine similarity between the query and the
    +     * retrieved media content. The value is in the range of [-1, 1].
    +     * Note that search ranking is not only decided by this relevance score,
    +     * but also other factors such as the match of annotations.
          * 
    * * double relevance = 6; @@ -1845,10 +1851,13 @@ public double getRelevance() { * * *
    -     * Relevance of this `SearchResultItem` to user search request.
    -     * Currently available only in Image Warehouse, and by default represents
    -     * cosine similarity.  In the future can be other measures such as "dot
    -     * product" or "topicality" requested in the search request.
    +     * Available to IMAGE corpus types.
    +     * Relevance of this `SearchResultItem` to user search query (text query or
    +     * image query).
    +     * By default this represents cosine similarity between the query and the
    +     * retrieved media content. The value is in the range of [-1, 1].
    +     * Note that search ranking is not only decided by this relevance score,
    +     * but also other factors such as the match of annotations.
          * 
    * * double relevance = 6; @@ -1867,10 +1876,13 @@ public Builder setRelevance(double value) { * * *
    -     * Relevance of this `SearchResultItem` to user search request.
    -     * Currently available only in Image Warehouse, and by default represents
    -     * cosine similarity.  In the future can be other measures such as "dot
    -     * product" or "topicality" requested in the search request.
    +     * Available to IMAGE corpus types.
    +     * Relevance of this `SearchResultItem` to user search query (text query or
    +     * image query).
    +     * By default this represents cosine similarity between the query and the
    +     * retrieved media content. The value is in the range of [-1, 1].
    +     * Note that search ranking is not only decided by this relevance score,
    +     * but also other factors such as the match of annotations.
          * 
    * * double relevance = 6; diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItemOrBuilder.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItemOrBuilder.java index 5f8476cc0d51..8a2a43783ec4 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItemOrBuilder.java +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItemOrBuilder.java @@ -164,10 +164,13 @@ public interface SearchResultItemOrBuilder * * *
    -   * Relevance of this `SearchResultItem` to user search request.
    -   * Currently available only in Image Warehouse, and by default represents
    -   * cosine similarity.  In the future can be other measures such as "dot
    -   * product" or "topicality" requested in the search request.
    +   * Available to IMAGE corpus types.
    +   * Relevance of this `SearchResultItem` to user search query (text query or
    +   * image query).
    +   * By default this represents cosine similarity between the query and the
    +   * retrieved media content. The value is in the range of [-1, 1].
    +   * Note that search ranking is not only decided by this relevance score,
    +   * but also other factors such as the match of annotations.
        * 
    * * double relevance = 6; diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/WarehouseProto.java b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/WarehouseProto.java index 0471a9f09ee6..0f5081ee627c 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/WarehouseProto.java +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/WarehouseProto.java @@ -420,6 +420,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_visionai_v1_ImportAssetsMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_visionai_v1_ImportAssetsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_visionai_v1_BatchOperationStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_visionai_v1_BatchOperationStatus_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_visionai_v1_ImportAssetsResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -921,7 +925,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ai.v1.Index\022\027\n\017next_page_token\030\002 \001(\t\"I\n\022" + "DeleteIndexRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037" + "\n\035visionai.googleapis.com/Index\"\025\n\023Delet" - + "eIndexMetadata\"\256\004\n\005Index\022\027\n\rentire_corpu" + + "eIndexMetadata\"\224\005\n\005Index\022\027\n\rentire_corpu" + "s\030\t \001(\010H\000\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_" + "name\030\002 \001(\tB\003\340A\001\022\030\n\013description\030\003 \001(\tB\003\340A" + "\001\0229\n\005state\030\004 \001(\0162%.google.cloud.visionai" @@ -930,791 +934,802 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "date_time\030\006 \001(\0132\032.google.protobuf.Timest" + "ampB\003\340A\003\022O\n\020deployed_indexes\030\010 \003(\01320.goo" + "gle.cloud.visionai.v1.DeployedIndexRefer" - + "enceB\003\340A\003\"G\n\005State\022\025\n\021STATE_UNSPECIFIED\020" - + "\000\022\014\n\010CREATING\020\001\022\013\n\007CREATED\020\002\022\014\n\010UPDATING" - + "\020\003:s\352Ap\n\035visionai.googleapis.com/Index\022O" - + "projects/{project_number}/locations/{loc" - + "ation}/corpora/{corpus}/indexes/{index}B" - + "\016\n\014asset_filter\"_\n\026DeployedIndexReferenc" - + "e\022E\n\016index_endpoint\030\001 \001(\tB-\340A\005\372A\'\n%visio" - + "nai.googleapis.com/IndexEndpoint\"\306\003\n\006Cor" - + "pus\022\014\n\004name\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB" - + "\003\340A\002\022\030\n\013description\030\003 \001(\tB\003\340A\001\0223\n\013defaul" - + "t_ttl\030\005 \001(\0132\031.google.protobuf.DurationB\003" - + "\340A\001\0228\n\004type\030\007 \001(\0162%.google.cloud.visiona" - + "i.v1.Corpus.TypeB\003\340A\001\022T\n\031search_capabili" - + "ty_setting\030\010 \001(\01321.google.cloud.visionai" - + ".v1.SearchCapabilitySetting\"N\n\004Type\022\024\n\020T" - + "YPE_UNSPECIFIED\020\000\022\020\n\014STREAM_VIDEO\020\001\022\t\n\005I" - + "MAGE\020\002\022\023\n\017VIDEO_ON_DEMAND\020\003:d\352Aa\n\036vision" - + "ai.googleapis.com/Corpus\022?projects/{proj" + + "enceB\003\340A\003\022\037\n\rsatisfies_pzs\030\013 \001(\010B\003\340A\003H\001\210" + + "\001\001\022\037\n\rsatisfies_pzi\030\014 \001(\010B\003\340A\003H\002\210\001\001\"G\n\005S" + + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020" + + "\001\022\013\n\007CREATED\020\002\022\014\n\010UPDATING\020\003:s\352Ap\n\035visio" + + "nai.googleapis.com/Index\022Oprojects/{proj" + "ect_number}/locations/{location}/corpora" - + "/{corpus}\"H\n\020GetCorpusRequest\0224\n\004name\030\001 " + + "/{corpus}/indexes/{index}B\016\n\014asset_filte" + + "rB\020\n\016_satisfies_pzsB\020\n\016_satisfies_pzi\"_\n" + + "\026DeployedIndexReference\022E\n\016index_endpoin" + + "t\030\001 \001(\tB-\340A\005\372A\'\n%visionai.googleapis.com" + + "/IndexEndpoint\"\254\004\n\006Corpus\022\014\n\004name\030\001 \001(\t\022" + + "\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013descriptio" + + "n\030\003 \001(\tB\003\340A\001\0223\n\013default_ttl\030\005 \001(\0132\031.goog" + + "le.protobuf.DurationB\003\340A\001\0228\n\004type\030\007 \001(\0162" + + "%.google.cloud.visionai.v1.Corpus.TypeB\003" + + "\340A\001\022T\n\031search_capability_setting\030\010 \001(\01321" + + ".google.cloud.visionai.v1.SearchCapabili" + + "tySetting\022\037\n\rsatisfies_pzs\030\013 \001(\010B\003\340A\003H\000\210" + + "\001\001\022\037\n\rsatisfies_pzi\030\014 \001(\010B\003\340A\003H\001\210\001\001\"N\n\004T" + + "ype\022\024\n\020TYPE_UNSPECIFIED\020\000\022\020\n\014STREAM_VIDE" + + "O\020\001\022\t\n\005IMAGE\020\002\022\023\n\017VIDEO_ON_DEMAND\020\003:d\352Aa" + + "\n\036visionai.googleapis.com/Corpus\022?projec" + + "ts/{project_number}/locations/{location}" + + "/corpora/{corpus}B\020\n\016_satisfies_pzsB\020\n\016_" + + "satisfies_pzi\"H\n\020GetCorpusRequest\0224\n\004nam" + + "e\030\001 \001(\tB&\340A\002\372A \n\036visionai.googleapis.com" + + "/Corpus\"}\n\023UpdateCorpusRequest\0225\n\006corpus" + + "\030\001 \001(\0132 .google.cloud.visionai.v1.Corpus" + + "B\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.prot" + + "obuf.FieldMask\"`\n\022ListCorporaRequest\022\023\n\006" + + "parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" + + "page_token\030\003 \001(\t\022\016\n\006filter\030\005 \001(\t\"a\n\023List" + + "CorporaResponse\0221\n\007corpora\030\001 \003(\0132 .googl" + + "e.cloud.visionai.v1.Corpus\022\027\n\017next_page_" + + "token\030\002 \001(\t\"K\n\023DeleteCorpusRequest\0224\n\004na" + + "me\030\001 \001(\tB&\340A\002\372A \n\036visionai.googleapis.co" + + "m/Corpus\"L\n\024AnalyzeCorpusRequest\0224\n\004name" + + "\030\001 \001(\tB&\340A\002\372A \n\036visionai.googleapis.com/" + + "Corpus\"V\n\025AnalyzeCorpusMetadata\022=\n\010metad" + + "ata\030\001 \001(\0132+.google.cloud.visionai.v1.Ope" + + "rationMetadata\"\027\n\025AnalyzeCorpusResponse\"" + + "\221\001\n\027CreateDataSchemaRequest\0226\n\006parent\030\001 " + "\001(\tB&\340A\002\372A \n\036visionai.googleapis.com/Cor" - + "pus\"}\n\023UpdateCorpusRequest\0225\n\006corpus\030\001 \001" - + "(\0132 .google.cloud.visionai.v1.CorpusB\003\340A" - + "\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" - + ".FieldMask\"`\n\022ListCorporaRequest\022\023\n\006pare" - + "nt\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" - + "_token\030\003 \001(\t\022\016\n\006filter\030\005 \001(\t\"a\n\023ListCorp" - + "oraResponse\0221\n\007corpora\030\001 \003(\0132 .google.cl" - + "oud.visionai.v1.Corpus\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"K\n\023DeleteCorpusRequest\0224\n\004name\030\001" - + " \001(\tB&\340A\002\372A \n\036visionai.googleapis.com/Co" - + "rpus\"L\n\024AnalyzeCorpusRequest\0224\n\004name\030\001 \001" - + "(\tB&\340A\002\372A \n\036visionai.googleapis.com/Corp" - + "us\"V\n\025AnalyzeCorpusMetadata\022=\n\010metadata\030" - + "\001 \001(\0132+.google.cloud.visionai.v1.Operati" - + "onMetadata\"\027\n\025AnalyzeCorpusResponse\"\221\001\n\027" - + "CreateDataSchemaRequest\0226\n\006parent\030\001 \001(\tB" - + "&\340A\002\372A \n\036visionai.googleapis.com/Corpus\022" - + ">\n\013data_schema\030\002 \001(\0132$.google.cloud.visi" - + "onai.v1.DataSchemaB\003\340A\002\"\366\001\n\nDataSchema\022\014" - + "\n\004name\030\001 \001(\t\022\020\n\003key\030\002 \001(\tB\003\340A\002\022C\n\016schema" - + "_details\030\003 \001(\0132+.google.cloud.visionai.v" - + "1.DataSchemaDetails:\202\001\352A\177\n\"visionai.goog" - + "leapis.com/DataSchema\022Yprojects/{project" - + "_number}/locations/{location}/corpora/{c" - + "orpus}/dataSchemas/{data_schema}\"\324\014\n\021Dat" - + "aSchemaDetails\022G\n\004type\030\001 \001(\01624.google.cl" - + "oud.visionai.v1.DataSchemaDetails.DataTy" - + "peH\000\210\001\001\022T\n\020proto_any_config\030\006 \001(\0132:.goog" - + "le.cloud.visionai.v1.DataSchemaDetails.P" - + "rotoAnyConfig\022K\n\013list_config\030\010 \001(\01326.goo" - + "gle.cloud.visionai.v1.DataSchemaDetails." - + "ListConfig\022d\n\030customized_struct_config\030\t" - + " \001(\0132B.google.cloud.visionai.v1.DataSche" - + "maDetails.CustomizedStructConfig\022Q\n\013gran" - + "ularity\030\005 \001(\01627.google.cloud.visionai.v1" - + ".DataSchemaDetails.GranularityH\001\210\001\001\022S\n\017s" - + "earch_strategy\030\007 \001(\0132:.google.cloud.visi" - + "onai.v1.DataSchemaDetails.SearchStrategy" - + "\032\"\n\016ProtoAnyConfig\022\020\n\010type_uri\030\001 \001(\t\032O\n\n" - + "ListConfig\022A\n\014value_schema\030\001 \001(\0132+.googl" - + "e.cloud.visionai.v1.DataSchemaDetails\032\347\001" - + "\n\026CustomizedStructConfig\022k\n\rfield_schema" - + "s\030\001 \003(\0132T.google.cloud.visionai.v1.DataS" - + "chemaDetails.CustomizedStructConfig.Fiel" - + "dSchemasEntry\032`\n\021FieldSchemasEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.google.cloud.vi" - + "sionai.v1.DataSchemaDetails:\0028\001\032\267\003\n\016Sear" - + "chStrategy\022p\n\024search_strategy_type\030\001 \001(\016" - + "2M.google.cloud.visionai.v1.DataSchemaDe" - + "tails.SearchStrategy.SearchStrategyTypeH" - + "\000\210\001\001\022\201\001\n\035confidence_score_index_config\030\002" - + " \001(\0132U.google.cloud.visionai.v1.DataSche" - + "maDetails.SearchStrategy.ConfidenceScore" - + "IndexConfigB\003\340A\001\032M\n\032ConfidenceScoreIndex" - + "Config\022\027\n\nfield_path\030\001 \001(\tB\003\340A\002\022\026\n\tthres" - + "hold\030\002 \001(\002B\003\340A\002\"G\n\022SearchStrategyType\022\r\n" - + "\tNO_SEARCH\020\000\022\020\n\014EXACT_SEARCH\020\001\022\020\n\014SMART_" - + "SEARCH\020\002B\027\n\025_search_strategy_type\"\250\001\n\010Da" - + "taType\022\031\n\025DATA_TYPE_UNSPECIFIED\020\000\022\013\n\007INT" - + "EGER\020\001\022\t\n\005FLOAT\020\002\022\n\n\006STRING\020\003\022\014\n\010DATETIM" - + "E\020\005\022\022\n\016GEO_COORDINATE\020\007\022\r\n\tPROTO_ANY\020\010\022\013" - + "\n\007BOOLEAN\020\t\022\010\n\004LIST\020\n\022\025\n\021CUSTOMIZED_STRU" - + "CT\020\006\"h\n\013Granularity\022\033\n\027GRANULARITY_UNSPE" - + "CIFIED\020\000\022\033\n\027GRANULARITY_ASSET_LEVEL\020\001\022\037\n" - + "\033GRANULARITY_PARTITION_LEVEL\020\002B\007\n\005_typeB" - + "\016\n\014_granularity\"\212\001\n\027UpdateDataSchemaRequ" - + "est\022>\n\013data_schema\030\001 \001(\0132$.google.cloud." - + "visionai.v1.DataSchemaB\003\340A\002\022/\n\013update_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"P\n\024" - + "GetDataSchemaRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372" - + "A$\n\"visionai.googleapis.com/DataSchema\"S" - + "\n\027DeleteDataSchemaRequest\0228\n\004name\030\001 \001(\tB" - + "*\340A\002\372A$\n\"visionai.googleapis.com/DataSch" - + "ema\"{\n\026ListDataSchemasRequest\022:\n\006parent\030" - + "\001 \001(\tB*\340A\002\372A$\022\"visionai.googleapis.com/D" - + "ataSchema\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" - + "en\030\003 \001(\t\"n\n\027ListDataSchemasResponse\022:\n\014d" - + "ata_schemas\030\001 \003(\0132$.google.cloud.visiona" - + "i.v1.DataSchema\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\302\001\n\027CreateAnnotationRequest\0225\n\006parent\030\001" - + " \001(\tB%\340A\002\372A\037\n\035visionai.googleapis.com/As" - + "set\022=\n\nannotation\030\002 \001(\0132$.google.cloud.v" - + "isionai.v1.AnnotationB\003\340A\002\022\037\n\rannotation" - + "_id\030\003 \001(\tB\003\340A\001H\000\210\001\001B\020\n\016_annotation_id\"\204\002" - + "\n\nAnnotation\022\014\n\004name\030\001 \001(\t\022T\n\031user_speci" - + "fied_annotation\030\002 \001(\01321.google.cloud.vis" - + "ionai.v1.UserSpecifiedAnnotation:\221\001\352A\215\001\n" - + "\"visionai.googleapis.com/Annotation\022gpro" - + "jects/{project_number}/locations/{locati" - + "on}/corpora/{corpus}/assets/{asset}/anno" - + "tations/{annotation}\"\235\001\n\027UserSpecifiedAn" - + "notation\022\020\n\003key\030\001 \001(\tB\003\340A\002\0228\n\005value\030\002 \001(" - + "\0132).google.cloud.visionai.v1.AnnotationV" - + "alue\0226\n\tpartition\030\003 \001(\0132#.google.cloud.v" - + "isionai.v1.Partition\"4\n\rGeoCoordinate\022\020\n" - + "\010latitude\030\001 \001(\001\022\021\n\tlongitude\030\002 \001(\001\"\331\003\n\017A" - + "nnotationValue\022\023\n\tint_value\030\001 \001(\003H\000\022\025\n\013f" - + "loat_value\030\002 \001(\002H\000\022\023\n\tstr_value\030\003 \001(\tH\000\022" - + "\030\n\016datetime_value\030\005 \001(\tH\000\022A\n\016geo_coordin" - + "ate\030\007 \001(\0132\'.google.cloud.visionai.v1.Geo" - + "CoordinateH\000\022/\n\017proto_any_value\030\010 \001(\0132\024." - + "google.protobuf.AnyH\000\022\024\n\nbool_value\030\t \001(" - + "\010H\000\022?\n\034customized_struct_data_value\030\n \001(" - + "\0132\027.google.protobuf.StructH\000\022>\n\nlist_val" - + "ue\030\013 \001(\0132(.google.cloud.visionai.v1.Anno" - + "tationListH\000\022W\n\027customized_struct_value\030" - + "\006 \001(\01324.google.cloud.visionai.v1.Annotat" - + "ionCustomizedStructH\000B\007\n\005value\"K\n\016Annota" - + "tionList\0229\n\006values\030\001 \003(\0132).google.cloud." - + "visionai.v1.AnnotationValue\"\316\001\n\032Annotati" - + "onCustomizedStruct\022T\n\010elements\030\002 \003(\0132B.g" - + "oogle.cloud.visionai.v1.AnnotationCustom" - + "izedStruct.ElementsEntry\032Z\n\rElementsEntr" - + "y\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).google.c" - + "loud.visionai.v1.AnnotationValue:\0028\001\"\203\001\n" - + "\026ListAnnotationsRequest\0222\n\006parent\030\001 \001(\tB" - + "\"\372A\037\n\035visionai.googleapis.com/Asset\022\021\n\tp" - + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006fi" - + "lter\030\004 \001(\t\"m\n\027ListAnnotationsResponse\0229\n" - + "\013annotations\030\001 \003(\0132$.google.cloud.vision" - + "ai.v1.Annotation\022\027\n\017next_page_token\030\002 \001(" - + "\t\"P\n\024GetAnnotationRequest\0228\n\004name\030\001 \001(\tB" - + "*\340A\002\372A$\n\"visionai.googleapis.com/Annotat" - + "ion\"\211\001\n\027UpdateAnnotationRequest\022=\n\nannot" - + "ation\030\001 \001(\0132$.google.cloud.visionai.v1.A" - + "nnotationB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" - + "ogle.protobuf.FieldMask\"S\n\027DeleteAnnotat" - + "ionRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"vision" - + "ai.googleapis.com/Annotation\"q\n\023ImportAs" - + "setsRequest\022\030\n\016assets_gcs_uri\030\002 \001(\tH\000\0226\n" - + "\006parent\030\001 \001(\tB&\340A\002\372A \n\036visionai.googleap" - + "is.com/CorpusB\010\n\006source\"U\n\024ImportAssetsM" - + "etadata\022=\n\010metadata\030\001 \001(\0132+.google.cloud" - + ".visionai.v1.OperationMetadata\"\026\n\024Import" - + "AssetsResponse\"\274\001\n\031CreateSearchConfigReq" - + "uest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$visionai.g" - + "oogleapis.com/SearchConfig\022B\n\rsearch_con" - + "fig\030\002 \001(\0132&.google.cloud.visionai.v1.Sea" - + "rchConfigB\003\340A\002\022\035\n\020search_config_id\030\003 \001(\t" - + "B\003\340A\002\"\220\001\n\031UpdateSearchConfigRequest\022B\n\rs" - + "earch_config\030\001 \001(\0132&.google.cloud.vision" - + "ai.v1.SearchConfigB\003\340A\002\022/\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMask\"T\n\026GetS" - + "earchConfigRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&" - + "\n$visionai.googleapis.com/SearchConfig\"W" - + "\n\031DeleteSearchConfigRequest\022:\n\004name\030\001 \001(" - + "\tB,\340A\002\372A&\n$visionai.googleapis.com/Searc" - + "hConfig\"\177\n\030ListSearchConfigsRequest\022<\n\006p" - + "arent\030\001 \001(\tB,\340A\002\372A&\022$visionai.googleapis" - + ".com/SearchConfig\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"t\n\031ListSearchConfigsRes" - + "ponse\022>\n\016search_configs\030\001 \003(\0132&.google.c" - + "loud.visionai.v1.SearchConfig\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\"\275\002\n\014SearchConfig\022\014\n\004name\030" - + "\001 \001(\t\022?\n\016facet_property\030\002 \001(\0132\'.google.c" - + "loud.visionai.v1.FacetProperty\022R\n\030search" - + "_criteria_property\030\003 \001(\01320.google.cloud." - + "visionai.v1.SearchCriteriaProperty:\211\001\352A\205" - + "\001\n$visionai.googleapis.com/SearchConfig\022" - + "]projects/{project_number}/locations/{lo" - + "cation}/corpora/{corpus}/searchConfigs/{" - + "search_config}\"\217\005\n\rIndexEndpoint\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\001\022\030" - + "\n\013description\030\003 \001(\tB\003\340A\001\022D\n\016deployed_ind" - + "ex\030\t \001(\0132\'.google.cloud.visionai.v1.Depl" - + "oyedIndexB\003\340A\003\022A\n\005state\030\005 \001(\0162-.google.c" - + "loud.visionai.v1.IndexEndpoint.StateB\003\340A" - + "\003\022H\n\006labels\030\006 \003(\01323.google.cloud.visiona" - + "i.v1.IndexEndpoint.LabelsEntryB\003\340A\001\0224\n\013c" - + "reate_time\030\007 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\032-\n\013LabelsEntry\022\013" - + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"S\n\005State\022" - + "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007" - + "CREATED\020\002\022\014\n\010UPDATING\020\003\022\n\n\006FAILED\020\004:s\352Ap" - + "\n%visionai.googleapis.com/IndexEndpoint\022" - + "Gprojects/{project}/locations/{location}" - + "/indexEndpoints/{index_endpoint}\"\275\001\n\032Cre" - + "ateIndexEndpointRequest\0229\n\006parent\030\001 \001(\tB" - + ")\340A\002\372A#\n!locations.googleapis.com/Locati" - + "on\022\036\n\021index_endpoint_id\030\002 \001(\tB\003\340A\001\022D\n\016in" - + "dex_endpoint\030\003 \001(\0132\'.google.cloud.vision" - + "ai.v1.IndexEndpointB\003\340A\002\"f\n\033CreateIndexE" - + "ndpointMetadata\022G\n\022operation_metadata\030\001 " - + "\001(\0132+.google.cloud.visionai.v1.Operation" - + "Metadata\"V\n\027GetIndexEndpointRequest\022;\n\004n", - "ame\030\001 \001(\tB-\340A\002\372A\'\n%visionai.googleapis.c" - + "om/IndexEndpoint\"\234\001\n\031ListIndexEndpointsR" - + "equest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!location" - + "s.googleapis.com/Location\022\026\n\tpage_size\030\002" - + " \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\023\n\006fi" - + "lter\030\004 \001(\tB\003\340A\001\"w\n\032ListIndexEndpointsRes" - + "ponse\022@\n\017index_endpoints\030\001 \003(\0132\'.google." - + "cloud.visionai.v1.IndexEndpoint\022\027\n\017next_" - + "page_token\030\002 \001(\t\"\230\001\n\032UpdateIndexEndpoint" - + "Request\022D\n\016index_endpoint\030\001 \001(\0132\'.google" - + ".cloud.visionai.v1.IndexEndpointB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" - + "ldMaskB\003\340A\002\"f\n\033UpdateIndexEndpointMetada" - + "ta\022G\n\022operation_metadata\030\001 \001(\0132+.google." - + "cloud.visionai.v1.OperationMetadata\"Y\n\032D" - + "eleteIndexEndpointRequest\022;\n\004name\030\001 \001(\tB" - + "-\340A\002\372A\'\n%visionai.googleapis.com/IndexEn" - + "dpoint\"f\n\033DeleteIndexEndpointMetadata\022G\n" - + "\022operation_metadata\030\001 \001(\0132+.google.cloud" - + ".visionai.v1.OperationMetadata\"\241\001\n\022Deplo" - + "yIndexRequest\022E\n\016index_endpoint\030\001 \001(\tB-\340" - + "A\002\372A\'\n%visionai.googleapis.com/IndexEndp" - + "oint\022D\n\016deployed_index\030\003 \001(\0132\'.google.cl" - + "oud.visionai.v1.DeployedIndexB\003\340A\002\"\025\n\023De" - + "ployIndexResponse\"\235\001\n\023DeployIndexMetadat" - + "a\022G\n\022operation_metadata\030\001 \001(\0132+.google.c" - + "loud.visionai.v1.OperationMetadata\022=\n\016de" - + "ployed_index\030\002 \001(\tB%\340A\003\372A\037\n\035visionai.goo" - + "gleapis.com/Index\"\237\001\n\025UndeployIndexMetad" + + "pus\022>\n\013data_schema\030\002 \001(\0132$.google.cloud." + + "visionai.v1.DataSchemaB\003\340A\002\"\366\001\n\nDataSche" + + "ma\022\014\n\004name\030\001 \001(\t\022\020\n\003key\030\002 \001(\tB\003\340A\002\022C\n\016sc" + + "hema_details\030\003 \001(\0132+.google.cloud.vision" + + "ai.v1.DataSchemaDetails:\202\001\352A\177\n\"visionai." + + "googleapis.com/DataSchema\022Yprojects/{pro" + + "ject_number}/locations/{location}/corpor" + + "a/{corpus}/dataSchemas/{data_schema}\"\324\014\n" + + "\021DataSchemaDetails\022G\n\004type\030\001 \001(\01624.googl" + + "e.cloud.visionai.v1.DataSchemaDetails.Da" + + "taTypeH\000\210\001\001\022T\n\020proto_any_config\030\006 \001(\0132:." + + "google.cloud.visionai.v1.DataSchemaDetai" + + "ls.ProtoAnyConfig\022K\n\013list_config\030\010 \001(\01326" + + ".google.cloud.visionai.v1.DataSchemaDeta" + + "ils.ListConfig\022d\n\030customized_struct_conf" + + "ig\030\t \001(\0132B.google.cloud.visionai.v1.Data" + + "SchemaDetails.CustomizedStructConfig\022Q\n\013" + + "granularity\030\005 \001(\01627.google.cloud.visiona" + + "i.v1.DataSchemaDetails.GranularityH\001\210\001\001\022" + + "S\n\017search_strategy\030\007 \001(\0132:.google.cloud." + + "visionai.v1.DataSchemaDetails.SearchStra" + + "tegy\032\"\n\016ProtoAnyConfig\022\020\n\010type_uri\030\001 \001(\t" + + "\032O\n\nListConfig\022A\n\014value_schema\030\001 \001(\0132+.g" + + "oogle.cloud.visionai.v1.DataSchemaDetail" + + "s\032\347\001\n\026CustomizedStructConfig\022k\n\rfield_sc" + + "hemas\030\001 \003(\0132T.google.cloud.visionai.v1.D" + + "ataSchemaDetails.CustomizedStructConfig." + + "FieldSchemasEntry\032`\n\021FieldSchemasEntry\022\013" + + "\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.google.clou" + + "d.visionai.v1.DataSchemaDetails:\0028\001\032\267\003\n\016" + + "SearchStrategy\022p\n\024search_strategy_type\030\001" + + " \001(\0162M.google.cloud.visionai.v1.DataSche" + + "maDetails.SearchStrategy.SearchStrategyT" + + "ypeH\000\210\001\001\022\201\001\n\035confidence_score_index_conf" + + "ig\030\002 \001(\0132U.google.cloud.visionai.v1.Data" + + "SchemaDetails.SearchStrategy.ConfidenceS" + + "coreIndexConfigB\003\340A\001\032M\n\032ConfidenceScoreI" + + "ndexConfig\022\027\n\nfield_path\030\001 \001(\tB\003\340A\002\022\026\n\tt" + + "hreshold\030\002 \001(\002B\003\340A\002\"G\n\022SearchStrategyTyp" + + "e\022\r\n\tNO_SEARCH\020\000\022\020\n\014EXACT_SEARCH\020\001\022\020\n\014SM" + + "ART_SEARCH\020\002B\027\n\025_search_strategy_type\"\250\001" + + "\n\010DataType\022\031\n\025DATA_TYPE_UNSPECIFIED\020\000\022\013\n" + + "\007INTEGER\020\001\022\t\n\005FLOAT\020\002\022\n\n\006STRING\020\003\022\014\n\010DAT" + + "ETIME\020\005\022\022\n\016GEO_COORDINATE\020\007\022\r\n\tPROTO_ANY" + + "\020\010\022\013\n\007BOOLEAN\020\t\022\010\n\004LIST\020\n\022\025\n\021CUSTOMIZED_" + + "STRUCT\020\006\"h\n\013Granularity\022\033\n\027GRANULARITY_U" + + "NSPECIFIED\020\000\022\033\n\027GRANULARITY_ASSET_LEVEL\020" + + "\001\022\037\n\033GRANULARITY_PARTITION_LEVEL\020\002B\007\n\005_t" + + "ypeB\016\n\014_granularity\"\212\001\n\027UpdateDataSchema" + + "Request\022>\n\013data_schema\030\001 \001(\0132$.google.cl" + + "oud.visionai.v1.DataSchemaB\003\340A\002\022/\n\013updat" + + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + + "\"P\n\024GetDataSchemaRequest\0228\n\004name\030\001 \001(\tB*" + + "\340A\002\372A$\n\"visionai.googleapis.com/DataSche" + + "ma\"S\n\027DeleteDataSchemaRequest\0228\n\004name\030\001 " + + "\001(\tB*\340A\002\372A$\n\"visionai.googleapis.com/Dat" + + "aSchema\"{\n\026ListDataSchemasRequest\022:\n\006par" + + "ent\030\001 \001(\tB*\340A\002\372A$\022\"visionai.googleapis.c" + + "om/DataSchema\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\"n\n\027ListDataSchemasResponse\022" + + ":\n\014data_schemas\030\001 \003(\0132$.google.cloud.vis" + + "ionai.v1.DataSchema\022\027\n\017next_page_token\030\002" + + " \001(\t\"\302\001\n\027CreateAnnotationRequest\0225\n\006pare" + + "nt\030\001 \001(\tB%\340A\002\372A\037\n\035visionai.googleapis.co" + + "m/Asset\022=\n\nannotation\030\002 \001(\0132$.google.clo" + + "ud.visionai.v1.AnnotationB\003\340A\002\022\037\n\rannota" + + "tion_id\030\003 \001(\tB\003\340A\001H\000\210\001\001B\020\n\016_annotation_i" + + "d\"\204\002\n\nAnnotation\022\014\n\004name\030\001 \001(\t\022T\n\031user_s" + + "pecified_annotation\030\002 \001(\01321.google.cloud" + + ".visionai.v1.UserSpecifiedAnnotation:\221\001\352" + + "A\215\001\n\"visionai.googleapis.com/Annotation\022" + + "gprojects/{project_number}/locations/{lo" + + "cation}/corpora/{corpus}/assets/{asset}/" + + "annotations/{annotation}\"\235\001\n\027UserSpecifi" + + "edAnnotation\022\020\n\003key\030\001 \001(\tB\003\340A\002\0228\n\005value\030" + + "\002 \001(\0132).google.cloud.visionai.v1.Annotat" + + "ionValue\0226\n\tpartition\030\003 \001(\0132#.google.clo" + + "ud.visionai.v1.Partition\"4\n\rGeoCoordinat" + + "e\022\020\n\010latitude\030\001 \001(\001\022\021\n\tlongitude\030\002 \001(\001\"\331" + + "\003\n\017AnnotationValue\022\023\n\tint_value\030\001 \001(\003H\000\022" + + "\025\n\013float_value\030\002 \001(\002H\000\022\023\n\tstr_value\030\003 \001(" + + "\tH\000\022\030\n\016datetime_value\030\005 \001(\tH\000\022A\n\016geo_coo" + + "rdinate\030\007 \001(\0132\'.google.cloud.visionai.v1" + + ".GeoCoordinateH\000\022/\n\017proto_any_value\030\010 \001(" + + "\0132\024.google.protobuf.AnyH\000\022\024\n\nbool_value\030" + + "\t \001(\010H\000\022?\n\034customized_struct_data_value\030" + + "\n \001(\0132\027.google.protobuf.StructH\000\022>\n\nlist" + + "_value\030\013 \001(\0132(.google.cloud.visionai.v1." + + "AnnotationListH\000\022W\n\027customized_struct_va" + + "lue\030\006 \001(\01324.google.cloud.visionai.v1.Ann" + + "otationCustomizedStructH\000B\007\n\005value\"K\n\016An" + + "notationList\0229\n\006values\030\001 \003(\0132).google.cl" + + "oud.visionai.v1.AnnotationValue\"\316\001\n\032Anno" + + "tationCustomizedStruct\022T\n\010elements\030\002 \003(\013" + + "2B.google.cloud.visionai.v1.AnnotationCu" + + "stomizedStruct.ElementsEntry\032Z\n\rElements" + + "Entry\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).goog" + + "le.cloud.visionai.v1.AnnotationValue:\0028\001" + + "\"\203\001\n\026ListAnnotationsRequest\0222\n\006parent\030\001 " + + "\001(\tB\"\372A\037\n\035visionai.googleapis.com/Asset\022" + + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016" + + "\n\006filter\030\004 \001(\t\"m\n\027ListAnnotationsRespons" + + "e\0229\n\013annotations\030\001 \003(\0132$.google.cloud.vi" + + "sionai.v1.Annotation\022\027\n\017next_page_token\030" + + "\002 \001(\t\"P\n\024GetAnnotationRequest\0228\n\004name\030\001 " + + "\001(\tB*\340A\002\372A$\n\"visionai.googleapis.com/Ann" + + "otation\"\211\001\n\027UpdateAnnotationRequest\022=\n\na" + + "nnotation\030\001 \001(\0132$.google.cloud.visionai." + + "v1.AnnotationB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132" + + "\032.google.protobuf.FieldMask\"S\n\027DeleteAnn" + + "otationRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"vi" + + "sionai.googleapis.com/Annotation\"q\n\023Impo" + + "rtAssetsRequest\022\030\n\016assets_gcs_uri\030\002 \001(\tH" + + "\000\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \n\036visionai.goog" + + "leapis.com/CorpusB\010\n\006source\"\225\001\n\024ImportAs" + + "setsMetadata\022=\n\010metadata\030\001 \001(\0132+.google." + + "cloud.visionai.v1.OperationMetadata\022>\n\006s" + + "tatus\030\002 \001(\0132..google.cloud.visionai.v1.B" + + "atchOperationStatus\"D\n\024BatchOperationSta" + + "tus\022\025\n\rsuccess_count\030\001 \001(\005\022\025\n\rfailure_co" + + "unt\030\002 \001(\005\"\026\n\024ImportAssetsResponse\"\274\001\n\031Cr" + + "eateSearchConfigRequest\022<\n\006parent\030\001 \001(\tB" + + ",\340A\002\372A&\022$visionai.googleapis.com/SearchC" + + "onfig\022B\n\rsearch_config\030\002 \001(\0132&.google.cl" + + "oud.visionai.v1.SearchConfigB\003\340A\002\022\035\n\020sea" + + "rch_config_id\030\003 \001(\tB\003\340A\002\"\220\001\n\031UpdateSearc" + + "hConfigRequest\022B\n\rsearch_config\030\001 \001(\0132&." + + "google.cloud.visionai.v1.SearchConfigB\003\340" + + "A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobu" + + "f.FieldMask\"T\n\026GetSearchConfigRequest\022:\n" + + "\004name\030\001 \001(\tB,\340A\002\372A&\n$visionai.googleapis" + + ".com/SearchConfig\"W\n\031DeleteSearchConfigR" + + "equest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$visionai.g" + + "oogleapis.com/SearchConfig\"\177\n\030ListSearch" + + "ConfigsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$" + + "visionai.googleapis.com/SearchConfig\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\031L" + + "istSearchConfigsResponse\022>\n\016search_confi" + + "gs\030\001 \003(\0132&.google.cloud.visionai.v1.Sear" + + "chConfig\022\027\n\017next_page_token\030\002 \001(\t\"\275\002\n\014Se" + + "archConfig\022\014\n\004name\030\001 \001(\t\022?\n\016facet_proper" + + "ty\030\002 \001(\0132\'.google.cloud.visionai.v1.Face" + + "tProperty\022R\n\030search_criteria_property\030\003 " + + "\001(\01320.google.cloud.visionai.v1.SearchCri" + + "teriaProperty:\211\001\352A\205\001\n$visionai.googleapi" + + "s.com/SearchConfig\022]projects/{project_nu" + + "mber}/locations/{location}/corpora/{corp" + + "us}/searchConfigs/{search_config}\"\365\005\n\rIn" + + "dexEndpoint\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014displa" + + "y_name\030\002 \001(\tB\003\340A\001\022\030\n\013description\030\003 \001(\tB\003" + + "\340A\001\022D\n\016deployed_index\030\t \001(\0132\'.google.clo" + + "ud.visionai.v1.DeployedIndexB\003\340A\003\022A\n\005sta" + + "te\030\005 \001(\0162-.google.cloud.visionai.v1.Inde" + + "xEndpoint.StateB\003\340A\003\022H\n\006labels\030\006 \003(\01323.g" + + "oogle.cloud.visionai.v1.IndexEndpoint.La" + + "belsEntryB\003\340A\001\0224\n\013create_time\030\007 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" + + "ime\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\022\037\n\rsatisfies_pzs\030\n \001(\010B\003\340A\003H\000\210\001\001\022\037\n\rs" + + "atisfies_pzi\030\013 \001(\010B\003\340A\003H\001\210\001\001\032-\n\013LabelsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"S\n\005S" + + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020" + + "\001\022\013\n\007CREATED\020\002\022\014\n\010UPDATING\020\003\022\n\n\006FAILED\020\004" + + ":s\352Ap\n%visionai.googleapis.com/IndexEndp", + "oint\022Gprojects/{project}/locations/{loca" + + "tion}/indexEndpoints/{index_endpoint}B\020\n" + + "\016_satisfies_pzsB\020\n\016_satisfies_pzi\"\275\001\n\032Cr" + + "eateIndexEndpointRequest\0229\n\006parent\030\001 \001(\t" + + "B)\340A\002\372A#\n!locations.googleapis.com/Locat" + + "ion\022\036\n\021index_endpoint_id\030\002 \001(\tB\003\340A\001\022D\n\016i" + + "ndex_endpoint\030\003 \001(\0132\'.google.cloud.visio" + + "nai.v1.IndexEndpointB\003\340A\002\"f\n\033CreateIndex" + + "EndpointMetadata\022G\n\022operation_metadata\030\001" + + " \001(\0132+.google.cloud.visionai.v1.Operatio" + + "nMetadata\"V\n\027GetIndexEndpointRequest\022;\n\004" + + "name\030\001 \001(\tB-\340A\002\372A\'\n%visionai.googleapis." + + "com/IndexEndpoint\"\234\001\n\031ListIndexEndpoints" + + "Request\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locatio" + + "ns.googleapis.com/Location\022\026\n\tpage_size\030" + + "\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\023\n\006f" + + "ilter\030\004 \001(\tB\003\340A\001\"w\n\032ListIndexEndpointsRe" + + "sponse\022@\n\017index_endpoints\030\001 \003(\0132\'.google" + + ".cloud.visionai.v1.IndexEndpoint\022\027\n\017next" + + "_page_token\030\002 \001(\t\"\230\001\n\032UpdateIndexEndpoin" + + "tRequest\022D\n\016index_endpoint\030\001 \001(\0132\'.googl" + + "e.cloud.visionai.v1.IndexEndpointB\003\340A\002\0224" + + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" + + "eldMaskB\003\340A\002\"f\n\033UpdateIndexEndpointMetad" + "ata\022G\n\022operation_metadata\030\001 \001(\0132+.google" - + ".cloud.visionai.v1.OperationMetadata\022=\n\016" - + "deployed_index\030\002 \001(\tB%\340A\003\372A\037\n\035visionai.g" - + "oogleapis.com/Index\"]\n\024UndeployIndexRequ" - + "est\022E\n\016index_endpoint\030\001 \001(\tB-\340A\002\372A\'\n%vis" - + "ionai.googleapis.com/IndexEndpoint\"\027\n\025Un" - + "deployIndexResponse\"E\n\rDeployedIndex\0224\n\005" - + "index\030\001 \001(\tB%\340A\002\372A\037\n\035visionai.googleapis" - + ".com/Index\"\204\007\n\rFacetProperty\022_\n\027fixed_ra" - + "nge_bucket_spec\030\005 \001(\0132<.google.cloud.vis" - + "ionai.v1.FacetProperty.FixedRangeBucketS" - + "pecH\000\022a\n\030custom_range_bucket_spec\030\006 \001(\0132" - + "=.google.cloud.visionai.v1.FacetProperty" - + ".CustomRangeBucketSpecH\000\022Z\n\024datetime_buc" - + "ket_spec\030\007 \001(\0132:.google.cloud.visionai.v" - + "1.FacetProperty.DateTimeBucketSpecH\000\022\025\n\r" - + "mapped_fields\030\001 \003(\t\022\024\n\014display_name\030\002 \001(" - + "\t\022\023\n\013result_size\030\003 \001(\003\022>\n\013bucket_type\030\004 " - + "\001(\0162).google.cloud.visionai.v1.FacetBuck" - + "etType\032\252\001\n\024FixedRangeBucketSpec\022:\n\014bucke" - + "t_start\030\001 \001(\0132$.google.cloud.visionai.v1" - + ".FacetValue\022@\n\022bucket_granularity\030\002 \001(\0132" - + "$.google.cloud.visionai.v1.FacetValue\022\024\n" - + "\014bucket_count\030\003 \001(\005\032P\n\025CustomRangeBucket" - + "Spec\0227\n\tendpoints\030\001 \003(\0132$.google.cloud.v" - + "isionai.v1.FacetValue\032\273\001\n\022DateTimeBucket" - + "Spec\022[\n\013granularity\030\001 \001(\0162F.google.cloud" - + ".visionai.v1.FacetProperty.DateTimeBucke" - + "tSpec.Granularity\"H\n\013Granularity\022\033\n\027GRAN" - + "ULARITY_UNSPECIFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005MONTH" - + "\020\002\022\007\n\003DAY\020\003B\024\n\022range_facet_config\"\336\001\n\016Se" - + "archHypernym\022\014\n\004name\030\001 \001(\t\022\025\n\010hypernym\030\002" - + " \001(\tB\003\340A\001\022\025\n\010hyponyms\030\003 \003(\tB\003\340A\001:\217\001\352A\213\001\n" - + "&visionai.googleapis.com/SearchHypernym\022" - + "aprojects/{project_number}/locations/{lo" - + "cation}/corpora/{corpus}/searchHypernyms" - + "/{search_hypernym}\"\332\001\n\033CreateSearchHyper" - + "nymRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \n\036visi" - + "onai.googleapis.com/Corpus\022F\n\017search_hyp" - + "ernym\030\002 \001(\0132(.google.cloud.visionai.v1.S" - + "earchHypernymB\003\340A\002\022$\n\022search_hypernym_id" - + "\030\003 \001(\tB\003\340A\001H\000\210\001\001B\025\n\023_search_hypernym_id\"" - + "\226\001\n\033UpdateSearchHypernymRequest\022F\n\017searc" - + "h_hypernym\030\001 \001(\0132(.google.cloud.visionai" - + ".v1.SearchHypernymB\003\340A\002\022/\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMask\"X\n\030GetS" - + "earchHypernymRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372" - + "A(\n&visionai.googleapis.com/SearchHypern" - + "ym\"[\n\033DeleteSearchHypernymRequest\022<\n\004nam" - + "e\030\001 \001(\tB.\340A\002\372A(\n&visionai.googleapis.com" - + "/SearchHypernym\"\203\001\n\032ListSearchHypernymsR" - + "equest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&visionai" - + ".googleapis.com/SearchHypernym\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\033ListSea" - + "rchHypernymsResponse\022B\n\020search_hypernyms" - + "\030\001 \003(\0132(.google.cloud.visionai.v1.Search" - + "Hypernym\022\027\n\017next_page_token\030\002 \001(\t\"/\n\026Sea" - + "rchCriteriaProperty\022\025\n\rmapped_fields\030\001 \003" - + "(\t\"w\n\nFacetValue\022\026\n\014string_value\030\001 \001(\tH\000" - + "\022\027\n\rinteger_value\030\002 \001(\003H\000\022/\n\016datetime_va" - + "lue\030\003 \001(\0132\025.google.type.DateTimeH\000B\007\n\005va" - + "lue\"\225\002\n\013FacetBucket\0225\n\005value\030\002 \001(\0132$.goo" - + "gle.cloud.visionai.v1.FacetValueH\000\022<\n\005ra" - + "nge\030\004 \001(\0132+.google.cloud.visionai.v1.Fac" - + "etBucket.RangeH\000\022\020\n\010selected\030\003 \001(\010\032o\n\005Ra" - + "nge\0223\n\005start\030\001 \001(\0132$.google.cloud.vision" - + "ai.v1.FacetValue\0221\n\003end\030\002 \001(\0132$.google.c" - + "loud.visionai.v1.FacetValueB\016\n\014bucket_va" - + "lue\"\317\001\n\nFacetGroup\022\020\n\010facet_id\030\001 \001(\t\022\024\n\014" - + "display_name\030\002 \001(\t\0226\n\007buckets\030\003 \003(\0132%.go" - + "ogle.cloud.visionai.v1.FacetBucket\022>\n\013bu" - + "cket_type\030\004 \001(\0162).google.cloud.visionai." - + "v1.FacetBucketType\022!\n\031fetch_matched_anno" - + "tations\030\005 \001(\010\"\250\005\n\022IngestAssetRequest\022E\n\006" - + "config\030\001 \001(\01323.google.cloud.visionai.v1." - + "IngestAssetRequest.ConfigH\000\022Y\n\021time_inde" - + "xed_data\030\002 \001(\0132<.google.cloud.visionai.v" - + "1.IngestAssetRequest.TimeIndexedDataH\000\032\346" - + "\002\n\006Config\022S\n\nvideo_type\030\002 \001(\0132=.google.c" + + ".cloud.visionai.v1.OperationMetadata\"Y\n\032" + + "DeleteIndexEndpointRequest\022;\n\004name\030\001 \001(\t" + + "B-\340A\002\372A\'\n%visionai.googleapis.com/IndexE" + + "ndpoint\"f\n\033DeleteIndexEndpointMetadata\022G" + + "\n\022operation_metadata\030\001 \001(\0132+.google.clou" + + "d.visionai.v1.OperationMetadata\"\241\001\n\022Depl" + + "oyIndexRequest\022E\n\016index_endpoint\030\001 \001(\tB-" + + "\340A\002\372A\'\n%visionai.googleapis.com/IndexEnd" + + "point\022D\n\016deployed_index\030\003 \001(\0132\'.google.c" + + "loud.visionai.v1.DeployedIndexB\003\340A\002\"\025\n\023D" + + "eployIndexResponse\"\235\001\n\023DeployIndexMetada" + + "ta\022G\n\022operation_metadata\030\001 \001(\0132+.google." + + "cloud.visionai.v1.OperationMetadata\022=\n\016d" + + "eployed_index\030\002 \001(\tB%\340A\003\372A\037\n\035visionai.go" + + "ogleapis.com/Index\"\237\001\n\025UndeployIndexMeta" + + "data\022G\n\022operation_metadata\030\001 \001(\0132+.googl" + + "e.cloud.visionai.v1.OperationMetadata\022=\n" + + "\016deployed_index\030\002 \001(\tB%\340A\003\372A\037\n\035visionai." + + "googleapis.com/Index\"]\n\024UndeployIndexReq" + + "uest\022E\n\016index_endpoint\030\001 \001(\tB-\340A\002\372A\'\n%vi" + + "sionai.googleapis.com/IndexEndpoint\"\027\n\025U" + + "ndeployIndexResponse\"E\n\rDeployedIndex\0224\n" + + "\005index\030\001 \001(\tB%\340A\002\372A\037\n\035visionai.googleapi" + + "s.com/Index\"\204\007\n\rFacetProperty\022_\n\027fixed_r" + + "ange_bucket_spec\030\005 \001(\0132<.google.cloud.vi" + + "sionai.v1.FacetProperty.FixedRangeBucket" + + "SpecH\000\022a\n\030custom_range_bucket_spec\030\006 \001(\013" + + "2=.google.cloud.visionai.v1.FacetPropert" + + "y.CustomRangeBucketSpecH\000\022Z\n\024datetime_bu" + + "cket_spec\030\007 \001(\0132:.google.cloud.visionai." + + "v1.FacetProperty.DateTimeBucketSpecH\000\022\025\n" + + "\rmapped_fields\030\001 \003(\t\022\024\n\014display_name\030\002 \001" + + "(\t\022\023\n\013result_size\030\003 \001(\003\022>\n\013bucket_type\030\004" + + " \001(\0162).google.cloud.visionai.v1.FacetBuc" + + "ketType\032\252\001\n\024FixedRangeBucketSpec\022:\n\014buck" + + "et_start\030\001 \001(\0132$.google.cloud.visionai.v" + + "1.FacetValue\022@\n\022bucket_granularity\030\002 \001(\013" + + "2$.google.cloud.visionai.v1.FacetValue\022\024" + + "\n\014bucket_count\030\003 \001(\005\032P\n\025CustomRangeBucke" + + "tSpec\0227\n\tendpoints\030\001 \003(\0132$.google.cloud." + + "visionai.v1.FacetValue\032\273\001\n\022DateTimeBucke" + + "tSpec\022[\n\013granularity\030\001 \001(\0162F.google.clou" + + "d.visionai.v1.FacetProperty.DateTimeBuck" + + "etSpec.Granularity\"H\n\013Granularity\022\033\n\027GRA" + + "NULARITY_UNSPECIFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005MONT" + + "H\020\002\022\007\n\003DAY\020\003B\024\n\022range_facet_config\"\336\001\n\016S" + + "earchHypernym\022\014\n\004name\030\001 \001(\t\022\025\n\010hypernym\030" + + "\002 \001(\tB\003\340A\001\022\025\n\010hyponyms\030\003 \003(\tB\003\340A\001:\217\001\352A\213\001" + + "\n&visionai.googleapis.com/SearchHypernym" + + "\022aprojects/{project_number}/locations/{l" + + "ocation}/corpora/{corpus}/searchHypernym" + + "s/{search_hypernym}\"\332\001\n\033CreateSearchHype" + + "rnymRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \n\036vis" + + "ionai.googleapis.com/Corpus\022F\n\017search_hy" + + "pernym\030\002 \001(\0132(.google.cloud.visionai.v1." + + "SearchHypernymB\003\340A\002\022$\n\022search_hypernym_i" + + "d\030\003 \001(\tB\003\340A\001H\000\210\001\001B\025\n\023_search_hypernym_id" + + "\"\226\001\n\033UpdateSearchHypernymRequest\022F\n\017sear" + + "ch_hypernym\030\001 \001(\0132(.google.cloud.visiona" + + "i.v1.SearchHypernymB\003\340A\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"X\n\030Get" + + "SearchHypernymRequest\022<\n\004name\030\001 \001(\tB.\340A\002" + + "\372A(\n&visionai.googleapis.com/SearchHyper" + + "nym\"[\n\033DeleteSearchHypernymRequest\022<\n\004na" + + "me\030\001 \001(\tB.\340A\002\372A(\n&visionai.googleapis.co" + + "m/SearchHypernym\"\203\001\n\032ListSearchHypernyms" + + "Request\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&visiona" + + "i.googleapis.com/SearchHypernym\022\021\n\tpage_" + + "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\033ListSe" + + "archHypernymsResponse\022B\n\020search_hypernym" + + "s\030\001 \003(\0132(.google.cloud.visionai.v1.Searc" + + "hHypernym\022\027\n\017next_page_token\030\002 \001(\t\"/\n\026Se" + + "archCriteriaProperty\022\025\n\rmapped_fields\030\001 " + + "\003(\t\"w\n\nFacetValue\022\026\n\014string_value\030\001 \001(\tH" + + "\000\022\027\n\rinteger_value\030\002 \001(\003H\000\022/\n\016datetime_v" + + "alue\030\003 \001(\0132\025.google.type.DateTimeH\000B\007\n\005v" + + "alue\"\225\002\n\013FacetBucket\0225\n\005value\030\002 \001(\0132$.go" + + "ogle.cloud.visionai.v1.FacetValueH\000\022<\n\005r" + + "ange\030\004 \001(\0132+.google.cloud.visionai.v1.Fa" + + "cetBucket.RangeH\000\022\020\n\010selected\030\003 \001(\010\032o\n\005R" + + "ange\0223\n\005start\030\001 \001(\0132$.google.cloud.visio" + + "nai.v1.FacetValue\0221\n\003end\030\002 \001(\0132$.google." + + "cloud.visionai.v1.FacetValueB\016\n\014bucket_v" + + "alue\"\317\001\n\nFacetGroup\022\020\n\010facet_id\030\001 \001(\t\022\024\n" + + "\014display_name\030\002 \001(\t\0226\n\007buckets\030\003 \003(\0132%.g" + + "oogle.cloud.visionai.v1.FacetBucket\022>\n\013b" + + "ucket_type\030\004 \001(\0162).google.cloud.visionai" + + ".v1.FacetBucketType\022!\n\031fetch_matched_ann" + + "otations\030\005 \001(\010\"\250\005\n\022IngestAssetRequest\022E\n" + + "\006config\030\001 \001(\01323.google.cloud.visionai.v1" + + ".IngestAssetRequest.ConfigH\000\022Y\n\021time_ind" + + "exed_data\030\002 \001(\0132<.google.cloud.visionai." + + "v1.IngestAssetRequest.TimeIndexedDataH\000\032" + + "\346\002\n\006Config\022S\n\nvideo_type\030\002 \001(\0132=.google." + + "cloud.visionai.v1.IngestAssetRequest.Con" + + "fig.VideoTypeH\000\0224\n\005asset\030\001 \001(\tB%\340A\002\372A\037\n\035" + + "visionai.googleapis.com/Asset\032\303\001\n\tVideoT" + + "ype\022g\n\020container_format\030\001 \001(\0162M.google.c" + "loud.visionai.v1.IngestAssetRequest.Conf" - + "ig.VideoTypeH\000\0224\n\005asset\030\001 \001(\tB%\340A\002\372A\037\n\035v" - + "isionai.googleapis.com/Asset\032\303\001\n\tVideoTy" - + "pe\022g\n\020container_format\030\001 \001(\0162M.google.cl" - + "oud.visionai.v1.IngestAssetRequest.Confi" - + "g.VideoType.ContainerFormat\"M\n\017Container" - + "Format\022 \n\034CONTAINER_FORMAT_UNSPECIFIED\020\000" - + "\022\030\n\024CONTAINER_FORMAT_MP4\020\001B\013\n\tdata_type\032" - + "r\n\017TimeIndexedData\022\014\n\004data\030\001 \001(\014\022Q\n\022temp" - + "oral_partition\030\002 \001(\01325.google.cloud.visi" - + "onai.v1.Partition.TemporalPartitionB\023\n\021s" - + "treaming_request\"u\n\023IngestAssetResponse\022" - + "^\n\037successfully_ingested_partition\030\001 \001(\013" - + "25.google.cloud.visionai.v1.Partition.Te" - + "mporalPartition\"\237\001\n\020ClipAssetRequest\0223\n\004" - + "name\030\001 \001(\tB%\340A\002\372A\037\n\035visionai.googleapis." - + "com/Asset\022V\n\022temporal_partition\030\002 \001(\01325." - + "google.cloud.visionai.v1.Partition.Tempo" - + "ralPartitionB\003\340A\002\"\334\001\n\021ClipAssetResponse\022" - + "U\n\021time_indexed_uris\030\001 \003(\0132:.google.clou" - + "d.visionai.v1.ClipAssetResponse.TimeInde" - + "xedUri\032p\n\016TimeIndexedUri\022Q\n\022temporal_par" - + "tition\030\001 \001(\01325.google.cloud.visionai.v1." - + "Partition.TemporalPartition\022\013\n\003uri\030\002 \001(\t" - + "\"\273\001\n\025GenerateHlsUriRequest\0223\n\004name\030\001 \001(\t" - + "B%\340A\002\372A\037\n\035visionai.googleapis.com/Asset\022" - + "R\n\023temporal_partitions\030\002 \003(\01325.google.cl" - + "oud.visionai.v1.Partition.TemporalPartit" - + "ion\022\031\n\021live_view_enabled\030\003 \001(\010\"y\n\026Genera" - + "teHlsUriResponse\022\013\n\003uri\030\001 \001(\t\022R\n\023tempora" - + "l_partitions\030\002 \003(\01325.google.cloud.vision" - + "ai.v1.Partition.TemporalPartition\"\323\003\n\023Se" - + "archAssetsRequest\022Y\n\033schema_key_sorting_" - + "strategy\030\t \001(\01322.google.cloud.visionai.v" - + "1.SchemaKeySortingStrategyH\000\0226\n\006corpus\030\001" - + " \001(\tB&\340A\002\372A \n\036visionai.googleapis.com/Co" - + "rpus\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " - + "\001(\t\022I\n\023content_time_ranges\030\005 \001(\0132,.googl" - + "e.cloud.visionai.v1.DateTimeRangeArray\0224" - + "\n\010criteria\030\004 \003(\0132\".google.cloud.visionai" - + ".v1.Criteria\022>\n\020facet_selections\030\006 \003(\0132$" - + ".google.cloud.visionai.v1.FacetGroup\022\036\n\026" - + "result_annotation_keys\030\010 \003(\t\022\024\n\014search_q" - + "uery\030\n \001(\tB\013\n\tsort_spec\"\334\002\n\032SearchIndexE" - + "ndpointRequest\022;\n\013image_query\030\002 \001(\0132$.go" - + "ogle.cloud.visionai.v1.ImageQueryH\000\022\024\n\nt" - + "ext_query\030\003 \001(\tH\000\022E\n\016index_endpoint\030\001 \001(" - + "\tB-\340A\002\372A\'\n%visionai.googleapis.com/Index" - + "Endpoint\0224\n\010criteria\030\004 \003(\0132\".google.clou" - + "d.visionai.v1.Criteria\022>\n\022exclusion_crit" - + "eria\030\007 \003(\0132\".google.cloud.visionai.v1.Cr" - + "iteria\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030" - + "\006 \001(\tB\007\n\005query\"a\n\nImageQuery\022\025\n\013input_im" - + "age\030\001 \001(\014H\000\0223\n\005asset\030\002 \001(\tB\"\372A\037\n\035visiona" - + "i.googleapis.com/AssetH\000B\007\n\005image\"\224\003\n\030Sc" - + "hemaKeySortingStrategy\022J\n\007options\030\001 \003(\0132" - + "9.google.cloud.visionai.v1.SchemaKeySort" - + "ingStrategy.Option\032\253\002\n\006Option\022\027\n\017data_sc" - + "hema_key\030\001 \001(\t\022\027\n\017sort_decreasing\030\002 \001(\010\022" - + "h\n\020aggregate_method\030\003 \001(\0162I.google.cloud" - + ".visionai.v1.SchemaKeySortingStrategy.Op" - + "tion.AggregateMethodH\000\210\001\001\"p\n\017AggregateMe" - + "thod\022 \n\034AGGREGATE_METHOD_UNSPECIFIED\020\000\022\034" - + "\n\030AGGREGATE_METHOD_LARGEST\020\001\022\035\n\031AGGREGAT" - + "E_METHOD_SMALLEST\020\002B\023\n\021_aggregate_method" - + "\"\025\n\023DeleteAssetMetadata\"\267\001\n\030AnnotationMa" - + "tchingResult\0224\n\010criteria\030\001 \001(\0132\".google." - + "cloud.visionai.v1.Criteria\022A\n\023matched_an" - + "notations\030\002 \003(\0132$.google.cloud.visionai." - + "v1.Annotation\022\"\n\006status\030\003 \001(\0132\022.google.r" - + "pc.Status\"\347\002\n\020SearchResultItem\022\r\n\005asset\030" - + "\001 \001(\t\022K\n\010segments\030\002 \003(\01325.google.cloud.v" - + "isionai.v1.Partition.TemporalPartitionB\002" - + "\030\001\022F\n\007segment\030\005 \001(\01325.google.cloud.visio" - + "nai.v1.Partition.TemporalPartition\022\021\n\tre" - + "levance\030\006 \001(\001\022C\n\025requested_annotations\030\003" - + " \003(\0132$.google.cloud.visionai.v1.Annotati" - + "on\022W\n\033annotation_matching_results\030\004 \003(\0132" - + "2.google.cloud.visionai.v1.AnnotationMat" - + "chingResult\"\265\001\n\024SearchAssetsResponse\022G\n\023" - + "search_result_items\030\001 \003(\0132*.google.cloud" - + ".visionai.v1.SearchResultItem\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\022;\n\rfacet_results\030\003 \003(\0132$." - + "google.cloud.visionai.v1.FacetGroup\"\177\n\033S" - + "earchIndexEndpointResponse\022G\n\023search_res" - + "ult_items\030\001 \003(\0132*.google.cloud.visionai." - + "v1.SearchResultItem\022\027\n\017next_page_token\030\002" - + " \001(\t\"B\n\010IntRange\022\022\n\005start\030\001 \001(\003H\000\210\001\001\022\020\n\003" - + "end\030\002 \001(\003H\001\210\001\001B\010\n\006_startB\006\n\004_end\"D\n\nFloa" - + "tRange\022\022\n\005start\030\001 \001(\002H\000\210\001\001\022\020\n\003end\030\002 \001(\002H" - + "\001\210\001\001B\010\n\006_startB\006\n\004_end\"!\n\013StringArray\022\022\n" - + "\ntxt_values\030\001 \003(\t\"G\n\rIntRangeArray\0226\n\nin" - + "t_ranges\030\001 \003(\0132\".google.cloud.visionai.v" - + "1.IntRange\"M\n\017FloatRangeArray\022:\n\014float_r" - + "anges\030\001 \003(\0132$.google.cloud.visionai.v1.F" - + "loatRange\"Y\n\rDateTimeRange\022$\n\005start\030\001 \001(" - + "\0132\025.google.type.DateTime\022\"\n\003end\030\002 \001(\0132\025." - + "google.type.DateTime\"W\n\022DateTimeRangeArr" - + "ay\022A\n\020date_time_ranges\030\001 \003(\0132\'.google.cl" - + "oud.visionai.v1.DateTimeRange\"G\n\nCircleA" - + "rea\022\020\n\010latitude\030\001 \001(\001\022\021\n\tlongitude\030\002 \001(\001" - + "\022\024\n\014radius_meter\030\003 \001(\001\"N\n\020GeoLocationArr" - + "ay\022:\n\014circle_areas\030\001 \003(\0132$.google.cloud." - + "visionai.v1.CircleArea\"\032\n\tBoolValue\022\r\n\005v" - + "alue\030\001 \001(\010\"\342\003\n\010Criteria\022;\n\ntext_array\030\002 " - + "\001(\0132%.google.cloud.visionai.v1.StringArr" - + "ayH\000\022B\n\017int_range_array\030\003 \001(\0132\'.google.c" - + "loud.visionai.v1.IntRangeArrayH\000\022F\n\021floa" - + "t_range_array\030\004 \001(\0132).google.cloud.visio" - + "nai.v1.FloatRangeArrayH\000\022M\n\025date_time_ra" - + "nge_array\030\005 \001(\0132,.google.cloud.visionai." - + "v1.DateTimeRangeArrayH\000\022H\n\022geo_location_" - + "array\030\006 \001(\0132*.google.cloud.visionai.v1.G" - + "eoLocationArrayH\000\0229\n\nbool_value\030\007 \001(\0132#." - + "google.cloud.visionai.v1.BoolValueH\000\022\r\n\005" - + "field\030\001 \001(\t\022!\n\031fetch_matched_annotations" - + "\030\010 \001(\010B\007\n\005value\"\220\005\n\tPartition\022Q\n\022tempora" - + "l_partition\030\001 \001(\01325.google.cloud.visiona" - + "i.v1.Partition.TemporalPartition\022O\n\021spat" - + "ial_partition\030\002 \001(\01324.google.cloud.visio" - + "nai.v1.Partition.SpatialPartition\022b\n\033rel" - + "ative_temporal_partition\030\003 \001(\0132=.google." - + "cloud.visionai.v1.Partition.RelativeTemp" - + "oralPartition\032q\n\021TemporalPartition\022.\n\nst" - + "art_time\030\001 \001(\0132\032.google.protobuf.Timesta" - + "mp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf.T" - + "imestamp\032\212\001\n\020SpatialPartition\022\022\n\005x_min\030\001" - + " \001(\003H\000\210\001\001\022\022\n\005y_min\030\002 \001(\003H\001\210\001\001\022\022\n\005x_max\030\003" - + " \001(\003H\002\210\001\001\022\022\n\005y_max\030\004 \001(\003H\003\210\001\001B\010\n\006_x_minB" - + "\010\n\006_y_minB\010\n\006_x_maxB\010\n\006_y_max\032{\n\031Relativ" - + "eTemporalPartition\022/\n\014start_offset\030\001 \001(\013" - + "2\031.google.protobuf.Duration\022-\n\nend_offse" - + "t\030\002 \001(\0132\031.google.protobuf.Duration*\270\001\n\017F" - + "acetBucketType\022!\n\035FACET_BUCKET_TYPE_UNSP" - + "ECIFIED\020\000\022\033\n\027FACET_BUCKET_TYPE_VALUE\020\001\022\036" - + "\n\032FACET_BUCKET_TYPE_DATETIME\020\002\022!\n\035FACET_" - + "BUCKET_TYPE_FIXED_RANGE\020\003\022\"\n\036FACET_BUCKE" - + "T_TYPE_CUSTOM_RANGE\020\0042\221f\n\tWarehouse\022\271\001\n\013" - + "CreateAsset\022,.google.cloud.visionai.v1.C" - + "reateAssetRequest\032\037.google.cloud.visiona" - + "i.v1.Asset\"[\332A\025parent,asset,asset_id\202\323\344\223" - + "\002=\"4/v1/{parent=projects/*/locations/*/c" - + "orpora/*}/assets:\005asset\022\273\001\n\013UpdateAsset\022" - + ",.google.cloud.visionai.v1.UpdateAssetRe" - + "quest\032\037.google.cloud.visionai.v1.Asset\"]" - + "\332A\021asset,update_mask\202\323\344\223\002C2:/v1/{asset.n" + + "ig.VideoType.ContainerFormat\"M\n\017Containe" + + "rFormat\022 \n\034CONTAINER_FORMAT_UNSPECIFIED\020" + + "\000\022\030\n\024CONTAINER_FORMAT_MP4\020\001B\013\n\tdata_type" + + "\032r\n\017TimeIndexedData\022\014\n\004data\030\001 \001(\014\022Q\n\022tem" + + "poral_partition\030\002 \001(\01325.google.cloud.vis" + + "ionai.v1.Partition.TemporalPartitionB\023\n\021" + + "streaming_request\"u\n\023IngestAssetResponse" + + "\022^\n\037successfully_ingested_partition\030\001 \001(" + + "\01325.google.cloud.visionai.v1.Partition.T" + + "emporalPartition\"\237\001\n\020ClipAssetRequest\0223\n" + + "\004name\030\001 \001(\tB%\340A\002\372A\037\n\035visionai.googleapis" + + ".com/Asset\022V\n\022temporal_partition\030\002 \001(\01325" + + ".google.cloud.visionai.v1.Partition.Temp" + + "oralPartitionB\003\340A\002\"\334\001\n\021ClipAssetResponse" + + "\022U\n\021time_indexed_uris\030\001 \003(\0132:.google.clo" + + "ud.visionai.v1.ClipAssetResponse.TimeInd" + + "exedUri\032p\n\016TimeIndexedUri\022Q\n\022temporal_pa" + + "rtition\030\001 \001(\01325.google.cloud.visionai.v1" + + ".Partition.TemporalPartition\022\013\n\003uri\030\002 \001(" + + "\t\"\273\001\n\025GenerateHlsUriRequest\0223\n\004name\030\001 \001(" + + "\tB%\340A\002\372A\037\n\035visionai.googleapis.com/Asset" + + "\022R\n\023temporal_partitions\030\002 \003(\01325.google.c" + + "loud.visionai.v1.Partition.TemporalParti" + + "tion\022\031\n\021live_view_enabled\030\003 \001(\010\"y\n\026Gener" + + "ateHlsUriResponse\022\013\n\003uri\030\001 \001(\t\022R\n\023tempor" + + "al_partitions\030\002 \003(\01325.google.cloud.visio" + + "nai.v1.Partition.TemporalPartition\"\323\003\n\023S" + + "earchAssetsRequest\022Y\n\033schema_key_sorting" + + "_strategy\030\t \001(\01322.google.cloud.visionai." + + "v1.SchemaKeySortingStrategyH\000\0226\n\006corpus\030" + + "\001 \001(\tB&\340A\002\372A \n\036visionai.googleapis.com/C" + + "orpus\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022I\n\023content_time_ranges\030\005 \001(\0132,.goog" + + "le.cloud.visionai.v1.DateTimeRangeArray\022" + + "4\n\010criteria\030\004 \003(\0132\".google.cloud.visiona" + + "i.v1.Criteria\022>\n\020facet_selections\030\006 \003(\0132" + + "$.google.cloud.visionai.v1.FacetGroup\022\036\n" + + "\026result_annotation_keys\030\010 \003(\t\022\024\n\014search_" + + "query\030\n \001(\tB\013\n\tsort_spec\"\334\002\n\032SearchIndex" + + "EndpointRequest\022;\n\013image_query\030\002 \001(\0132$.g" + + "oogle.cloud.visionai.v1.ImageQueryH\000\022\024\n\n" + + "text_query\030\003 \001(\tH\000\022E\n\016index_endpoint\030\001 \001" + + "(\tB-\340A\002\372A\'\n%visionai.googleapis.com/Inde" + + "xEndpoint\0224\n\010criteria\030\004 \003(\0132\".google.clo" + + "ud.visionai.v1.Criteria\022>\n\022exclusion_cri" + + "teria\030\007 \003(\0132\".google.cloud.visionai.v1.C" + + "riteria\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token" + + "\030\006 \001(\tB\007\n\005query\"a\n\nImageQuery\022\025\n\013input_i" + + "mage\030\001 \001(\014H\000\0223\n\005asset\030\002 \001(\tB\"\372A\037\n\035vision" + + "ai.googleapis.com/AssetH\000B\007\n\005image\"\224\003\n\030S" + + "chemaKeySortingStrategy\022J\n\007options\030\001 \003(\013" + + "29.google.cloud.visionai.v1.SchemaKeySor" + + "tingStrategy.Option\032\253\002\n\006Option\022\027\n\017data_s" + + "chema_key\030\001 \001(\t\022\027\n\017sort_decreasing\030\002 \001(\010" + + "\022h\n\020aggregate_method\030\003 \001(\0162I.google.clou" + + "d.visionai.v1.SchemaKeySortingStrategy.O" + + "ption.AggregateMethodH\000\210\001\001\"p\n\017AggregateM" + + "ethod\022 \n\034AGGREGATE_METHOD_UNSPECIFIED\020\000\022" + + "\034\n\030AGGREGATE_METHOD_LARGEST\020\001\022\035\n\031AGGREGA" + + "TE_METHOD_SMALLEST\020\002B\023\n\021_aggregate_metho" + + "d\"\025\n\023DeleteAssetMetadata\"\267\001\n\030AnnotationM" + + "atchingResult\0224\n\010criteria\030\001 \001(\0132\".google" + + ".cloud.visionai.v1.Criteria\022A\n\023matched_a" + + "nnotations\030\002 \003(\0132$.google.cloud.visionai" + + ".v1.Annotation\022\"\n\006status\030\003 \001(\0132\022.google." + + "rpc.Status\"\347\002\n\020SearchResultItem\022\r\n\005asset" + + "\030\001 \001(\t\022K\n\010segments\030\002 \003(\01325.google.cloud." + + "visionai.v1.Partition.TemporalPartitionB" + + "\002\030\001\022F\n\007segment\030\005 \001(\01325.google.cloud.visi" + + "onai.v1.Partition.TemporalPartition\022\021\n\tr" + + "elevance\030\006 \001(\001\022C\n\025requested_annotations\030" + + "\003 \003(\0132$.google.cloud.visionai.v1.Annotat" + + "ion\022W\n\033annotation_matching_results\030\004 \003(\013" + + "22.google.cloud.visionai.v1.AnnotationMa" + + "tchingResult\"\265\001\n\024SearchAssetsResponse\022G\n" + + "\023search_result_items\030\001 \003(\0132*.google.clou" + + "d.visionai.v1.SearchResultItem\022\027\n\017next_p" + + "age_token\030\002 \001(\t\022;\n\rfacet_results\030\003 \003(\0132$" + + ".google.cloud.visionai.v1.FacetGroup\"\177\n\033" + + "SearchIndexEndpointResponse\022G\n\023search_re" + + "sult_items\030\001 \003(\0132*.google.cloud.visionai" + + ".v1.SearchResultItem\022\027\n\017next_page_token\030" + + "\002 \001(\t\"B\n\010IntRange\022\022\n\005start\030\001 \001(\003H\000\210\001\001\022\020\n" + + "\003end\030\002 \001(\003H\001\210\001\001B\010\n\006_startB\006\n\004_end\"D\n\nFlo" + + "atRange\022\022\n\005start\030\001 \001(\002H\000\210\001\001\022\020\n\003end\030\002 \001(\002" + + "H\001\210\001\001B\010\n\006_startB\006\n\004_end\"!\n\013StringArray\022\022" + + "\n\ntxt_values\030\001 \003(\t\"G\n\rIntRangeArray\0226\n\ni" + + "nt_ranges\030\001 \003(\0132\".google.cloud.visionai." + + "v1.IntRange\"M\n\017FloatRangeArray\022:\n\014float_" + + "ranges\030\001 \003(\0132$.google.cloud.visionai.v1." + + "FloatRange\"Y\n\rDateTimeRange\022$\n\005start\030\001 \001" + + "(\0132\025.google.type.DateTime\022\"\n\003end\030\002 \001(\0132\025" + + ".google.type.DateTime\"W\n\022DateTimeRangeAr" + + "ray\022A\n\020date_time_ranges\030\001 \003(\0132\'.google.c" + + "loud.visionai.v1.DateTimeRange\"G\n\nCircle" + + "Area\022\020\n\010latitude\030\001 \001(\001\022\021\n\tlongitude\030\002 \001(" + + "\001\022\024\n\014radius_meter\030\003 \001(\001\"N\n\020GeoLocationAr" + + "ray\022:\n\014circle_areas\030\001 \003(\0132$.google.cloud" + + ".visionai.v1.CircleArea\"\032\n\tBoolValue\022\r\n\005" + + "value\030\001 \001(\010\"\342\003\n\010Criteria\022;\n\ntext_array\030\002" + + " \001(\0132%.google.cloud.visionai.v1.StringAr" + + "rayH\000\022B\n\017int_range_array\030\003 \001(\0132\'.google." + + "cloud.visionai.v1.IntRangeArrayH\000\022F\n\021flo" + + "at_range_array\030\004 \001(\0132).google.cloud.visi" + + "onai.v1.FloatRangeArrayH\000\022M\n\025date_time_r" + + "ange_array\030\005 \001(\0132,.google.cloud.visionai" + + ".v1.DateTimeRangeArrayH\000\022H\n\022geo_location" + + "_array\030\006 \001(\0132*.google.cloud.visionai.v1." + + "GeoLocationArrayH\000\0229\n\nbool_value\030\007 \001(\0132#" + + ".google.cloud.visionai.v1.BoolValueH\000\022\r\n" + + "\005field\030\001 \001(\t\022!\n\031fetch_matched_annotation" + + "s\030\010 \001(\010B\007\n\005value\"\220\005\n\tPartition\022Q\n\022tempor" + + "al_partition\030\001 \001(\01325.google.cloud.vision" + + "ai.v1.Partition.TemporalPartition\022O\n\021spa" + + "tial_partition\030\002 \001(\01324.google.cloud.visi" + + "onai.v1.Partition.SpatialPartition\022b\n\033re" + + "lative_temporal_partition\030\003 \001(\0132=.google" + + ".cloud.visionai.v1.Partition.RelativeTem" + + "poralPartition\032q\n\021TemporalPartition\022.\n\ns" + + "tart_time\030\001 \001(\0132\032.google.protobuf.Timest" + + "amp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf." + + "Timestamp\032\212\001\n\020SpatialPartition\022\022\n\005x_min\030" + + "\001 \001(\003H\000\210\001\001\022\022\n\005y_min\030\002 \001(\003H\001\210\001\001\022\022\n\005x_max\030" + + "\003 \001(\003H\002\210\001\001\022\022\n\005y_max\030\004 \001(\003H\003\210\001\001B\010\n\006_x_min" + + "B\010\n\006_y_minB\010\n\006_x_maxB\010\n\006_y_max\032{\n\031Relati" + + "veTemporalPartition\022/\n\014start_offset\030\001 \001(" + + "\0132\031.google.protobuf.Duration\022-\n\nend_offs" + + "et\030\002 \001(\0132\031.google.protobuf.Duration*\270\001\n\017" + + "FacetBucketType\022!\n\035FACET_BUCKET_TYPE_UNS" + + "PECIFIED\020\000\022\033\n\027FACET_BUCKET_TYPE_VALUE\020\001\022" + + "\036\n\032FACET_BUCKET_TYPE_DATETIME\020\002\022!\n\035FACET" + + "_BUCKET_TYPE_FIXED_RANGE\020\003\022\"\n\036FACET_BUCK" + + "ET_TYPE_CUSTOM_RANGE\020\0042\221f\n\tWarehouse\022\271\001\n" + + "\013CreateAsset\022,.google.cloud.visionai.v1." + + "CreateAssetRequest\032\037.google.cloud.vision" + + "ai.v1.Asset\"[\332A\025parent,asset,asset_id\202\323\344" + + "\223\002=\"4/v1/{parent=projects/*/locations/*/" + + "corpora/*}/assets:\005asset\022\273\001\n\013UpdateAsset" + + "\022,.google.cloud.visionai.v1.UpdateAssetR" + + "equest\032\037.google.cloud.visionai.v1.Asset\"" + + "]\332A\021asset,update_mask\202\323\344\223\002C2:/v1/{asset." + + "name=projects/*/locations/*/corpora/*/as" + + "sets/*}:\005asset\022\233\001\n\010GetAsset\022).google.clo" + + "ud.visionai.v1.GetAssetRequest\032\037.google." + + "cloud.visionai.v1.Asset\"C\332A\004name\202\323\344\223\0026\0224" + + "/v1/{name=projects/*/locations/*/corpora" + + "/*/assets/*}\022\256\001\n\nListAssets\022+.google.clo" + + "ud.visionai.v1.ListAssetsRequest\032,.googl" + + "e.cloud.visionai.v1.ListAssetsResponse\"E" + + "\332A\006parent\202\323\344\223\0026\0224/v1/{parent=projects/*/" + + "locations/*/corpora/*}/assets\022\316\001\n\013Delete" + + "Asset\022,.google.cloud.visionai.v1.DeleteA" + + "ssetRequest\032\035.google.longrunning.Operati" + + "on\"r\312A,\n\025google.protobuf.Empty\022\023DeleteAs" + + "setMetadata\332A\004name\202\323\344\223\0026*4/v1/{name=proj" + + "ects/*/locations/*/corpora/*/assets/*}\022\317" + + "\001\n\013UploadAsset\022,.google.cloud.visionai.v" + + "1.UploadAssetRequest\032\035.google.longrunnin" + + "g.Operation\"s\312A*\n\023UploadAssetResponse\022\023U" + + "ploadAssetMetadata\202\323\344\223\002@\";/v1/{name=proj" + + "ects/*/locations/*/corpora/*/assets/*}:u" + + "pload:\001*\022\333\001\n\024GenerateRetrievalUrl\0225.goog" + + "le.cloud.visionai.v1.GenerateRetrievalUr" + + "lRequest\0326.google.cloud.visionai.v1.Gene" + + "rateRetrievalUrlResponse\"T\202\323\344\223\002N\"I/v1/{n" + "ame=projects/*/locations/*/corpora/*/ass" - + "ets/*}:\005asset\022\233\001\n\010GetAsset\022).google.clou" - + "d.visionai.v1.GetAssetRequest\032\037.google.c" - + "loud.visionai.v1.Asset\"C\332A\004name\202\323\344\223\0026\0224/" - + "v1/{name=projects/*/locations/*/corpora/" - + "*/assets/*}\022\256\001\n\nListAssets\022+.google.clou" - + "d.visionai.v1.ListAssetsRequest\032,.google" - + ".cloud.visionai.v1.ListAssetsResponse\"E\332" - + "A\006parent\202\323\344\223\0026\0224/v1/{parent=projects/*/l" - + "ocations/*/corpora/*}/assets\022\316\001\n\013DeleteA" - + "sset\022,.google.cloud.visionai.v1.DeleteAs" - + "setRequest\032\035.google.longrunning.Operatio" - + "n\"r\312A,\n\025google.protobuf.Empty\022\023DeleteAss" - + "etMetadata\332A\004name\202\323\344\223\0026*4/v1/{name=proje" - + "cts/*/locations/*/corpora/*/assets/*}\022\317\001" - + "\n\013UploadAsset\022,.google.cloud.visionai.v1" - + ".UploadAssetRequest\032\035.google.longrunning" - + ".Operation\"s\312A*\n\023UploadAssetResponse\022\023Up" - + "loadAssetMetadata\202\323\344\223\002@\";/v1/{name=proje" - + "cts/*/locations/*/corpora/*/assets/*}:up" - + "load:\001*\022\333\001\n\024GenerateRetrievalUrl\0225.googl" - + "e.cloud.visionai.v1.GenerateRetrievalUrl" - + "Request\0326.google.cloud.visionai.v1.Gener" - + "ateRetrievalUrlResponse\"T\202\323\344\223\002N\"I/v1/{na" - + "me=projects/*/locations/*/corpora/*/asse" - + "ts/*}:generateRetrievalUrl:\001*\022\324\001\n\014Analyz" - + "eAsset\022-.google.cloud.visionai.v1.Analyz" - + "eAssetRequest\032\035.google.longrunning.Opera" - + "tion\"v\312A,\n\024AnalyzeAssetResponse\022\024Analyze" - + "AssetMetadata\202\323\344\223\002A\"\"5/v1/{parent=projects/*/loc" + + "ations/*/corpora/*}/indexes:\005index\022\331\001\n\013U" + + "pdateIndex\022,.google.cloud.visionai.v1.Up" + + "dateIndexRequest\032\035.google.longrunning.Op" + + "eration\"}\312A\034\n\005Index\022\023UpdateIndexMetadata" + + "\332A\021index,update_mask\202\323\344\223\002D2;/v1/{index.n" + + "ame=projects/*/locations/*/corpora/*/ind" + + "exes/*}:\005index\022\234\001\n\010GetIndex\022).google.clo" + + "ud.visionai.v1.GetIndexRequest\032\037.google." + + "cloud.visionai.v1.Index\"D\332A\004name\202\323\344\223\0027\0225" + + "/v1/{name=projects/*/locations/*/corpora" + + "/*/indexes/*}\022\262\001\n\013ListIndexes\022,.google.c" + + "loud.visionai.v1.ListIndexesRequest\032-.go" + + "ogle.cloud.visionai.v1.ListIndexesRespon" + + "se\"F\332A\006parent\202\323\344\223\0027\0225/v1/{parent=project" + + "s/*/locations/*/corpora/*}/indexes\022\317\001\n\013D" + + "eleteIndex\022,.google.cloud.visionai.v1.De" + + "leteIndexRequest\032\035.google.longrunning.Op" + + "eration\"s\312A,\n\025google.protobuf.Empty\022\023Del" + + "eteIndexMetadata\332A\004name\202\323\344\223\0027*5/v1/{name" + "=projects/*/locations/*/corpora/*/indexe" - + "s/*}:viewAssets\022\327\001\n\013CreateIndex\022,.google" - + ".cloud.visionai.v1.CreateIndexRequest\032\035." - + "google.longrunning.Operation\"{\312A\034\n\005Index" - + "\022\023CreateIndexMetadata\332A\025parent,index,ind" - + "ex_id\202\323\344\223\002>\"5/v1/{parent=projects/*/loca" - + "tions/*/corpora/*}/indexes:\005index\022\331\001\n\013Up" - + "dateIndex\022,.google.cloud.visionai.v1.Upd" - + "ateIndexRequest\032\035.google.longrunning.Ope" - + "ration\"}\312A\034\n\005Index\022\023UpdateIndexMetadata\332" - + "A\021index,update_mask\202\323\344\223\002D2;/v1/{index.na" - + "me=projects/*/locations/*/corpora/*/inde" - + "xes/*}:\005index\022\234\001\n\010GetIndex\022).google.clou" - + "d.visionai.v1.GetIndexRequest\032\037.google.c" - + "loud.visionai.v1.Index\"D\332A\004name\202\323\344\223\0027\0225/" - + "v1/{name=projects/*/locations/*/corpora/" - + "*/indexes/*}\022\262\001\n\013ListIndexes\022,.google.cl" - + "oud.visionai.v1.ListIndexesRequest\032-.goo" - + "gle.cloud.visionai.v1.ListIndexesRespons" - + "e\"F\332A\006parent\202\323\344\223\0027\0225/v1/{parent=projects" - + "/*/locations/*/corpora/*}/indexes\022\317\001\n\013De" - + "leteIndex\022,.google.cloud.visionai.v1.Del" - + "eteIndexRequest\032\035.google.longrunning.Ope" - + "ration\"s\312A,\n\025google.protobuf.Empty\022\023Dele" - + "teIndexMetadata\332A\004name\202\323\344\223\0027*5/v1/{name=" - + "projects/*/locations/*/corpora/*/indexes" - + "/*}\022\312\001\n\014CreateCorpus\022-.google.cloud.visi" - + "onai.v1.CreateCorpusRequest\032\035.google.lon" - + "grunning.Operation\"l\312A\036\n\006Corpus\022\024CreateC" - + "orpusMetadata\332A\rparent,corpus\202\323\344\223\0025\"+/v1" - + "/{parent=projects/*/locations/*}/corpora" - + ":\006corpus\022\225\001\n\tGetCorpus\022*.google.cloud.vi" - + "sionai.v1.GetCorpusRequest\032 .google.clou" - + "d.visionai.v1.Corpus\":\332A\004name\202\323\344\223\002-\022+/v1" - + "/{name=projects/*/locations/*/corpora/*}" - + "\022\270\001\n\014UpdateCorpus\022-.google.cloud.visiona" - + "i.v1.UpdateCorpusRequest\032 .google.cloud." - + "visionai.v1.Corpus\"W\332A\022corpus,update_mas" - + "k\202\323\344\223\002<22/v1/{corpus.name=projects/*/loc" - + "ations/*/corpora/*}:\006corpus\022\250\001\n\013ListCorp" - + "ora\022,.google.cloud.visionai.v1.ListCorpo" - + "raRequest\032-.google.cloud.visionai.v1.Lis" - + "tCorporaResponse\"<\332A\006parent\202\323\344\223\002-\022+/v1/{" - + "parent=projects/*/locations/*}/corpora\022\221" - + "\001\n\014DeleteCorpus\022-.google.cloud.visionai." - + "v1.DeleteCorpusRequest\032\026.google.protobuf" - + ".Empty\":\332A\004name\202\323\344\223\002-*+/v1/{name=project" - + "s/*/locations/*/corpora/*}\022\317\001\n\rAnalyzeCo" - + "rpus\022..google.cloud.visionai.v1.AnalyzeC" - + "orpusRequest\032\035.google.longrunning.Operat" - + "ion\"o\312A.\n\025AnalyzeCorpusResponse\022\025Analyze" - + "CorpusMetadata\202\323\344\223\0028\"3/v1/{name=projects" - + "/*/locations/*/corpora/*}:analyze:\001*\022\320\001\n" - + "\020CreateDataSchema\0221.google.cloud.visiona" - + "i.v1.CreateDataSchemaRequest\032$.google.cl" - + "oud.visionai.v1.DataSchema\"c\332A\022parent,da" - + "ta_schema\202\323\344\223\002H\"9/v1/{parent=projects/*/" - + "locations/*/corpora/*}/dataSchemas:\013data" - + "_schema\022\341\001\n\020UpdateDataSchema\0221.google.cl" - + "oud.visionai.v1.UpdateDataSchemaRequest\032" - + "$.google.cloud.visionai.v1.DataSchema\"t\332" - + "A\027data_schema,update_mask\202\323\344\223\002T2E/v1/{da" - + "ta_schema.name=projects/*/locations/*/co" - + "rpora/*/dataSchemas/*}:\013data_schema\022\257\001\n\r" - + "GetDataSchema\022..google.cloud.visionai.v1" - + ".GetDataSchemaRequest\032$.google.cloud.vis" - + "ionai.v1.DataSchema\"H\332A\004name\202\323\344\223\002;\0229/v1/" - + "{name=projects/*/locations/*/corpora/*/d" - + "ataSchemas/*}\022\247\001\n\020DeleteDataSchema\0221.goo" - + "gle.cloud.visionai.v1.DeleteDataSchemaRe" - + "quest\032\026.google.protobuf.Empty\"H\332A\004name\202\323" - + "\344\223\002;*9/v1/{name=projects/*/locations/*/c" - + "orpora/*/dataSchemas/*}\022\302\001\n\017ListDataSche" - + "mas\0220.google.cloud.visionai.v1.ListDataS" - + "chemasRequest\0321.google.cloud.visionai.v1" - + ".ListDataSchemasResponse\"J\332A\006parent\202\323\344\223\002" - + ";\0229/v1/{parent=projects/*/locations/*/co" - + "rpora/*}/dataSchemas\022\345\001\n\020CreateAnnotatio" - + "n\0221.google.cloud.visionai.v1.CreateAnnot" - + "ationRequest\032$.google.cloud.visionai.v1." - + "Annotation\"x\332A\037parent,annotation,annotat" - + "ion_id\202\323\344\223\002P\"B/v1/{parent=projects/*/loc" - + "ations/*/corpora/*/assets/*}/annotations" - + ":\nannotation\022\270\001\n\rGetAnnotation\022..google." - + "cloud.visionai.v1.GetAnnotationRequest\032$" - + ".google.cloud.visionai.v1.Annotation\"Q\332A" - + "\004name\202\323\344\223\002D\022B/v1/{name=projects/*/locati" - + "ons/*/corpora/*/assets/*/annotations/*}\022" - + "\313\001\n\017ListAnnotations\0220.google.cloud.visio" - + "nai.v1.ListAnnotationsRequest\0321.google.c" - + "loud.visionai.v1.ListAnnotationsResponse" - + "\"S\332A\006parent\202\323\344\223\002D\022B/v1/{parent=projects/" - + "*/locations/*/corpora/*/assets/*}/annota" - + "tions\022\347\001\n\020UpdateAnnotation\0221.google.clou" - + "d.visionai.v1.UpdateAnnotationRequest\032$." - + "google.cloud.visionai.v1.Annotation\"z\332A\026" - + "annotation,update_mask\202\323\344\223\002[2M/v1/{annot" - + "ation.name=projects/*/locations/*/corpor" - + "a/*/assets/*/annotations/*}:\nannotation\022" - + "\260\001\n\020DeleteAnnotation\0221.google.cloud.visi", - "onai.v1.DeleteAnnotationRequest\032\026.google" - + ".protobuf.Empty\"Q\332A\004name\202\323\344\223\002D*B/v1/{nam" - + "e=projects/*/locations/*/corpora/*/asset" - + "s/*/annotations/*}\022p\n\013IngestAsset\022,.goog" - + "le.cloud.visionai.v1.IngestAssetRequest\032" - + "-.google.cloud.visionai.v1.IngestAssetRe" - + "sponse\"\000(\0010\001\022\252\001\n\tClipAsset\022*.google.clou" - + "d.visionai.v1.ClipAssetRequest\032+.google." - + "cloud.visionai.v1.ClipAssetResponse\"D\202\323\344" - + "\223\002>\"9/v1/{name=projects/*/locations/*/co" - + "rpora/*/assets/*}:clip:\001*\022\303\001\n\016GenerateHl" - + "sUri\022/.google.cloud.visionai.v1.Generate" - + "HlsUriRequest\0320.google.cloud.visionai.v1" - + ".GenerateHlsUriResponse\"N\202\323\344\223\002H\"C/v1/{na" + + "s/*}\022\312\001\n\014CreateCorpus\022-.google.cloud.vis" + + "ionai.v1.CreateCorpusRequest\032\035.google.lo" + + "ngrunning.Operation\"l\312A\036\n\006Corpus\022\024Create" + + "CorpusMetadata\332A\rparent,corpus\202\323\344\223\0025\"+/v" + + "1/{parent=projects/*/locations/*}/corpor" + + "a:\006corpus\022\225\001\n\tGetCorpus\022*.google.cloud.v" + + "isionai.v1.GetCorpusRequest\032 .google.clo" + + "ud.visionai.v1.Corpus\":\332A\004name\202\323\344\223\002-\022+/v" + + "1/{name=projects/*/locations/*/corpora/*" + + "}\022\270\001\n\014UpdateCorpus\022-.google.cloud.vision" + + "ai.v1.UpdateCorpusRequest\032 .google.cloud" + + ".visionai.v1.Corpus\"W\332A\022corpus,update_ma" + + "sk\202\323\344\223\002<22/v1/{corpus.name=projects/*/lo" + + "cations/*/corpora/*}:\006corpus\022\250\001\n\013ListCor" + + "pora\022,.google.cloud.visionai.v1.ListCorp" + + "oraRequest\032-.google.cloud.visionai.v1.Li" + + "stCorporaResponse\"<\332A\006parent\202\323\344\223\002-\022+/v1/" + + "{parent=projects/*/locations/*}/corpora\022" + + "\221\001\n\014DeleteCorpus\022-.google.cloud.visionai" + + ".v1.DeleteCorpusRequest\032\026.google.protobu" + + "f.Empty\":\332A\004name\202\323\344\223\002-*+/v1/{name=projec" + + "ts/*/locations/*/corpora/*}\022\317\001\n\rAnalyzeC" + + "orpus\022..google.cloud.visionai.v1.Analyze" + + "CorpusRequest\032\035.google.longrunning.Opera" + + "tion\"o\312A.\n\025AnalyzeCorpusResponse\022\025Analyz" + + "eCorpusMetadata\202\323\344\223\0028\"3/v1/{name=project" + + "s/*/locations/*/corpora/*}:analyze:\001*\022\320\001" + + "\n\020CreateDataSchema\0221.google.cloud.vision" + + "ai.v1.CreateDataSchemaRequest\032$.google.c" + + "loud.visionai.v1.DataSchema\"c\332A\022parent,d" + + "ata_schema\202\323\344\223\002H\"9/v1/{parent=projects/*" + + "/locations/*/corpora/*}/dataSchemas:\013dat" + + "a_schema\022\341\001\n\020UpdateDataSchema\0221.google.c" + + "loud.visionai.v1.UpdateDataSchemaRequest" + + "\032$.google.cloud.visionai.v1.DataSchema\"t" + + "\332A\027data_schema,update_mask\202\323\344\223\002T2E/v1/{d" + + "ata_schema.name=projects/*/locations/*/c" + + "orpora/*/dataSchemas/*}:\013data_schema\022\257\001\n" + + "\rGetDataSchema\022..google.cloud.visionai.v" + + "1.GetDataSchemaRequest\032$.google.cloud.vi" + + "sionai.v1.DataSchema\"H\332A\004name\202\323\344\223\002;\0229/v1" + + "/{name=projects/*/locations/*/corpora/*/" + + "dataSchemas/*}\022\247\001\n\020DeleteDataSchema\0221.go" + + "ogle.cloud.visionai.v1.DeleteDataSchemaR" + + "equest\032\026.google.protobuf.Empty\"H\332A\004name\202" + + "\323\344\223\002;*9/v1/{name=projects/*/locations/*/" + + "corpora/*/dataSchemas/*}\022\302\001\n\017ListDataSch" + + "emas\0220.google.cloud.visionai.v1.ListData" + + "SchemasRequest\0321.google.cloud.visionai.v" + + "1.ListDataSchemasResponse\"J\332A\006parent\202\323\344\223" + + "\002;\0229/v1/{parent=projects/*/locations/*/c" + + "orpora/*}/dataSchemas\022\345\001\n\020CreateAnnotati" + + "on\0221.google.cloud.visionai.v1.CreateAnno" + + "tationRequest\032$.google.cloud.visionai.v1" + + ".Annotation\"x\332A\037parent,annotation,annota" + + "tion_id\202\323\344\223\002P\"B/v1/{parent=projects/*/lo" + + "cations/*/corpora/*/assets/*}/annotation" + + "s:\nannotation\022\270\001\n\rGetAnnotation\022..google" + + ".cloud.visionai.v1.GetAnnotationRequest\032" + + "$.google.cloud.visionai.v1.Annotation\"Q\332" + + "A\004name\202\323\344\223\002D\022B/v1/{name=projects/*/locat" + + "ions/*/corpora/*/assets/*/annotations/*}" + + "\022\313\001\n\017ListAnnotations\0220.google.cloud.visi", + "onai.v1.ListAnnotationsRequest\0321.google." + + "cloud.visionai.v1.ListAnnotationsRespons" + + "e\"S\332A\006parent\202\323\344\223\002D\022B/v1/{parent=projects" + + "/*/locations/*/corpora/*/assets/*}/annot" + + "ations\022\347\001\n\020UpdateAnnotation\0221.google.clo" + + "ud.visionai.v1.UpdateAnnotationRequest\032$" + + ".google.cloud.visionai.v1.Annotation\"z\332A" + + "\026annotation,update_mask\202\323\344\223\002[2M/v1/{anno" + + "tation.name=projects/*/locations/*/corpo" + + "ra/*/assets/*/annotations/*}:\nannotation" + + "\022\260\001\n\020DeleteAnnotation\0221.google.cloud.vis" + + "ionai.v1.DeleteAnnotationRequest\032\026.googl" + + "e.protobuf.Empty\"Q\332A\004name\202\323\344\223\002D*B/v1/{na" + "me=projects/*/locations/*/corpora/*/asse" - + "ts/*}:generateHlsUri:\001*\022\323\001\n\014ImportAssets" - + "\022-.google.cloud.visionai.v1.ImportAssets" - + "Request\032\035.google.longrunning.Operation\"u" - + "\312A,\n\024ImportAssetsResponse\022\024ImportAssetsM" - + "etadata\202\323\344\223\002@\";/v1/{parent=projects/*/lo" - + "cations/*/corpora/*}/assets:import:\001*\022\355\001" - + "\n\022CreateSearchConfig\0223.google.cloud.visi" - + "onai.v1.CreateSearchConfigRequest\032&.goog" - + "le.cloud.visionai.v1.SearchConfig\"z\332A%pa" - + "rent,search_config,search_config_id\202\323\344\223\002" - + "L\";/v1/{parent=projects/*/locations/*/co" - + "rpora/*}/searchConfigs:\rsearch_config\022\357\001" - + "\n\022UpdateSearchConfig\0223.google.cloud.visi" - + "onai.v1.UpdateSearchConfigRequest\032&.goog" - + "le.cloud.visionai.v1.SearchConfig\"|\332A\031se" - + "arch_config,update_mask\202\323\344\223\002Z2I/v1/{sear" - + "ch_config.name=projects/*/locations/*/co" - + "rpora/*/searchConfigs/*}:\rsearch_config\022" - + "\267\001\n\017GetSearchConfig\0220.google.cloud.visio" - + "nai.v1.GetSearchConfigRequest\032&.google.c" - + "loud.visionai.v1.SearchConfig\"J\332A\004name\202\323" - + "\344\223\002=\022;/v1/{name=projects/*/locations/*/c" - + "orpora/*/searchConfigs/*}\022\255\001\n\022DeleteSear" - + "chConfig\0223.google.cloud.visionai.v1.Dele" - + "teSearchConfigRequest\032\026.google.protobuf." - + "Empty\"J\332A\004name\202\323\344\223\002=*;/v1/{name=projects" - + "/*/locations/*/corpora/*/searchConfigs/*" - + "}\022\312\001\n\021ListSearchConfigs\0222.google.cloud.v" - + "isionai.v1.ListSearchConfigsRequest\0323.go" - + "ogle.cloud.visionai.v1.ListSearchConfigs" - + "Response\"L\332A\006parent\202\323\344\223\002=\022;/v1/{parent=p" - + "rojects/*/locations/*/corpora/*}/searchC" - + "onfigs\022\374\001\n\024CreateSearchHypernym\0225.google" - + ".cloud.visionai.v1.CreateSearchHypernymR" - + "equest\032(.google.cloud.visionai.v1.Search" - + "Hypernym\"\202\001\332A)parent,search_hypernym,sea" - + "rch_hypernym_id\202\323\344\223\002P\"=/v1/{parent=proje" - + "cts/*/locations/*/corpora/*}/searchHyper" - + "nyms:\017search_hypernym\022\376\001\n\024UpdateSearchHy" - + "pernym\0225.google.cloud.visionai.v1.Update" - + "SearchHypernymRequest\032(.google.cloud.vis" - + "ionai.v1.SearchHypernym\"\204\001\332A\033search_hype" - + "rnym,update_mask\202\323\344\223\002`2M/v1/{search_hype" - + "rnym.name=projects/*/locations/*/corpora" - + "/*/searchHypernyms/*}:\017search_hypernym\022\277" - + "\001\n\021GetSearchHypernym\0222.google.cloud.visi" - + "onai.v1.GetSearchHypernymRequest\032(.googl" - + "e.cloud.visionai.v1.SearchHypernym\"L\332A\004n" - + "ame\202\323\344\223\002?\022=/v1/{name=projects/*/location" - + "s/*/corpora/*/searchHypernyms/*}\022\263\001\n\024Del" - + "eteSearchHypernym\0225.google.cloud.visiona" - + "i.v1.DeleteSearchHypernymRequest\032\026.googl" - + "e.protobuf.Empty\"L\332A\004name\202\323\344\223\002?*=/v1/{na" - + "me=projects/*/locations/*/corpora/*/sear" - + "chHypernyms/*}\022\322\001\n\023ListSearchHypernyms\0224" - + ".google.cloud.visionai.v1.ListSearchHype" - + "rnymsRequest\0325.google.cloud.visionai.v1." - + "ListSearchHypernymsResponse\"N\332A\006parent\202\323" - + "\344\223\002?\022=/v1/{parent=projects/*/locations/*" - + "/corpora/*}/searchHypernyms\022\264\001\n\014SearchAs" - + "sets\022-.google.cloud.visionai.v1.SearchAs" - + "setsRequest\032..google.cloud.visionai.v1.S" - + "earchAssetsResponse\"E\202\323\344\223\002?\":/v1/{corpus" - + "=projects/*/locations/*/corpora/*}:searc" - + "hAssets:\001*\022\337\001\n\023SearchIndexEndpoint\0224.goo" - + "gle.cloud.visionai.v1.SearchIndexEndpoin" - + "tRequest\0325.google.cloud.visionai.v1.Sear" - + "chIndexEndpointResponse\"[\202\323\344\223\002U\"P/v1/{in" - + "dex_endpoint=projects/*/locations/*/inde" - + "xEndpoints/*}:searchIndexEndpoint:\001*\022\220\002\n" - + "\023CreateIndexEndpoint\0224.google.cloud.visi" - + "onai.v1.CreateIndexEndpointRequest\032\035.goo" - + "gle.longrunning.Operation\"\243\001\312A,\n\rIndexEn" - + "dpoint\022\033CreateIndexEndpointMetadata\332A\'pa" - + "rent,index_endpoint,index_endpoint_id\202\323\344" - + "\223\002D\"2/v1/{parent=projects/*/locations/*}" - + "/indexEndpoints:\016index_endpoint\022\261\001\n\020GetI" - + "ndexEndpoint\0221.google.cloud.visionai.v1." - + "GetIndexEndpointRequest\032\'.google.cloud.v" - + "isionai.v1.IndexEndpoint\"A\332A\004name\202\323\344\223\0024\022" - + "2/v1/{name=projects/*/locations/*/indexE" - + "ndpoints/*}\022\304\001\n\022ListIndexEndpoints\0223.goo" - + "gle.cloud.visionai.v1.ListIndexEndpoints" - + "Request\0324.google.cloud.visionai.v1.ListI" - + "ndexEndpointsResponse\"C\332A\006parent\202\323\344\223\0024\0222" - + "/v1/{parent=projects/*/locations/*}/inde" - + "xEndpoints\022\222\002\n\023UpdateIndexEndpoint\0224.goo" - + "gle.cloud.visionai.v1.UpdateIndexEndpoin" - + "tRequest\032\035.google.longrunning.Operation\"" - + "\245\001\312A,\n\rIndexEndpoint\022\033UpdateIndexEndpoin" - + "tMetadata\332A\032index_endpoint,update_mask\202\323" - + "\344\223\002S2A/v1/{index_endpoint.name=projects/" - + "*/locations/*/indexEndpoints/*}:\016index_e" - + "ndpoint\022\344\001\n\023DeleteIndexEndpoint\0224.google" - + ".cloud.visionai.v1.DeleteIndexEndpointRe" - + "quest\032\035.google.longrunning.Operation\"x\312A" - + "4\n\025google.protobuf.Empty\022\033DeleteIndexEnd" - + "pointMetadata\332A\004name\202\323\344\223\0024*2/v1/{name=pr" - + "ojects/*/locations/*/indexEndpoints/*}\022\335" - + "\001\n\013DeployIndex\022,.google.cloud.visionai.v" - + "1.DeployIndexRequest\032\035.google.longrunnin" - + "g.Operation\"\200\001\312A*\n\023DeployIndexResponse\022\023" - + "DeployIndexMetadata\202\323\344\223\002M\"H/v1/{index_en" - + "dpoint=projects/*/locations/*/indexEndpo" - + "ints/*}:deployIndex:\001*\022\347\001\n\rUndeployIndex" - + "\022..google.cloud.visionai.v1.UndeployInde" - + "xRequest\032\035.google.longrunning.Operation\"" - + "\206\001\312A.\n\025UndeployIndexResponse\022\025UndeployIn" - + "dexMetadata\202\323\344\223\002O\"J/v1/{index_endpoint=p" - + "rojects/*/locations/*/indexEndpoints/*}:" - + "undeployIndex:\001*\022\377\001\n\020CreateCollection\0221." - + "google.cloud.visionai.v1.CreateCollectio" - + "nRequest\032\035.google.longrunning.Operation\"" - + "\230\001\312A&\n\nCollection\022\030CreateCollectionMetad" - + "ata\332A\037parent,collection,collection_id\202\323\344" - + "\223\002G\"9/v1/{parent=projects/*/locations/*/" - + "corpora/*}/collections:\ncollection\022\342\001\n\020D" - + "eleteCollection\0221.google.cloud.visionai." - + "v1.DeleteCollectionRequest\032\035.google.long" - + "running.Operation\"|\312A1\n\025google.protobuf." - + "Empty\022\030DeleteCollectionMetadata\332A\004name\202\323" - + "\344\223\002;*9/v1/{name=projects/*/locations/*/c" - + "orpora/*/collections/*}\022\257\001\n\rGetCollectio" - + "n\022..google.cloud.visionai.v1.GetCollecti" - + "onRequest\032$.google.cloud.visionai.v1.Col" - + "lection\"H\332A\004name\202\323\344\223\002;\0229/v1/{name=projec" + + "ts/*/annotations/*}\022p\n\013IngestAsset\022,.goo" + + "gle.cloud.visionai.v1.IngestAssetRequest" + + "\032-.google.cloud.visionai.v1.IngestAssetR" + + "esponse\"\000(\0010\001\022\252\001\n\tClipAsset\022*.google.clo" + + "ud.visionai.v1.ClipAssetRequest\032+.google" + + ".cloud.visionai.v1.ClipAssetResponse\"D\202\323" + + "\344\223\002>\"9/v1/{name=projects/*/locations/*/c" + + "orpora/*/assets/*}:clip:\001*\022\303\001\n\016GenerateH" + + "lsUri\022/.google.cloud.visionai.v1.Generat" + + "eHlsUriRequest\0320.google.cloud.visionai.v" + + "1.GenerateHlsUriResponse\"N\202\323\344\223\002H\"C/v1/{n" + + "ame=projects/*/locations/*/corpora/*/ass" + + "ets/*}:generateHlsUri:\001*\022\323\001\n\014ImportAsset" + + "s\022-.google.cloud.visionai.v1.ImportAsset" + + "sRequest\032\035.google.longrunning.Operation\"" + + "u\312A,\n\024ImportAssetsResponse\022\024ImportAssets" + + "Metadata\202\323\344\223\002@\";/v1/{parent=projects/*/l" + + "ocations/*/corpora/*}/assets:import:\001*\022\355" + + "\001\n\022CreateSearchConfig\0223.google.cloud.vis" + + "ionai.v1.CreateSearchConfigRequest\032&.goo" + + "gle.cloud.visionai.v1.SearchConfig\"z\332A%p" + + "arent,search_config,search_config_id\202\323\344\223" + + "\002L\";/v1/{parent=projects/*/locations/*/c" + + "orpora/*}/searchConfigs:\rsearch_config\022\357" + + "\001\n\022UpdateSearchConfig\0223.google.cloud.vis" + + "ionai.v1.UpdateSearchConfigRequest\032&.goo" + + "gle.cloud.visionai.v1.SearchConfig\"|\332A\031s" + + "earch_config,update_mask\202\323\344\223\002Z2I/v1/{sea" + + "rch_config.name=projects/*/locations/*/c" + + "orpora/*/searchConfigs/*}:\rsearch_config" + + "\022\267\001\n\017GetSearchConfig\0220.google.cloud.visi" + + "onai.v1.GetSearchConfigRequest\032&.google." + + "cloud.visionai.v1.SearchConfig\"J\332A\004name\202" + + "\323\344\223\002=\022;/v1/{name=projects/*/locations/*/" + + "corpora/*/searchConfigs/*}\022\255\001\n\022DeleteSea" + + "rchConfig\0223.google.cloud.visionai.v1.Del" + + "eteSearchConfigRequest\032\026.google.protobuf" + + ".Empty\"J\332A\004name\202\323\344\223\002=*;/v1/{name=project" + + "s/*/locations/*/corpora/*/searchConfigs/" + + "*}\022\312\001\n\021ListSearchConfigs\0222.google.cloud." + + "visionai.v1.ListSearchConfigsRequest\0323.g" + + "oogle.cloud.visionai.v1.ListSearchConfig" + + "sResponse\"L\332A\006parent\202\323\344\223\002=\022;/v1/{parent=" + + "projects/*/locations/*/corpora/*}/search" + + "Configs\022\374\001\n\024CreateSearchHypernym\0225.googl" + + "e.cloud.visionai.v1.CreateSearchHypernym" + + "Request\032(.google.cloud.visionai.v1.Searc" + + "hHypernym\"\202\001\332A)parent,search_hypernym,se" + + "arch_hypernym_id\202\323\344\223\002P\"=/v1/{parent=proj" + + "ects/*/locations/*/corpora/*}/searchHype" + + "rnyms:\017search_hypernym\022\376\001\n\024UpdateSearchH" + + "ypernym\0225.google.cloud.visionai.v1.Updat" + + "eSearchHypernymRequest\032(.google.cloud.vi" + + "sionai.v1.SearchHypernym\"\204\001\332A\033search_hyp" + + "ernym,update_mask\202\323\344\223\002`2M/v1/{search_hyp" + + "ernym.name=projects/*/locations/*/corpor" + + "a/*/searchHypernyms/*}:\017search_hypernym\022" + + "\277\001\n\021GetSearchHypernym\0222.google.cloud.vis" + + "ionai.v1.GetSearchHypernymRequest\032(.goog" + + "le.cloud.visionai.v1.SearchHypernym\"L\332A\004" + + "name\202\323\344\223\002?\022=/v1/{name=projects/*/locatio" + + "ns/*/corpora/*/searchHypernyms/*}\022\263\001\n\024De" + + "leteSearchHypernym\0225.google.cloud.vision" + + "ai.v1.DeleteSearchHypernymRequest\032\026.goog" + + "le.protobuf.Empty\"L\332A\004name\202\323\344\223\002?*=/v1/{n" + + "ame=projects/*/locations/*/corpora/*/sea" + + "rchHypernyms/*}\022\322\001\n\023ListSearchHypernyms\022" + + "4.google.cloud.visionai.v1.ListSearchHyp" + + "ernymsRequest\0325.google.cloud.visionai.v1" + + ".ListSearchHypernymsResponse\"N\332A\006parent\202" + + "\323\344\223\002?\022=/v1/{parent=projects/*/locations/" + + "*/corpora/*}/searchHypernyms\022\264\001\n\014SearchA" + + "ssets\022-.google.cloud.visionai.v1.SearchA" + + "ssetsRequest\032..google.cloud.visionai.v1." + + "SearchAssetsResponse\"E\202\323\344\223\002?\":/v1/{corpu" + + "s=projects/*/locations/*/corpora/*}:sear" + + "chAssets:\001*\022\337\001\n\023SearchIndexEndpoint\0224.go" + + "ogle.cloud.visionai.v1.SearchIndexEndpoi" + + "ntRequest\0325.google.cloud.visionai.v1.Sea" + + "rchIndexEndpointResponse\"[\202\323\344\223\002U\"P/v1/{i" + + "ndex_endpoint=projects/*/locations/*/ind" + + "exEndpoints/*}:searchIndexEndpoint:\001*\022\220\002" + + "\n\023CreateIndexEndpoint\0224.google.cloud.vis" + + "ionai.v1.CreateIndexEndpointRequest\032\035.go" + + "ogle.longrunning.Operation\"\243\001\312A,\n\rIndexE" + + "ndpoint\022\033CreateIndexEndpointMetadata\332A\'p" + + "arent,index_endpoint,index_endpoint_id\202\323" + + "\344\223\002D\"2/v1/{parent=projects/*/locations/*" + + "}/indexEndpoints:\016index_endpoint\022\261\001\n\020Get" + + "IndexEndpoint\0221.google.cloud.visionai.v1" + + ".GetIndexEndpointRequest\032\'.google.cloud." + + "visionai.v1.IndexEndpoint\"A\332A\004name\202\323\344\223\0024" + + "\0222/v1/{name=projects/*/locations/*/index" + + "Endpoints/*}\022\304\001\n\022ListIndexEndpoints\0223.go" + + "ogle.cloud.visionai.v1.ListIndexEndpoint" + + "sRequest\0324.google.cloud.visionai.v1.List" + + "IndexEndpointsResponse\"C\332A\006parent\202\323\344\223\0024\022" + + "2/v1/{parent=projects/*/locations/*}/ind" + + "exEndpoints\022\222\002\n\023UpdateIndexEndpoint\0224.go" + + "ogle.cloud.visionai.v1.UpdateIndexEndpoi" + + "ntRequest\032\035.google.longrunning.Operation" + + "\"\245\001\312A,\n\rIndexEndpoint\022\033UpdateIndexEndpoi" + + "ntMetadata\332A\032index_endpoint,update_mask\202" + + "\323\344\223\002S2A/v1/{index_endpoint.name=projects" + + "/*/locations/*/indexEndpoints/*}:\016index_" + + "endpoint\022\344\001\n\023DeleteIndexEndpoint\0224.googl" + + "e.cloud.visionai.v1.DeleteIndexEndpointR" + + "equest\032\035.google.longrunning.Operation\"x\312" + + "A4\n\025google.protobuf.Empty\022\033DeleteIndexEn" + + "dpointMetadata\332A\004name\202\323\344\223\0024*2/v1/{name=p" + + "rojects/*/locations/*/indexEndpoints/*}\022" + + "\335\001\n\013DeployIndex\022,.google.cloud.visionai." + + "v1.DeployIndexRequest\032\035.google.longrunni" + + "ng.Operation\"\200\001\312A*\n\023DeployIndexResponse\022" + + "\023DeployIndexMetadata\202\323\344\223\002M\"H/v1/{index_e" + + "ndpoint=projects/*/locations/*/indexEndp" + + "oints/*}:deployIndex:\001*\022\347\001\n\rUndeployInde" + + "x\022..google.cloud.visionai.v1.UndeployInd" + + "exRequest\032\035.google.longrunning.Operation" + + "\"\206\001\312A.\n\025UndeployIndexResponse\022\025UndeployI" + + "ndexMetadata\202\323\344\223\002O\"J/v1/{index_endpoint=" + + "projects/*/locations/*/indexEndpoints/*}" + + ":undeployIndex:\001*\022\377\001\n\020CreateCollection\0221" + + ".google.cloud.visionai.v1.CreateCollecti" + + "onRequest\032\035.google.longrunning.Operation" + + "\"\230\001\312A&\n\nCollection\022\030CreateCollectionMeta" + + "data\332A\037parent,collection,collection_id\202\323" + + "\344\223\002G\"9/v1/{parent=projects/*/locations/*" + + "/corpora/*}/collections:\ncollection\022\342\001\n\020" + + "DeleteCollection\0221.google.cloud.visionai" + + ".v1.DeleteCollectionRequest\032\035.google.lon" + + "grunning.Operation\"|\312A1\n\025google.protobuf" + + ".Empty\022\030DeleteCollectionMetadata\332A\004name\202" + + "\323\344\223\002;*9/v1/{name=projects/*/locations/*/" + + "corpora/*/collections/*}\022\257\001\n\rGetCollecti" + + "on\022..google.cloud.visionai.v1.GetCollect" + + "ionRequest\032$.google.cloud.visionai.v1.Co" + + "llection\"H\332A\004name\202\323\344\223\002;\0229/v1/{name=proje" + + "cts/*/locations/*/corpora/*/collections/" + + "*}\022\336\001\n\020UpdateCollection\0221.google.cloud.v" + + "isionai.v1.UpdateCollectionRequest\032$.goo" + + "gle.cloud.visionai.v1.Collection\"q\332A\026col" + + "lection,update_mask\202\323\344\223\002R2D/v1/{collecti" + + "on.name=projects/*/locations/*/corpora/*" + + "/collections/*}:\ncollection\022\302\001\n\017ListColl" + + "ections\0220.google.cloud.visionai.v1.ListC" + + "ollectionsRequest\0321.google.cloud.visiona" + + "i.v1.ListCollectionsResponse\"J\332A\006parent\202" + + "\323\344\223\002;\0229/v1/{parent=projects/*/locations/" + + "*/corpora/*}/collections\022\346\001\n\021AddCollecti" + + "onItem\0222.google.cloud.visionai.v1.AddCol" + + "lectionItemRequest\0323.google.cloud.vision" + + "ai.v1.AddCollectionItemResponse\"h\332A\004item" + + "\202\323\344\223\002[\"V/v1/{item.collection=projects/*/" + + "locations/*/corpora/*/collections/*}:add" + + "CollectionItem:\001*\022\362\001\n\024RemoveCollectionIt" + + "em\0225.google.cloud.visionai.v1.RemoveColl" + + "ectionItemRequest\0326.google.cloud.visiona" + + "i.v1.RemoveCollectionItemResponse\"k\332A\004it" + + "em\202\323\344\223\002^\"Y/v1/{item.collection=projects/" + + "*/locations/*/corpora/*/collections/*}:r" + + "emoveCollectionItem:\001*\022\354\001\n\023ViewCollectio" + + "nItems\0224.google.cloud.visionai.v1.ViewCo" + + "llectionItemsRequest\0325.google.cloud.visi" + + "onai.v1.ViewCollectionItemsResponse\"h\332A\n" + + "collection\202\323\344\223\002U\022S/v1/{collection=projec" + "ts/*/locations/*/corpora/*/collections/*" - + "}\022\336\001\n\020UpdateCollection\0221.google.cloud.vi" - + "sionai.v1.UpdateCollectionRequest\032$.goog" - + "le.cloud.visionai.v1.Collection\"q\332A\026coll" - + "ection,update_mask\202\323\344\223\002R2D/v1/{collectio" - + "n.name=projects/*/locations/*/corpora/*/" - + "collections/*}:\ncollection\022\302\001\n\017ListColle" - + "ctions\0220.google.cloud.visionai.v1.ListCo" - + "llectionsRequest\0321.google.cloud.visionai" - + ".v1.ListCollectionsResponse\"J\332A\006parent\202\323" - + "\344\223\002;\0229/v1/{parent=projects/*/locations/*" - + "/corpora/*}/collections\022\346\001\n\021AddCollectio" - + "nItem\0222.google.cloud.visionai.v1.AddColl" - + "ectionItemRequest\0323.google.cloud.visiona" - + "i.v1.AddCollectionItemResponse\"h\332A\004item\202" - + "\323\344\223\002[\"V/v1/{item.collection=projects/*/l" - + "ocations/*/corpora/*/collections/*}:addC" - + "ollectionItem:\001*\022\362\001\n\024RemoveCollectionIte" - + "m\0225.google.cloud.visionai.v1.RemoveColle" - + "ctionItemRequest\0326.google.cloud.visionai" - + ".v1.RemoveCollectionItemResponse\"k\332A\004ite" - + "m\202\323\344\223\002^\"Y/v1/{item.collection=projects/*" - + "/locations/*/corpora/*/collections/*}:re" - + "moveCollectionItem:\001*\022\354\001\n\023ViewCollection" - + "Items\0224.google.cloud.visionai.v1.ViewCol" - + "lectionItemsRequest\0325.google.cloud.visio" - + "nai.v1.ViewCollectionItemsResponse\"h\332A\nc" - + "ollection\202\323\344\223\002U\022S/v1/{collection=project" - + "s/*/locations/*/corpora/*/collections/*}" - + ":viewCollectionItems\032K\312A\027visionai.google" - + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformB\276\001\n\034com.google.cloud.v" - + "isionai.v1B\016WarehouseProtoP\001Z8cloud.goog" - + "le.com/go/visionai/apiv1/visionaipb;visi" - + "onaipb\252\002\030Google.Cloud.VisionAI.V1\312\002\030Goog" - + "le\\Cloud\\VisionAI\\V1\352\002\033Google::Cloud::Vi" - + "sionAI::V1b\006proto3" + + "}:viewCollectionItems\032K\312A\027visionai.googl" + + "eapis.com\322A.https://www.googleapis.com/a" + + "uth/cloud-platformB\276\001\n\034com.google.cloud." + + "visionai.v1B\016WarehouseProtoP\001Z8cloud.goo" + + "gle.com/go/visionai/apiv1/visionaipb;vis" + + "ionaipb\252\002\030Google.Cloud.VisionAI.V1\312\002\030Goo" + + "gle\\Cloud\\VisionAI\\V1\352\002\033Google::Cloud::V" + + "isionAI::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -2205,6 +2220,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CreateTime", "UpdateTime", "DeployedIndexes", + "SatisfiesPzs", + "SatisfiesPzi", "AssetFilter", }); internal_static_google_cloud_visionai_v1_DeployedIndexReference_descriptor = @@ -2221,7 +2238,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_Corpus_descriptor, new java.lang.String[] { - "Name", "DisplayName", "Description", "DefaultTtl", "Type", "SearchCapabilitySetting", + "Name", + "DisplayName", + "Description", + "DefaultTtl", + "Type", + "SearchCapabilitySetting", + "SatisfiesPzs", + "SatisfiesPzi", }); internal_static_google_cloud_visionai_v1_GetCorpusRequest_descriptor = getDescriptor().getMessageTypes().get(58); @@ -2544,16 +2568,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_ImportAssetsMetadata_descriptor, new java.lang.String[] { - "Metadata", + "Metadata", "Status", }); - internal_static_google_cloud_visionai_v1_ImportAssetsResponse_descriptor = + internal_static_google_cloud_visionai_v1_BatchOperationStatus_descriptor = getDescriptor().getMessageTypes().get(88); + internal_static_google_cloud_visionai_v1_BatchOperationStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_visionai_v1_BatchOperationStatus_descriptor, + new java.lang.String[] { + "SuccessCount", "FailureCount", + }); + internal_static_google_cloud_visionai_v1_ImportAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(89); internal_static_google_cloud_visionai_v1_ImportAssetsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_ImportAssetsResponse_descriptor, new java.lang.String[] {}); internal_static_google_cloud_visionai_v1_CreateSearchConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(89); + getDescriptor().getMessageTypes().get(90); internal_static_google_cloud_visionai_v1_CreateSearchConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_CreateSearchConfigRequest_descriptor, @@ -2561,7 +2593,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "SearchConfig", "SearchConfigId", }); internal_static_google_cloud_visionai_v1_UpdateSearchConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(90); + getDescriptor().getMessageTypes().get(91); internal_static_google_cloud_visionai_v1_UpdateSearchConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_UpdateSearchConfigRequest_descriptor, @@ -2569,7 +2601,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SearchConfig", "UpdateMask", }); internal_static_google_cloud_visionai_v1_GetSearchConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(91); + getDescriptor().getMessageTypes().get(92); internal_static_google_cloud_visionai_v1_GetSearchConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_GetSearchConfigRequest_descriptor, @@ -2577,7 +2609,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_visionai_v1_DeleteSearchConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(92); + getDescriptor().getMessageTypes().get(93); internal_static_google_cloud_visionai_v1_DeleteSearchConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_DeleteSearchConfigRequest_descriptor, @@ -2585,7 +2617,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_visionai_v1_ListSearchConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(93); + getDescriptor().getMessageTypes().get(94); internal_static_google_cloud_visionai_v1_ListSearchConfigsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_ListSearchConfigsRequest_descriptor, @@ -2593,7 +2625,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_visionai_v1_ListSearchConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(94); + getDescriptor().getMessageTypes().get(95); internal_static_google_cloud_visionai_v1_ListSearchConfigsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_ListSearchConfigsResponse_descriptor, @@ -2601,7 +2633,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SearchConfigs", "NextPageToken", }); internal_static_google_cloud_visionai_v1_SearchConfig_descriptor = - getDescriptor().getMessageTypes().get(95); + getDescriptor().getMessageTypes().get(96); internal_static_google_cloud_visionai_v1_SearchConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_SearchConfig_descriptor, @@ -2609,7 +2641,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "FacetProperty", "SearchCriteriaProperty", }); internal_static_google_cloud_visionai_v1_IndexEndpoint_descriptor = - getDescriptor().getMessageTypes().get(96); + getDescriptor().getMessageTypes().get(97); internal_static_google_cloud_visionai_v1_IndexEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_IndexEndpoint_descriptor, @@ -2622,6 +2654,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Labels", "CreateTime", "UpdateTime", + "SatisfiesPzs", + "SatisfiesPzi", }); internal_static_google_cloud_visionai_v1_IndexEndpoint_LabelsEntry_descriptor = internal_static_google_cloud_visionai_v1_IndexEndpoint_descriptor.getNestedTypes().get(0); @@ -2632,7 +2666,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_visionai_v1_CreateIndexEndpointRequest_descriptor = - getDescriptor().getMessageTypes().get(97); + getDescriptor().getMessageTypes().get(98); internal_static_google_cloud_visionai_v1_CreateIndexEndpointRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_CreateIndexEndpointRequest_descriptor, @@ -2640,7 +2674,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "IndexEndpointId", "IndexEndpoint", }); internal_static_google_cloud_visionai_v1_CreateIndexEndpointMetadata_descriptor = - getDescriptor().getMessageTypes().get(98); + getDescriptor().getMessageTypes().get(99); internal_static_google_cloud_visionai_v1_CreateIndexEndpointMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_CreateIndexEndpointMetadata_descriptor, @@ -2648,7 +2682,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OperationMetadata", }); internal_static_google_cloud_visionai_v1_GetIndexEndpointRequest_descriptor = - getDescriptor().getMessageTypes().get(99); + getDescriptor().getMessageTypes().get(100); internal_static_google_cloud_visionai_v1_GetIndexEndpointRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_GetIndexEndpointRequest_descriptor, @@ -2656,7 +2690,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_visionai_v1_ListIndexEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(100); + getDescriptor().getMessageTypes().get(101); internal_static_google_cloud_visionai_v1_ListIndexEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_ListIndexEndpointsRequest_descriptor, @@ -2664,7 +2698,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", }); internal_static_google_cloud_visionai_v1_ListIndexEndpointsResponse_descriptor = - getDescriptor().getMessageTypes().get(101); + getDescriptor().getMessageTypes().get(102); internal_static_google_cloud_visionai_v1_ListIndexEndpointsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_ListIndexEndpointsResponse_descriptor, @@ -2672,7 +2706,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IndexEndpoints", "NextPageToken", }); internal_static_google_cloud_visionai_v1_UpdateIndexEndpointRequest_descriptor = - getDescriptor().getMessageTypes().get(102); + getDescriptor().getMessageTypes().get(103); internal_static_google_cloud_visionai_v1_UpdateIndexEndpointRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_UpdateIndexEndpointRequest_descriptor, @@ -2680,7 +2714,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IndexEndpoint", "UpdateMask", }); internal_static_google_cloud_visionai_v1_UpdateIndexEndpointMetadata_descriptor = - getDescriptor().getMessageTypes().get(103); + getDescriptor().getMessageTypes().get(104); internal_static_google_cloud_visionai_v1_UpdateIndexEndpointMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_UpdateIndexEndpointMetadata_descriptor, @@ -2688,7 +2722,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OperationMetadata", }); internal_static_google_cloud_visionai_v1_DeleteIndexEndpointRequest_descriptor = - getDescriptor().getMessageTypes().get(104); + getDescriptor().getMessageTypes().get(105); internal_static_google_cloud_visionai_v1_DeleteIndexEndpointRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_DeleteIndexEndpointRequest_descriptor, @@ -2696,7 +2730,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_visionai_v1_DeleteIndexEndpointMetadata_descriptor = - getDescriptor().getMessageTypes().get(105); + getDescriptor().getMessageTypes().get(106); internal_static_google_cloud_visionai_v1_DeleteIndexEndpointMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_DeleteIndexEndpointMetadata_descriptor, @@ -2704,7 +2738,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OperationMetadata", }); internal_static_google_cloud_visionai_v1_DeployIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(106); + getDescriptor().getMessageTypes().get(107); internal_static_google_cloud_visionai_v1_DeployIndexRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_DeployIndexRequest_descriptor, @@ -2712,13 +2746,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IndexEndpoint", "DeployedIndex", }); internal_static_google_cloud_visionai_v1_DeployIndexResponse_descriptor = - getDescriptor().getMessageTypes().get(107); + getDescriptor().getMessageTypes().get(108); internal_static_google_cloud_visionai_v1_DeployIndexResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_DeployIndexResponse_descriptor, new java.lang.String[] {}); internal_static_google_cloud_visionai_v1_DeployIndexMetadata_descriptor = - getDescriptor().getMessageTypes().get(108); + getDescriptor().getMessageTypes().get(109); internal_static_google_cloud_visionai_v1_DeployIndexMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_DeployIndexMetadata_descriptor, @@ -2726,7 +2760,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OperationMetadata", "DeployedIndex", }); internal_static_google_cloud_visionai_v1_UndeployIndexMetadata_descriptor = - getDescriptor().getMessageTypes().get(109); + getDescriptor().getMessageTypes().get(110); internal_static_google_cloud_visionai_v1_UndeployIndexMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_UndeployIndexMetadata_descriptor, @@ -2734,7 +2768,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OperationMetadata", "DeployedIndex", }); internal_static_google_cloud_visionai_v1_UndeployIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(110); + getDescriptor().getMessageTypes().get(111); internal_static_google_cloud_visionai_v1_UndeployIndexRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_UndeployIndexRequest_descriptor, @@ -2742,13 +2776,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IndexEndpoint", }); internal_static_google_cloud_visionai_v1_UndeployIndexResponse_descriptor = - getDescriptor().getMessageTypes().get(111); + getDescriptor().getMessageTypes().get(112); internal_static_google_cloud_visionai_v1_UndeployIndexResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_UndeployIndexResponse_descriptor, new java.lang.String[] {}); internal_static_google_cloud_visionai_v1_DeployedIndex_descriptor = - getDescriptor().getMessageTypes().get(112); + getDescriptor().getMessageTypes().get(113); internal_static_google_cloud_visionai_v1_DeployedIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_DeployedIndex_descriptor, @@ -2756,7 +2790,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Index", }); internal_static_google_cloud_visionai_v1_FacetProperty_descriptor = - getDescriptor().getMessageTypes().get(113); + getDescriptor().getMessageTypes().get(114); internal_static_google_cloud_visionai_v1_FacetProperty_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_FacetProperty_descriptor, @@ -2795,7 +2829,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Granularity", }); internal_static_google_cloud_visionai_v1_SearchHypernym_descriptor = - getDescriptor().getMessageTypes().get(114); + getDescriptor().getMessageTypes().get(115); internal_static_google_cloud_visionai_v1_SearchHypernym_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_SearchHypernym_descriptor, @@ -2803,7 +2837,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Hypernym", "Hyponyms", }); internal_static_google_cloud_visionai_v1_CreateSearchHypernymRequest_descriptor = - getDescriptor().getMessageTypes().get(115); + getDescriptor().getMessageTypes().get(116); internal_static_google_cloud_visionai_v1_CreateSearchHypernymRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_CreateSearchHypernymRequest_descriptor, @@ -2811,7 +2845,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "SearchHypernym", "SearchHypernymId", }); internal_static_google_cloud_visionai_v1_UpdateSearchHypernymRequest_descriptor = - getDescriptor().getMessageTypes().get(116); + getDescriptor().getMessageTypes().get(117); internal_static_google_cloud_visionai_v1_UpdateSearchHypernymRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_UpdateSearchHypernymRequest_descriptor, @@ -2819,7 +2853,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SearchHypernym", "UpdateMask", }); internal_static_google_cloud_visionai_v1_GetSearchHypernymRequest_descriptor = - getDescriptor().getMessageTypes().get(117); + getDescriptor().getMessageTypes().get(118); internal_static_google_cloud_visionai_v1_GetSearchHypernymRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_GetSearchHypernymRequest_descriptor, @@ -2827,7 +2861,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_visionai_v1_DeleteSearchHypernymRequest_descriptor = - getDescriptor().getMessageTypes().get(118); + getDescriptor().getMessageTypes().get(119); internal_static_google_cloud_visionai_v1_DeleteSearchHypernymRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_DeleteSearchHypernymRequest_descriptor, @@ -2835,7 +2869,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_visionai_v1_ListSearchHypernymsRequest_descriptor = - getDescriptor().getMessageTypes().get(119); + getDescriptor().getMessageTypes().get(120); internal_static_google_cloud_visionai_v1_ListSearchHypernymsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_ListSearchHypernymsRequest_descriptor, @@ -2843,7 +2877,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_visionai_v1_ListSearchHypernymsResponse_descriptor = - getDescriptor().getMessageTypes().get(120); + getDescriptor().getMessageTypes().get(121); internal_static_google_cloud_visionai_v1_ListSearchHypernymsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_ListSearchHypernymsResponse_descriptor, @@ -2851,7 +2885,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SearchHypernyms", "NextPageToken", }); internal_static_google_cloud_visionai_v1_SearchCriteriaProperty_descriptor = - getDescriptor().getMessageTypes().get(121); + getDescriptor().getMessageTypes().get(122); internal_static_google_cloud_visionai_v1_SearchCriteriaProperty_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_SearchCriteriaProperty_descriptor, @@ -2859,7 +2893,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MappedFields", }); internal_static_google_cloud_visionai_v1_FacetValue_descriptor = - getDescriptor().getMessageTypes().get(122); + getDescriptor().getMessageTypes().get(123); internal_static_google_cloud_visionai_v1_FacetValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_FacetValue_descriptor, @@ -2867,7 +2901,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "StringValue", "IntegerValue", "DatetimeValue", "Value", }); internal_static_google_cloud_visionai_v1_FacetBucket_descriptor = - getDescriptor().getMessageTypes().get(123); + getDescriptor().getMessageTypes().get(124); internal_static_google_cloud_visionai_v1_FacetBucket_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_FacetBucket_descriptor, @@ -2883,7 +2917,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Start", "End", }); internal_static_google_cloud_visionai_v1_FacetGroup_descriptor = - getDescriptor().getMessageTypes().get(124); + getDescriptor().getMessageTypes().get(125); internal_static_google_cloud_visionai_v1_FacetGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_FacetGroup_descriptor, @@ -2891,7 +2925,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FacetId", "DisplayName", "Buckets", "BucketType", "FetchMatchedAnnotations", }); internal_static_google_cloud_visionai_v1_IngestAssetRequest_descriptor = - getDescriptor().getMessageTypes().get(125); + getDescriptor().getMessageTypes().get(126); internal_static_google_cloud_visionai_v1_IngestAssetRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_IngestAssetRequest_descriptor, @@ -2929,7 +2963,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Data", "TemporalPartition", }); internal_static_google_cloud_visionai_v1_IngestAssetResponse_descriptor = - getDescriptor().getMessageTypes().get(126); + getDescriptor().getMessageTypes().get(127); internal_static_google_cloud_visionai_v1_IngestAssetResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_IngestAssetResponse_descriptor, @@ -2937,7 +2971,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SuccessfullyIngestedPartition", }); internal_static_google_cloud_visionai_v1_ClipAssetRequest_descriptor = - getDescriptor().getMessageTypes().get(127); + getDescriptor().getMessageTypes().get(128); internal_static_google_cloud_visionai_v1_ClipAssetRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_ClipAssetRequest_descriptor, @@ -2945,7 +2979,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "TemporalPartition", }); internal_static_google_cloud_visionai_v1_ClipAssetResponse_descriptor = - getDescriptor().getMessageTypes().get(128); + getDescriptor().getMessageTypes().get(129); internal_static_google_cloud_visionai_v1_ClipAssetResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_ClipAssetResponse_descriptor, @@ -2963,7 +2997,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TemporalPartition", "Uri", }); internal_static_google_cloud_visionai_v1_GenerateHlsUriRequest_descriptor = - getDescriptor().getMessageTypes().get(129); + getDescriptor().getMessageTypes().get(130); internal_static_google_cloud_visionai_v1_GenerateHlsUriRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_GenerateHlsUriRequest_descriptor, @@ -2971,7 +3005,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "TemporalPartitions", "LiveViewEnabled", }); internal_static_google_cloud_visionai_v1_GenerateHlsUriResponse_descriptor = - getDescriptor().getMessageTypes().get(130); + getDescriptor().getMessageTypes().get(131); internal_static_google_cloud_visionai_v1_GenerateHlsUriResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_GenerateHlsUriResponse_descriptor, @@ -2979,7 +3013,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Uri", "TemporalPartitions", }); internal_static_google_cloud_visionai_v1_SearchAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(131); + getDescriptor().getMessageTypes().get(132); internal_static_google_cloud_visionai_v1_SearchAssetsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_SearchAssetsRequest_descriptor, @@ -2996,7 +3030,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SortSpec", }); internal_static_google_cloud_visionai_v1_SearchIndexEndpointRequest_descriptor = - getDescriptor().getMessageTypes().get(132); + getDescriptor().getMessageTypes().get(133); internal_static_google_cloud_visionai_v1_SearchIndexEndpointRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_SearchIndexEndpointRequest_descriptor, @@ -3011,7 +3045,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Query", }); internal_static_google_cloud_visionai_v1_ImageQuery_descriptor = - getDescriptor().getMessageTypes().get(133); + getDescriptor().getMessageTypes().get(134); internal_static_google_cloud_visionai_v1_ImageQuery_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_ImageQuery_descriptor, @@ -3019,7 +3053,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InputImage", "Asset", "Image", }); internal_static_google_cloud_visionai_v1_SchemaKeySortingStrategy_descriptor = - getDescriptor().getMessageTypes().get(134); + getDescriptor().getMessageTypes().get(135); internal_static_google_cloud_visionai_v1_SchemaKeySortingStrategy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_SchemaKeySortingStrategy_descriptor, @@ -3037,13 +3071,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DataSchemaKey", "SortDecreasing", "AggregateMethod", }); internal_static_google_cloud_visionai_v1_DeleteAssetMetadata_descriptor = - getDescriptor().getMessageTypes().get(135); + getDescriptor().getMessageTypes().get(136); internal_static_google_cloud_visionai_v1_DeleteAssetMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_DeleteAssetMetadata_descriptor, new java.lang.String[] {}); internal_static_google_cloud_visionai_v1_AnnotationMatchingResult_descriptor = - getDescriptor().getMessageTypes().get(136); + getDescriptor().getMessageTypes().get(137); internal_static_google_cloud_visionai_v1_AnnotationMatchingResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_AnnotationMatchingResult_descriptor, @@ -3051,7 +3085,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Criteria", "MatchedAnnotations", "Status", }); internal_static_google_cloud_visionai_v1_SearchResultItem_descriptor = - getDescriptor().getMessageTypes().get(137); + getDescriptor().getMessageTypes().get(138); internal_static_google_cloud_visionai_v1_SearchResultItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_SearchResultItem_descriptor, @@ -3064,7 +3098,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AnnotationMatchingResults", }); internal_static_google_cloud_visionai_v1_SearchAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(138); + getDescriptor().getMessageTypes().get(139); internal_static_google_cloud_visionai_v1_SearchAssetsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_SearchAssetsResponse_descriptor, @@ -3072,7 +3106,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SearchResultItems", "NextPageToken", "FacetResults", }); internal_static_google_cloud_visionai_v1_SearchIndexEndpointResponse_descriptor = - getDescriptor().getMessageTypes().get(139); + getDescriptor().getMessageTypes().get(140); internal_static_google_cloud_visionai_v1_SearchIndexEndpointResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_SearchIndexEndpointResponse_descriptor, @@ -3080,7 +3114,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SearchResultItems", "NextPageToken", }); internal_static_google_cloud_visionai_v1_IntRange_descriptor = - getDescriptor().getMessageTypes().get(140); + getDescriptor().getMessageTypes().get(141); internal_static_google_cloud_visionai_v1_IntRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_IntRange_descriptor, @@ -3088,7 +3122,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Start", "End", }); internal_static_google_cloud_visionai_v1_FloatRange_descriptor = - getDescriptor().getMessageTypes().get(141); + getDescriptor().getMessageTypes().get(142); internal_static_google_cloud_visionai_v1_FloatRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_FloatRange_descriptor, @@ -3096,7 +3130,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Start", "End", }); internal_static_google_cloud_visionai_v1_StringArray_descriptor = - getDescriptor().getMessageTypes().get(142); + getDescriptor().getMessageTypes().get(143); internal_static_google_cloud_visionai_v1_StringArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_StringArray_descriptor, @@ -3104,7 +3138,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TxtValues", }); internal_static_google_cloud_visionai_v1_IntRangeArray_descriptor = - getDescriptor().getMessageTypes().get(143); + getDescriptor().getMessageTypes().get(144); internal_static_google_cloud_visionai_v1_IntRangeArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_IntRangeArray_descriptor, @@ -3112,7 +3146,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IntRanges", }); internal_static_google_cloud_visionai_v1_FloatRangeArray_descriptor = - getDescriptor().getMessageTypes().get(144); + getDescriptor().getMessageTypes().get(145); internal_static_google_cloud_visionai_v1_FloatRangeArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_FloatRangeArray_descriptor, @@ -3120,7 +3154,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FloatRanges", }); internal_static_google_cloud_visionai_v1_DateTimeRange_descriptor = - getDescriptor().getMessageTypes().get(145); + getDescriptor().getMessageTypes().get(146); internal_static_google_cloud_visionai_v1_DateTimeRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_DateTimeRange_descriptor, @@ -3128,7 +3162,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Start", "End", }); internal_static_google_cloud_visionai_v1_DateTimeRangeArray_descriptor = - getDescriptor().getMessageTypes().get(146); + getDescriptor().getMessageTypes().get(147); internal_static_google_cloud_visionai_v1_DateTimeRangeArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_DateTimeRangeArray_descriptor, @@ -3136,7 +3170,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DateTimeRanges", }); internal_static_google_cloud_visionai_v1_CircleArea_descriptor = - getDescriptor().getMessageTypes().get(147); + getDescriptor().getMessageTypes().get(148); internal_static_google_cloud_visionai_v1_CircleArea_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_CircleArea_descriptor, @@ -3144,7 +3178,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Latitude", "Longitude", "RadiusMeter", }); internal_static_google_cloud_visionai_v1_GeoLocationArray_descriptor = - getDescriptor().getMessageTypes().get(148); + getDescriptor().getMessageTypes().get(149); internal_static_google_cloud_visionai_v1_GeoLocationArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_GeoLocationArray_descriptor, @@ -3152,7 +3186,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CircleAreas", }); internal_static_google_cloud_visionai_v1_BoolValue_descriptor = - getDescriptor().getMessageTypes().get(149); + getDescriptor().getMessageTypes().get(150); internal_static_google_cloud_visionai_v1_BoolValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_BoolValue_descriptor, @@ -3160,7 +3194,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Value", }); internal_static_google_cloud_visionai_v1_Criteria_descriptor = - getDescriptor().getMessageTypes().get(150); + getDescriptor().getMessageTypes().get(151); internal_static_google_cloud_visionai_v1_Criteria_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_Criteria_descriptor, @@ -3176,7 +3210,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Value", }); internal_static_google_cloud_visionai_v1_Partition_descriptor = - getDescriptor().getMessageTypes().get(151); + getDescriptor().getMessageTypes().get(152); internal_static_google_cloud_visionai_v1_Partition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_visionai_v1_Partition_descriptor, diff --git a/java-visionai/proto-google-cloud-visionai-v1/src/main/proto/google/cloud/visionai/v1/warehouse.proto b/java-visionai/proto-google-cloud-visionai-v1/src/main/proto/google/cloud/visionai/v1/warehouse.proto index 020c101fcb16..19c65f72f393 100644 --- a/java-visionai/proto-google-cloud-visionai-v1/src/main/proto/google/cloud/visionai/v1/warehouse.proto +++ b/java-visionai/proto-google-cloud-visionai-v1/src/main/proto/google/cloud/visionai/v1/warehouse.proto @@ -383,6 +383,7 @@ service Warehouse { rpc IngestAsset(stream IngestAssetRequest) returns (stream IngestAssetResponse) {} + // Supported by STREAM_VIDEO corpus type. // Generates clips for downloading. The api takes in a time range, and // generates a clip of the first content available after start_time and // before end_time, which may overflow beyond these bounds. @@ -954,13 +955,13 @@ message AnalyzeAssetMetadata { // The default process state should never happen. STATE_UNSPECIFIED = 0; - // The feature is in progress. + // The ml model analysis is in progress. IN_PROGRESS = 1; - // The process is successfully done. + // The ml model analysis is successfully done. SUCCEEDED = 2; - // The process failed. + // The ml model analysis failed. FAILED = 3; } @@ -1576,6 +1577,16 @@ message Index { // Index of IMAGE corpus can have multiple deployed indexes. repeated DeployedIndexReference deployed_indexes = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. This boolean field is only set for projects that have Physical + // Zone Separation enabled via an Org Policy constraint. It is set to true + // when the index is a valid zone separated index and false if it isn't. + optional bool satisfies_pzs = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. This boolean field is only set for projects that have Physical + // Zone Isolation enabled via an Org Policy constraint. It is set to true when + // the index is a valid zone isolated index and false if it isn't. + optional bool satisfies_pzi = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Points to a DeployedIndex. @@ -1638,6 +1649,16 @@ message Corpus { // Default search capability setting on corpus level. SearchCapabilitySetting search_capability_setting = 8; + + // Output only. This boolean field is only set for projects that have Physical + // Zone Separation enabled via an Org Policy constraint. It is set to true + // when the corpus is a valid zone separated corpus and false if it isn't. + optional bool satisfies_pzs = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. This boolean field is only set for projects that have Physical + // Zone Isolation enabled via an Org Policy constraint. It is set to true when + // the corpus is a valid zone isolated corpus and false if it isn't. + optional bool satisfies_pzi = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for GetCorpus. @@ -2302,6 +2323,21 @@ message ImportAssetsRequest { message ImportAssetsMetadata { // The metadata of the operation. OperationMetadata metadata = 1; + + // The importing status including partial failures, if the implementation can + // provide such information during the progress of the ImportAssets. + BatchOperationStatus status = 2; +} + +// The batch operation status. +message BatchOperationStatus { + // The count of assets (together with their annotations if any) successfully + // ingested. + int32 success_count = 1; + + // The count of assets failed to ingested; it might be due to the annotation + // ingestion error. + int32 failure_count = 2; } // The response message for ImportAssets LRO. @@ -2499,6 +2535,18 @@ message IndexEndpoint { // Output only. Update timestamp. google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. This boolean field is only set for projects that have Physical + // Zone Separation enabled via an Org Policy constraint. It is set to true + // when the index endpoint is a valid zone separated index endpoint and false + // if it isn't. + optional bool satisfies_pzs = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. This boolean field is only set for projects that have Physical + // Zone Isolation enabled via an Org Policy constraint. It is set to true when + // the index endpoint is a valid zone isolated index endpoint and false if it + // isn't. + optional bool satisfies_pzi = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for CreateIndexEndpoint. @@ -3291,10 +3339,13 @@ message SearchResultItem { // The matched asset segment. Partition.TemporalPartition segment = 5; - // Relevance of this `SearchResultItem` to user search request. - // Currently available only in Image Warehouse, and by default represents - // cosine similarity. In the future can be other measures such as "dot - // product" or "topicality" requested in the search request. + // Available to IMAGE corpus types. + // Relevance of this `SearchResultItem` to user search query (text query or + // image query). + // By default this represents cosine similarity between the query and the + // retrieved media content. The value is in the range of [-1, 1]. + // Note that search ranking is not only decided by this relevance score, + // but also other factors such as the match of annotations. double relevance = 6; // Search result annotations specified by result_annotation_keys in search