From c863aae5fdbf09a74a07067f844ce9ab6a6c5eec Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 15 Apr 2026 03:00:53 +0000 Subject: [PATCH 1/4] chore: Update generation configuration at Wed Apr 15 03:00:46 UTC 2026 --- generation_config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generation_config.yaml b/generation_config.yaml index c11dc476b7bd..02c5275964e9 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.70.0 -googleapis_commitish: 62e4ecb2f4390728990514fea14aad0431881a52 -libraries_bom_version: 26.79.0 +gapic_generator_version: 2.71.0 +googleapis_commitish: bf85cad8abc13cd38d42b0cf8545d323243ff7e2 +libraries_bom_version: 26.80.0 libraries: - api_shortname: accessapproval name_pretty: Access Approval From 223a513b4ccce73c9836f94267f7b228b4625ae0 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 15 Apr 2026 04:35:40 +0000 Subject: [PATCH 2/4] chore: generate libraries at Wed Apr 15 03:03:30 UTC 2026 --- gapic-libraries-bom/pom.xml | 2 +- java-accessapproval/README.md | 2 +- java-accesscontextmanager/README.md | 2 +- java-advisorynotifications/README.md | 2 +- java-aiplatform/README.md | 2 +- java-alloydb-connectors/README.md | 2 +- java-alloydb/README.md | 2 +- java-analytics-admin/README.md | 2 +- .../v1alpha/AnalyticsAdminServiceClient.java | 153 +- .../AnalyticsAdminServiceSettings.java | 13 + .../admin/v1alpha/gapic_metadata.json | 3 + .../stub/AnalyticsAdminServiceStub.java | 8 + .../AnalyticsAdminServiceStubSettings.java | 35 +- .../stub/GrpcAnalyticsAdminServiceStub.java | 43 + .../HttpJsonAnalyticsAdminServiceStub.java | 67 + .../reflect-config.json | 36 + ...alyticsAdminServiceClientHttpJsonTest.java | 92 + .../AnalyticsAdminServiceClientTest.java | 82 + .../MockAnalyticsAdminServiceImpl.java | 23 + .../v1alpha/AnalyticsAdminServiceGrpc.java | 153 +- .../analytics/admin/v1alpha/Account.java | 28 +- .../admin/v1alpha/AccountOrBuilder.java | 8 +- .../admin/v1alpha/AccountSummary.java | 28 +- .../v1alpha/AccountSummaryOrBuilder.java | 8 +- .../admin/v1alpha/AnalyticsAdminProto.java | 2748 ++++++++--------- .../admin/v1alpha/CalculatedMetric.java | 28 +- .../v1alpha/CalculatedMetricOrBuilder.java | 8 +- .../admin/v1alpha/ChangeHistoryChange.java | 389 +++ .../v1alpha/ChangeHistoryResourceType.java | 23 + .../admin/v1alpha/ConversionEvent.java | 28 +- .../v1alpha/ConversionEventOrBuilder.java | 8 +- .../admin/v1alpha/CustomDimension.java | 28 +- .../v1alpha/CustomDimensionOrBuilder.java | 8 +- .../analytics/admin/v1alpha/CustomMetric.java | 28 +- .../admin/v1alpha/CustomMetricOrBuilder.java | 8 +- .../admin/v1alpha/DataRetentionSettings.java | 28 +- .../DataRetentionSettingsOrBuilder.java | 8 +- .../admin/v1alpha/DataSharingSettings.java | 36 +- .../v1alpha/DataSharingSettingsOrBuilder.java | 10 +- .../analytics/admin/v1alpha/DataStream.java | 28 +- .../admin/v1alpha/DataStreamOrBuilder.java | 8 +- .../DisplayVideo360AdvertiserLink.java | 28 +- ...isplayVideo360AdvertiserLinkOrBuilder.java | 8 +- ...DisplayVideo360AdvertiserLinkProposal.java | 28 +- ...deo360AdvertiserLinkProposalOrBuilder.java | 8 +- .../analytics/admin/v1alpha/FirebaseLink.java | 28 +- .../admin/v1alpha/FirebaseLinkOrBuilder.java | 8 +- .../GetUserProvidedDataSettingsRequest.java | 630 ++++ ...rProvidedDataSettingsRequestOrBuilder.java | 60 + .../admin/v1alpha/GlobalSiteTag.java | 28 +- .../admin/v1alpha/GlobalSiteTagOrBuilder.java | 8 +- .../admin/v1alpha/GoogleAdsLink.java | 28 +- .../admin/v1alpha/GoogleAdsLinkOrBuilder.java | 8 +- .../v1alpha/ListAccountSummariesRequest.java | 110 +- .../ListAccountSummariesRequestOrBuilder.java | 30 +- .../admin/v1alpha/ListAccountsRequest.java | 44 +- .../v1alpha/ListAccountsRequestOrBuilder.java | 12 +- .../v1alpha/ListConversionEventsRequest.java | 86 +- .../ListConversionEventsRequestOrBuilder.java | 24 +- .../v1alpha/ListCustomDimensionsRequest.java | 58 +- .../ListCustomDimensionsRequestOrBuilder.java | 16 +- .../v1alpha/ListFirebaseLinksRequest.java | 44 +- .../ListFirebaseLinksRequestOrBuilder.java | 12 +- .../v1alpha/ListGoogleAdsLinksRequest.java | 44 +- .../ListGoogleAdsLinksRequestOrBuilder.java | 12 +- .../admin/v1alpha/ListKeyEventsRequest.java | 44 +- .../ListKeyEventsRequestOrBuilder.java | 12 +- ...ListMeasurementProtocolSecretsRequest.java | 93 +- ...rementProtocolSecretsRequestOrBuilder.java | 26 +- .../admin/v1alpha/ListPropertiesRequest.java | 44 +- .../ListPropertiesRequestOrBuilder.java | 12 +- ...dNetworkConversionValueSchemasRequest.java | 44 +- ...onversionValueSchemasRequestOrBuilder.java | 12 +- .../v1alpha/MeasurementProtocolSecret.java | 42 +- .../MeasurementProtocolSecretOrBuilder.java | 12 +- .../analytics/admin/v1alpha/Property.java | 28 +- .../admin/v1alpha/PropertyOrBuilder.java | 8 +- .../admin/v1alpha/ResourcesProto.java | 482 +-- .../SKAdNetworkConversionValueSchema.java | 28 +- ...NetworkConversionValueSchemaOrBuilder.java | 8 +- .../admin/v1alpha/SearchAds360Link.java | 28 +- .../v1alpha/SearchAds360LinkOrBuilder.java | 8 +- .../v1alpha/UserProvidedDataSettings.java | 843 +++++ .../v1alpha/UserProvidedDataSettingsName.java | 169 + .../UserProvidedDataSettingsOrBuilder.java | 89 + .../admin/v1alpha/access_report.proto | 2 +- .../admin/v1alpha/analytics_admin.proto | 132 +- .../analytics/admin/v1alpha/audience.proto | 2 +- .../admin/v1alpha/channel_group.proto | 2 +- .../admin/v1alpha/event_create_and_edit.proto | 2 +- .../admin/v1alpha/expanded_data_set.proto | 2 +- .../analytics/admin/v1alpha/resources.proto | 142 +- .../v1alpha/subproperty_event_filter.proto | 2 +- .../AsyncGetUserProvidedDataSettings.java | 51 + .../SyncGetUserProvidedDataSettings.java | 48 + ...SyncGetUserProvidedDataSettingsString.java | 44 + ...aSettingsUserprovideddatasettingsname.java | 45 + java-analytics-data/README.md | 2 +- java-analyticshub/README.md | 2 +- java-api-gateway/README.md | 2 +- java-apigee-connect/README.md | 2 +- java-apigee-registry/README.md | 2 +- java-apihub/README.md | 2 +- java-apikeys/README.md | 2 +- java-appengine-admin/README.md | 2 +- java-apphub/README.md | 2 +- java-appoptimize/README.md | 2 +- java-area120-tables/README.md | 2 +- java-artifact-registry/README.md | 2 +- java-asset/README.md | 2 +- java-assured-workloads/README.md | 2 +- java-auditmanager/README.md | 2 +- java-automl/README.md | 2 +- java-backupdr/README.md | 2 +- java-bare-metal-solution/README.md | 2 +- java-batch/README.md | 2 +- java-beyondcorp-appconnections/README.md | 2 +- java-beyondcorp-appconnectors/README.md | 2 +- java-beyondcorp-appgateways/README.md | 2 +- .../README.md | 2 +- java-beyondcorp-clientgateways/README.md | 2 +- java-biglake/README.md | 2 +- java-bigquery-data-exchange/README.md | 2 +- java-bigqueryconnection/README.md | 2 +- java-bigquerydatapolicy/README.md | 2 +- java-bigquerydatatransfer/README.md | 2 +- java-bigquerymigration/README.md | 2 +- java-bigqueryreservation/README.md | 2 +- java-bigquerystorage/README.md | 2 +- java-billing/README.md | 2 +- java-billingbudgets/README.md | 2 +- java-binary-authorization/README.md | 2 +- java-capacityplanner/README.md | 2 +- java-certificate-manager/README.md | 2 +- java-ces/README.md | 2 +- .../ces/v1beta/EvaluationServiceClient.java | 182 ++ .../ces/v1beta/EvaluationServiceSettings.java | 25 + .../cloud/ces/v1beta/ToolServiceClient.java | 3 + .../cloud/ces/v1beta/gapic_metadata.json | 3 + .../google/cloud/ces/v1beta/package-info.java | 1 + .../v1beta/stub/EvaluationServiceStub.java | 13 + .../stub/EvaluationServiceStubSettings.java | 76 + .../stub/GrpcEvaluationServiceStub.java | 51 + .../stub/HttpJsonEvaluationServiceStub.java | 84 + .../reflect-config.json | 180 ++ .../EvaluationServiceClientHttpJsonTest.java | 106 + .../v1beta/EvaluationServiceClientTest.java | 100 + .../ces/v1beta/MockEvaluationServiceImpl.java | 21 + .../v1beta/ToolServiceClientHttpJsonTest.java | 2 + .../ces/v1beta/ToolServiceClientTest.java | 3 + .../ces/v1beta/EvaluationServiceGrpc.java | 127 + .../com/google/cloud/ces/v1beta/AppProto.java | 157 +- .../v1beta/ConversationLoggingSettings.java | 328 +- .../ConversationLoggingSettingsOrBuilder.java | 43 + .../ces/v1beta/ErrorHandlingSettings.java | 2314 +++++++++++++- .../ErrorHandlingSettingsOrBuilder.java | 92 + .../cloud/ces/v1beta/EvaluationConfig.java | 16 +- .../ces/v1beta/EvaluationConfigOrBuilder.java | 8 +- .../v1beta/EvaluationMetricsThresholds.java | 14 +- .../EvaluationMetricsThresholdsOrBuilder.java | 4 +- .../cloud/ces/v1beta/EvaluationProto.java | 156 +- .../cloud/ces/v1beta/EvaluationResult.java | 31 +- .../ces/v1beta/EvaluationResultOrBuilder.java | 4 +- .../cloud/ces/v1beta/EvaluationRun.java | 8 +- .../ces/v1beta/EvaluationRunOrBuilder.java | 4 +- .../ces/v1beta/EvaluationServiceProto.java | 492 +-- .../cloud/ces/v1beta/ExecuteToolRequest.java | 329 ++ .../v1beta/ExecuteToolRequestOrBuilder.java | 49 + .../ExportEvaluationResultsResponse.java | 899 ++++++ ...ortEvaluationResultsResponseOrBuilder.java | 104 + .../v1beta/ExportEvaluationRunsResponse.java | 898 ++++++ ...ExportEvaluationRunsResponseOrBuilder.java | 104 + .../ces/v1beta/ExportEvaluationsRequest.java | 1455 +++++++++ .../ExportEvaluationsRequestOrBuilder.java | 193 ++ .../ces/v1beta/ExportEvaluationsResponse.java | 1283 ++++++++ .../ExportEvaluationsResponseOrBuilder.java | 178 ++ .../cloud/ces/v1beta/ExportOptions.java | 956 ++++++ .../ces/v1beta/ExportOptionsOrBuilder.java | 88 + .../ces/v1beta/GenerateEvaluationRequest.java | 14 +- .../GenerateEvaluationRequestOrBuilder.java | 4 +- .../ces/v1beta/ImportEvaluationsResponse.java | 1375 ++++++++- .../ImportEvaluationsResponseOrBuilder.java | 143 +- .../ces/v1beta/ListEvaluationsRequest.java | 14 +- .../ListEvaluationsRequestOrBuilder.java | 4 +- .../google/cloud/ces/v1beta/MockConfig.java | 1337 ++++++++ .../cloud/ces/v1beta/MockConfigOrBuilder.java | 126 + .../cloud/ces/v1beta/MockedToolCall.java | 1963 ++++++++++++ .../ces/v1beta/MockedToolCallOrBuilder.java | 249 ++ .../google/cloud/ces/v1beta/MocksProto.java | 106 + .../cloud/ces/v1beta/SessionServiceProto.java | 145 +- .../cloud/ces/v1beta/ToolServiceProto.java | 124 +- .../proto/google/cloud/ces/v1beta/app.proto | 40 + .../google/cloud/ces/v1beta/evaluation.proto | 3 + .../cloud/ces/v1beta/evaluation_service.proto | 136 +- .../proto/google/cloud/ces/v1beta/mocks.proto | 65 + .../cloud/ces/v1beta/session_service.proto | 26 + .../cloud/ces/v1beta/tool_service.proto | 6 + .../AsyncExportEvaluations.java | 56 + .../AsyncExportEvaluationsLRO.java | 57 + .../SyncExportEvaluations.java | 53 + .../SyncExportEvaluationsAppname.java | 43 + .../SyncExportEvaluationsString.java | 43 + .../executetool/AsyncExecuteTool.java | 2 + .../executetool/SyncExecuteTool.java | 2 + java-channel/README.md | 2 +- java-chat/README.md | 2 +- java-chronicle/README.md | 2 +- java-cloudapiregistry/README.md | 2 +- java-cloudbuild/README.md | 2 +- .../README.md | 2 +- java-cloudcontrolspartner/README.md | 2 +- java-cloudquotas/README.md | 2 +- java-cloudsecuritycompliance/README.md | 2 +- java-cloudsupport/README.md | 2 +- java-compute/README.md | 2 +- java-confidentialcomputing/README.md | 2 +- java-configdelivery/README.md | 2 +- java-connectgateway/README.md | 2 +- java-contact-center-insights/README.md | 2 +- java-container/README.md | 2 +- java-containeranalysis/README.md | 2 +- java-contentwarehouse/README.md | 2 +- java-data-fusion/README.md | 2 +- java-databasecenter/README.md | 2 +- java-datacatalog/README.md | 2 +- java-dataflow/README.md | 2 +- java-dataform/README.md | 2 +- java-datalabeling/README.md | 2 +- java-datalineage/README.md | 2 +- java-dataplex/README.md | 2 +- java-dataproc-metastore/README.md | 2 +- java-dataproc/README.md | 2 +- java-datastore/README.md | 2 +- java-datastream/README.md | 2 +- java-deploy/README.md | 2 +- java-developerconnect/README.md | 2 +- java-devicestreaming/README.md | 2 +- java-dialogflow-cx/README.md | 2 +- java-dialogflow/README.md | 2 +- java-discoveryengine/README.md | 2 +- java-distributedcloudedge/README.md | 2 +- java-dlp/README.md | 2 +- java-dms/README.md | 2 +- java-document-ai/README.md | 2 +- java-domains/README.md | 2 +- java-edgenetwork/README.md | 2 +- java-enterpriseknowledgegraph/README.md | 2 +- java-errorreporting/README.md | 2 +- java-essential-contacts/README.md | 2 +- java-eventarc-publishing/README.md | 2 +- java-eventarc/README.md | 2 +- java-filestore/README.md | 2 +- java-financialservices/README.md | 2 +- java-functions/README.md | 2 +- java-gdchardwaremanagement/README.md | 2 +- java-geminidataanalytics/README.md | 2 +- java-gke-backup/README.md | 2 +- java-gke-connect-gateway/README.md | 2 +- java-gke-multi-cloud/README.md | 2 +- java-gkehub/README.md | 2 +- java-gkerecommender/README.md | 2 +- java-gsuite-addons/README.md | 2 +- java-hypercomputecluster/README.md | 2 +- java-iam-admin/README.md | 2 +- java-iam/README.md | 2 +- java-iamcredentials/README.md | 2 +- java-iap/README.md | 2 +- java-ids/README.md | 2 +- java-infra-manager/README.md | 2 +- java-iot/README.md | 2 +- java-kms/README.md | 2 +- java-kmsinventory/README.md | 2 +- java-language/README.md | 2 +- java-licensemanager/README.md | 2 +- java-life-sciences/README.md | 2 +- java-locationfinder/README.md | 2 +- java-logging/README.md | 2 +- java-lustre/README.md | 2 +- java-maintenance/README.md | 2 +- java-managed-identities/README.md | 2 +- java-managedkafka/README.md | 2 +- java-mediatranslation/README.md | 2 +- java-meet/README.md | 2 +- java-memcache/README.md | 2 +- java-migrationcenter/README.md | 2 +- java-modelarmor/README.md | 2 +- java-monitoring-dashboards/README.md | 2 +- java-monitoring-metricsscope/README.md | 2 +- java-monitoring/README.md | 2 +- java-netapp/README.md | 2 +- java-network-management/README.md | 2 +- java-network-security/README.md | 2 +- java-networkconnectivity/README.md | 2 +- java-networkservices/README.md | 2 +- java-notebooks/README.md | 2 +- java-optimization/README.md | 2 +- java-oracledatabase/README.md | 2 +- java-orchestration-airflow/README.md | 2 +- java-orgpolicy/README.md | 2 +- java-os-config/README.md | 2 +- java-os-login/README.md | 2 +- java-parallelstore/README.md | 2 +- java-parametermanager/README.md | 2 +- java-phishingprotection/README.md | 2 +- java-policy-troubleshooter/README.md | 2 +- java-policysimulator/README.md | 2 +- java-private-catalog/README.md | 2 +- java-privilegedaccessmanager/README.md | 2 +- java-profiler/README.md | 2 +- java-publicca/README.md | 2 +- java-rapidmigrationassessment/README.md | 2 +- java-recaptchaenterprise/README.md | 2 +- java-recommendations-ai/README.md | 2 +- java-recommender/README.md | 2 +- java-redis-cluster/README.md | 2 +- java-redis/README.md | 2 +- java-resourcemanager/README.md | 2 +- java-retail/README.md | 2 +- java-run/README.md | 2 +- java-saasservicemgmt/README.md | 2 +- .../v1beta1/SaasDeploymentsClient.java | 44 +- .../v1beta1/SaasRolloutsClient.java | 44 +- .../saasservicemgmt/v1beta1/package-info.java | 2 +- .../saasservicemgmt/v1beta1/Tenant.java | 70 +- .../v1beta1/TenantOrBuilder.java | 20 +- .../saasservicemgmt/v1beta1/ToMapping.java | 16 +- .../v1beta1/ToMappingOrBuilder.java | 4 +- .../saasservicemgmt/v1beta1/UnitKind.java | 35 +- .../v1beta1/UnitKindOrBuilder.java | 10 +- .../saasservicemgmt/v1beta1/common.proto | 2 +- .../v1beta1/deployments_resources.proto | 21 +- .../v1beta1/deployments_service.proto | 2 +- .../v1beta1/rollouts_resources.proto | 2 +- .../v1beta1/rollouts_service.proto | 2 +- java-scheduler/README.md | 2 +- java-secretmanager/README.md | 2 +- java-securesourcemanager/README.md | 2 +- java-security-private-ca/README.md | 2 +- java-securitycenter-settings/README.md | 2 +- java-securitycenter/README.md | 2 +- java-securitycentermanagement/README.md | 2 +- java-securityposture/README.md | 2 +- java-service-control/README.md | 2 +- java-service-management/README.md | 2 +- java-service-usage/README.md | 2 +- java-servicedirectory/README.md | 2 +- java-servicehealth/README.md | 2 +- java-shell/README.md | 2 +- java-spanner/README.md | 2 +- java-spanneradapter/README.md | 2 +- java-speech/README.md | 2 +- java-storage-transfer/README.md | 2 +- java-storage/README.md | 2 +- java-storagebatchoperations/README.md | 2 +- java-storageinsights/README.md | 2 +- java-talent/README.md | 2 +- java-tasks/README.md | 2 +- java-telcoautomation/README.md | 2 +- java-texttospeech/README.md | 2 +- java-tpu/README.md | 2 +- java-trace/README.md | 2 +- java-translate/README.md | 2 +- java-valkey/README.md | 2 +- java-vectorsearch/README.md | 10 +- java-video-intelligence/README.md | 2 +- java-video-live-stream/README.md | 2 +- java-video-stitcher/README.md | 2 +- java-video-transcoder/README.md | 2 +- java-vision/README.md | 2 +- java-visionai/README.md | 2 +- java-vmmigration/README.md | 2 +- java-vmwareengine/README.md | 2 +- java-vpcaccess/README.md | 2 +- java-webrisk/README.md | 2 +- java-websecurityscanner/README.md | 2 +- java-workflow-executions/README.md | 2 +- java-workflows/README.md | 2 +- java-workloadmanager/README.md | 2 +- java-workspaceevents/README.md | 2 +- java-workstations/README.md | 2 +- 380 files changed, 22805 insertions(+), 3283 deletions(-) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserProvidedDataSettingsRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserProvidedDataSettingsRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettings.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettingsName.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettingsOrBuilder.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/AsyncGetUserProvidedDataSettings.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettings.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettingsString.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettingsUserprovideddatasettingsname.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationResultsResponse.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationResultsResponseOrBuilder.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationRunsResponse.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationRunsResponseOrBuilder.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsRequest.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsRequestOrBuilder.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsResponse.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsResponseOrBuilder.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportOptions.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportOptionsOrBuilder.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockConfig.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockConfigOrBuilder.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockedToolCall.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockedToolCallOrBuilder.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MocksProto.java create mode 100644 java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/mocks.proto create mode 100644 java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/AsyncExportEvaluations.java create mode 100644 java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/AsyncExportEvaluationsLRO.java create mode 100644 java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluations.java create mode 100644 java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluationsAppname.java create mode 100644 java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluationsString.java diff --git a/gapic-libraries-bom/pom.xml b/gapic-libraries-bom/pom.xml index 9f1174f95b72..9cbef9e2cdee 100644 --- a/gapic-libraries-bom/pom.xml +++ b/gapic-libraries-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud gapic-libraries-bom pom - 1.85.1 + 1.85.0 Google Cloud Java BOM BOM for the libraries in google-cloud-java repository. Users should not diff --git a/java-accessapproval/README.md b/java-accessapproval/README.md index b50bc49ad421..2182d18d0244 100644 --- a/java-accessapproval/README.md +++ b/java-accessapproval/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-accesscontextmanager/README.md b/java-accesscontextmanager/README.md index 394b723b8f15..e202b22405cd 100644 --- a/java-accesscontextmanager/README.md +++ b/java-accesscontextmanager/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-advisorynotifications/README.md b/java-advisorynotifications/README.md index d569a787057c..e026aeb16d56 100644 --- a/java-advisorynotifications/README.md +++ b/java-advisorynotifications/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-aiplatform/README.md b/java-aiplatform/README.md index 7d6aa620b3cb..89312b6a3aff 100644 --- a/java-aiplatform/README.md +++ b/java-aiplatform/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-alloydb-connectors/README.md b/java-alloydb-connectors/README.md index ed18e21fda8f..0642d02233d0 100644 --- a/java-alloydb-connectors/README.md +++ b/java-alloydb-connectors/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-alloydb/README.md b/java-alloydb/README.md index 811122f0c9c9..3421412e3c2e 100644 --- a/java-alloydb/README.md +++ b/java-alloydb/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-analytics-admin/README.md b/java-analytics-admin/README.md index 0310b82f140a..673334a1e2a1 100644 --- a/java-analytics-admin/README.md +++ b/java-analytics-admin/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java index 6018a29020fb..236b0f6ac9e3 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java @@ -2908,7 +2908,7 @@ * * *

GetReportingIdentitySettings - *

Returns the singleton data retention settings for this property. + *

Returns the reporting identity settings for this property. * *

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

*
    @@ -2925,6 +2925,25 @@ *
* * + * + *

GetUserProvidedDataSettings + *

Looks up settings related to user-provided data for a property. + * + *

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

+ *
    + *
  • getUserProvidedDataSettings(GetUserProvidedDataSettingsRequest request) + *

+ *

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

+ *
    + *
  • getUserProvidedDataSettings(UserProvidedDataSettingsName name) + *

  • getUserProvidedDataSettings(String name) + *

+ *

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

+ *
    + *
  • getUserProvidedDataSettingsCallable() + *

+ * + * * * *

See the individual methods for example code. @@ -22198,7 +22217,7 @@ public final SubpropertySyncConfig getSubpropertySyncConfig( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns the singleton data retention settings for this property. + * Returns the reporting identity settings for this property. * *

Sample code: * @@ -22232,7 +22251,7 @@ public final ReportingIdentitySettings getReportingIdentitySettings( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns the singleton data retention settings for this property. + * Returns the reporting identity settings for this property. * *

Sample code: * @@ -22263,7 +22282,7 @@ public final ReportingIdentitySettings getReportingIdentitySettings(String name) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns the singleton data retention settings for this property. + * Returns the reporting identity settings for this property. * *

Sample code: * @@ -22294,7 +22313,7 @@ public final ReportingIdentitySettings getReportingIdentitySettings( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns the singleton data retention settings for this property. + * Returns the reporting identity settings for this property. * *

Sample code: * @@ -22322,6 +22341,130 @@ public final ReportingIdentitySettings getReportingIdentitySettings( return stub.getReportingIdentitySettingsCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Looks up settings related to user-provided data for a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   UserProvidedDataSettingsName name = UserProvidedDataSettingsName.of("[PROPERTY]");
+   *   UserProvidedDataSettings response =
+   *       analyticsAdminServiceClient.getUserProvidedDataSettings(name);
+   * }
+   * }
+ * + * @param name Required. The name of the user provided data settings to retrieve. Format: + * properties/{property}/userProvidedDataSettings + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final UserProvidedDataSettings getUserProvidedDataSettings( + UserProvidedDataSettingsName name) { + GetUserProvidedDataSettingsRequest request = + GetUserProvidedDataSettingsRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getUserProvidedDataSettings(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Looks up settings related to user-provided data for a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   String name = UserProvidedDataSettingsName.of("[PROPERTY]").toString();
+   *   UserProvidedDataSettings response =
+   *       analyticsAdminServiceClient.getUserProvidedDataSettings(name);
+   * }
+   * }
+ * + * @param name Required. The name of the user provided data settings to retrieve. Format: + * properties/{property}/userProvidedDataSettings + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final UserProvidedDataSettings getUserProvidedDataSettings(String name) { + GetUserProvidedDataSettingsRequest request = + GetUserProvidedDataSettingsRequest.newBuilder().setName(name).build(); + return getUserProvidedDataSettings(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Looks up settings related to user-provided data for a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   GetUserProvidedDataSettingsRequest request =
+   *       GetUserProvidedDataSettingsRequest.newBuilder()
+   *           .setName(UserProvidedDataSettingsName.of("[PROPERTY]").toString())
+   *           .build();
+   *   UserProvidedDataSettings response =
+   *       analyticsAdminServiceClient.getUserProvidedDataSettings(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final UserProvidedDataSettings getUserProvidedDataSettings( + GetUserProvidedDataSettingsRequest request) { + return getUserProvidedDataSettingsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Looks up settings related to user-provided data for a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   GetUserProvidedDataSettingsRequest request =
+   *       GetUserProvidedDataSettingsRequest.newBuilder()
+   *           .setName(UserProvidedDataSettingsName.of("[PROPERTY]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.getUserProvidedDataSettingsCallable().futureCall(request);
+   *   // Do something.
+   *   UserProvidedDataSettings response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getUserProvidedDataSettingsCallable() { + return stub.getUserProvidedDataSettingsCallable(); + } + @Override public final void close() { stub.close(); diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java index b6f3b921afb9..f846a3b7501c 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java @@ -1168,6 +1168,13 @@ public UnaryCallSettings deleteCalculatedM .getReportingIdentitySettingsSettings(); } + /** Returns the object with the settings used for calls to getUserProvidedDataSettings. */ + public UnaryCallSettings + getUserProvidedDataSettingsSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()) + .getUserProvidedDataSettingsSettings(); + } + public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub) throws IOException { return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build(); @@ -2332,6 +2339,12 @@ public UnaryCallSettings.Builder deleteAdSenseL return getStubSettingsBuilder().getReportingIdentitySettingsSettings(); } + /** Returns the builder for the settings used for calls to getUserProvidedDataSettings. */ + public UnaryCallSettings.Builder + getUserProvidedDataSettingsSettings() { + return getStubSettingsBuilder().getUserProvidedDataSettingsSettings(); + } + @Override public AnalyticsAdminServiceSettings build() throws IOException { return new AnalyticsAdminServiceSettings(this); diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json index 7cabf87a2c58..3ca72cd0beb4 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json @@ -286,6 +286,9 @@ "GetSubpropertySyncConfig": { "methods": ["getSubpropertySyncConfig", "getSubpropertySyncConfig", "getSubpropertySyncConfig", "getSubpropertySyncConfigCallable"] }, + "GetUserProvidedDataSettings": { + "methods": ["getUserProvidedDataSettings", "getUserProvidedDataSettings", "getUserProvidedDataSettings", "getUserProvidedDataSettingsCallable"] + }, "ListAccessBindings": { "methods": ["listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindingsPagedCallable", "listAccessBindingsCallable"] }, diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java index fc36eb98c24f..95c4a8f885cf 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java @@ -166,6 +166,7 @@ import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest; import com.google.analytics.admin.v1alpha.GetSubpropertySyncConfigRequest; +import com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest; import com.google.analytics.admin.v1alpha.GlobalSiteTag; import com.google.analytics.admin.v1alpha.GoogleAdsLink; import com.google.analytics.admin.v1alpha.GoogleSignalsSettings; @@ -274,6 +275,7 @@ import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest; import com.google.analytics.admin.v1alpha.UpdateSubpropertySyncConfigRequest; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettings; import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.rpc.UnaryCallable; @@ -1219,6 +1221,12 @@ public UnaryCallable deleteCalculatedMetri "Not implemented: getReportingIdentitySettingsCallable()"); } + public UnaryCallable + getUserProvidedDataSettingsCallable() { + throw new UnsupportedOperationException( + "Not implemented: getUserProvidedDataSettingsCallable()"); + } + @Override public abstract void close(); } diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java index 3e6f8513237c..542b462b37ac 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java @@ -168,6 +168,7 @@ import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest; import com.google.analytics.admin.v1alpha.GetSubpropertySyncConfigRequest; +import com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest; import com.google.analytics.admin.v1alpha.GlobalSiteTag; import com.google.analytics.admin.v1alpha.GoogleAdsLink; import com.google.analytics.admin.v1alpha.GoogleSignalsSettings; @@ -276,6 +277,7 @@ import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest; import com.google.analytics.admin.v1alpha.UpdateSubpropertySyncConfigRequest; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettings; import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.BetaApi; @@ -729,6 +731,8 @@ public class AnalyticsAdminServiceStubSettings getSubpropertySyncConfigSettings; private final UnaryCallSettings getReportingIdentitySettingsSettings; + private final UnaryCallSettings + getUserProvidedDataSettingsSettings; private static final PagedListDescriptor LIST_ACCOUNTS_PAGE_STR_DESC = @@ -3600,6 +3604,12 @@ public UnaryCallSettings deleteCalculatedM return getReportingIdentitySettingsSettings; } + /** Returns the object with the settings used for calls to getUserProvidedDataSettings. */ + public UnaryCallSettings + getUserProvidedDataSettingsSettings() { + return getUserProvidedDataSettingsSettings; + } + public AnalyticsAdminServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() @@ -3908,6 +3918,8 @@ protected AnalyticsAdminServiceStubSettings(Builder settingsBuilder) throws IOEx getSubpropertySyncConfigSettings = settingsBuilder.getSubpropertySyncConfigSettings().build(); getReportingIdentitySettingsSettings = settingsBuilder.getReportingIdentitySettingsSettings().build(); + getUserProvidedDataSettingsSettings = + settingsBuilder.getUserProvidedDataSettingsSettings().build(); } @Override @@ -4315,6 +4327,9 @@ public static class Builder private final UnaryCallSettings.Builder< GetReportingIdentitySettingsRequest, ReportingIdentitySettings> getReportingIdentitySettingsSettings; + private final UnaryCallSettings.Builder< + GetUserProvidedDataSettingsRequest, UserProvidedDataSettings> + getUserProvidedDataSettingsSettings; private static final ImmutableMap> RETRYABLE_CODE_DEFINITIONS; @@ -4546,6 +4561,7 @@ protected Builder(ClientContext clientContext) { updateSubpropertySyncConfigSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getSubpropertySyncConfigSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getReportingIdentitySettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getUserProvidedDataSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -4702,7 +4718,8 @@ protected Builder(ClientContext clientContext) { listSubpropertySyncConfigsSettings, updateSubpropertySyncConfigSettings, getSubpropertySyncConfigSettings, - getReportingIdentitySettingsSettings); + getReportingIdentitySettingsSettings, + getUserProvidedDataSettingsSettings); initDefaults(this); } @@ -4904,6 +4921,8 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) { getSubpropertySyncConfigSettings = settings.getSubpropertySyncConfigSettings.toBuilder(); getReportingIdentitySettingsSettings = settings.getReportingIdentitySettingsSettings.toBuilder(); + getUserProvidedDataSettingsSettings = + settings.getUserProvidedDataSettingsSettings.toBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -5060,7 +5079,8 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) { listSubpropertySyncConfigsSettings, updateSubpropertySyncConfigSettings, getSubpropertySyncConfigSettings, - getReportingIdentitySettingsSettings); + getReportingIdentitySettingsSettings, + getUserProvidedDataSettingsSettings); } private static Builder createDefault() { @@ -5858,6 +5878,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder + .getUserProvidedDataSettingsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + return builder; } @@ -6927,6 +6952,12 @@ public UnaryCallSettings.Builder deleteAdSenseL return getReportingIdentitySettingsSettings; } + /** Returns the builder for the settings used for calls to getUserProvidedDataSettings. */ + public UnaryCallSettings.Builder + getUserProvidedDataSettingsSettings() { + return getUserProvidedDataSettingsSettings; + } + @Override public AnalyticsAdminServiceStubSettings build() throws IOException { return new AnalyticsAdminServiceStubSettings(this); diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java index 167144e25761..27f5287590e1 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java @@ -166,6 +166,7 @@ import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest; import com.google.analytics.admin.v1alpha.GetSubpropertySyncConfigRequest; +import com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest; import com.google.analytics.admin.v1alpha.GlobalSiteTag; import com.google.analytics.admin.v1alpha.GoogleAdsLink; import com.google.analytics.admin.v1alpha.GoogleSignalsSettings; @@ -274,6 +275,7 @@ import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest; import com.google.analytics.admin.v1alpha.UpdateSubpropertySyncConfigRequest; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettings; import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.core.BackgroundResourceAggregation; @@ -2323,6 +2325,21 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub { .setSampledToLocalTracing(true) .build(); + private static final MethodDescriptor< + GetUserProvidedDataSettingsRequest, UserProvidedDataSettings> + getUserProvidedDataSettingsMethodDescriptor = + MethodDescriptor + .newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/GetUserProvidedDataSettings") + .setRequestMarshaller( + ProtoUtils.marshaller(GetUserProvidedDataSettingsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(UserProvidedDataSettings.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + private final UnaryCallable getAccountCallable; private final UnaryCallable listAccountsCallable; private final UnaryCallable @@ -2669,6 +2686,8 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub { getSubpropertySyncConfigCallable; private final UnaryCallable getReportingIdentitySettingsCallable; + private final UnaryCallable + getUserProvidedDataSettingsCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; @@ -4554,6 +4573,19 @@ protected GrpcAnalyticsAdminServiceStub( }) .setResourceNameExtractor(request -> request.getName()) .build(); + GrpcCallSettings + getUserProvidedDataSettingsTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(getUserProvidedDataSettingsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); this.getAccountCallable = callableFactory.createUnaryCallable( @@ -5392,6 +5424,11 @@ protected GrpcAnalyticsAdminServiceStub( getReportingIdentitySettingsTransportSettings, settings.getReportingIdentitySettingsSettings(), clientContext); + this.getUserProvidedDataSettingsCallable = + callableFactory.createUnaryCallable( + getUserProvidedDataSettingsTransportSettings, + settings.getUserProvidedDataSettingsSettings(), + clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -6453,6 +6490,12 @@ public UnaryCallable deleteCalculatedMetri return getReportingIdentitySettingsCallable; } + @Override + public UnaryCallable + getUserProvidedDataSettingsCallable() { + return getUserProvidedDataSettingsCallable; + } + @Override public final void close() { try { diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java index b0f5de254329..8b0a3a55b3e7 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java @@ -166,6 +166,7 @@ import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest; import com.google.analytics.admin.v1alpha.GetSubpropertySyncConfigRequest; +import com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest; import com.google.analytics.admin.v1alpha.GlobalSiteTag; import com.google.analytics.admin.v1alpha.GoogleAdsLink; import com.google.analytics.admin.v1alpha.GoogleSignalsSettings; @@ -274,6 +275,7 @@ import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest; import com.google.analytics.admin.v1alpha.UpdateSubpropertySyncConfigRequest; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettings; import com.google.api.core.BetaApi; import com.google.api.core.InternalApi; import com.google.api.gax.core.BackgroundResource; @@ -6273,6 +6275,43 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub .build()) .build(); + private static final ApiMethodDescriptor< + GetUserProvidedDataSettingsRequest, UserProvidedDataSettings> + getUserProvidedDataSettingsMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/GetUserProvidedDataSettings") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1alpha/{name=properties/*/userProvidedDataSettings}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(UserProvidedDataSettings.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private final UnaryCallable getAccountCallable; private final UnaryCallable listAccountsCallable; private final UnaryCallable @@ -6619,6 +6658,8 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub getSubpropertySyncConfigCallable; private final UnaryCallable getReportingIdentitySettingsCallable; + private final UnaryCallable + getUserProvidedDataSettingsCallable; private final BackgroundResource backgroundResources; private final HttpJsonStubCallableFactory callableFactory; @@ -8698,6 +8739,20 @@ protected HttpJsonAnalyticsAdminServiceStub( }) .setResourceNameExtractor(request -> request.getName()) .build(); + HttpJsonCallSettings + getUserProvidedDataSettingsTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(getUserProvidedDataSettingsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); this.getAccountCallable = callableFactory.createUnaryCallable( @@ -9536,6 +9591,11 @@ protected HttpJsonAnalyticsAdminServiceStub( getReportingIdentitySettingsTransportSettings, settings.getReportingIdentitySettingsSettings(), clientContext); + this.getUserProvidedDataSettingsCallable = + callableFactory.createUnaryCallable( + getUserProvidedDataSettingsTransportSettings, + settings.getUserProvidedDataSettingsSettings(), + clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -9698,6 +9758,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(updateSubpropertySyncConfigMethodDescriptor); methodDescriptors.add(getSubpropertySyncConfigMethodDescriptor); methodDescriptors.add(getReportingIdentitySettingsMethodDescriptor); + methodDescriptors.add(getUserProvidedDataSettingsMethodDescriptor); return methodDescriptors; } @@ -10753,6 +10814,12 @@ public UnaryCallable deleteCalculatedMetri return getReportingIdentitySettingsCallable; } + @Override + public UnaryCallable + getUserProvidedDataSettingsCallable() { + return getUserProvidedDataSettingsCallable; + } + @Override public final void close() { try { diff --git a/java-analytics-admin/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1alpha/reflect-config.json b/java-analytics-admin/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1alpha/reflect-config.json index 849dd00286a2..d26e54152eb1 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1alpha/reflect-config.json +++ b/java-analytics-admin/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1alpha/reflect-config.json @@ -3383,6 +3383,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.analytics.admin.v1alpha.GlobalSiteTag", "queryAllDeclaredConstructors": true, @@ -5705,6 +5723,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.analytics.admin.v1alpha.UserProvidedDataSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.analytics.admin.v1alpha.UserProvidedDataSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.BatchingConfigProto", "queryAllDeclaredConstructors": true, diff --git a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java index 2030289f6780..e9ef7a96429b 100644 --- a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java +++ b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java @@ -13605,4 +13605,96 @@ public void getReportingIdentitySettingsExceptionTest2() throws Exception { // Expected exception. } } + + @Test + public void getUserProvidedDataSettingsTest() throws Exception { + UserProvidedDataSettings expectedResponse = + UserProvidedDataSettings.newBuilder() + .setName(UserProvidedDataSettingsName.of("[PROPERTY]").toString()) + .setUserProvidedDataCollectionEnabled(true) + .setAutomaticallyDetectedDataCollectionEnabled(true) + .build(); + mockService.addResponse(expectedResponse); + + UserProvidedDataSettingsName name = UserProvidedDataSettingsName.of("[PROPERTY]"); + + UserProvidedDataSettings actualResponse = client.getUserProvidedDataSettings(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getUserProvidedDataSettingsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + UserProvidedDataSettingsName name = UserProvidedDataSettingsName.of("[PROPERTY]"); + client.getUserProvidedDataSettings(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getUserProvidedDataSettingsTest2() throws Exception { + UserProvidedDataSettings expectedResponse = + UserProvidedDataSettings.newBuilder() + .setName(UserProvidedDataSettingsName.of("[PROPERTY]").toString()) + .setUserProvidedDataCollectionEnabled(true) + .setAutomaticallyDetectedDataCollectionEnabled(true) + .build(); + mockService.addResponse(expectedResponse); + + String name = "properties/propertie-4671/userProvidedDataSettings"; + + UserProvidedDataSettings actualResponse = client.getUserProvidedDataSettings(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getUserProvidedDataSettingsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "properties/propertie-4671/userProvidedDataSettings"; + client.getUserProvidedDataSettings(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java index 006c08076f0c..604514faf54f 100644 --- a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java +++ b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java @@ -11809,4 +11809,86 @@ public void getReportingIdentitySettingsExceptionTest2() throws Exception { // Expected exception. } } + + @Test + public void getUserProvidedDataSettingsTest() throws Exception { + UserProvidedDataSettings expectedResponse = + UserProvidedDataSettings.newBuilder() + .setName(UserProvidedDataSettingsName.of("[PROPERTY]").toString()) + .setUserProvidedDataCollectionEnabled(true) + .setAutomaticallyDetectedDataCollectionEnabled(true) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + UserProvidedDataSettingsName name = UserProvidedDataSettingsName.of("[PROPERTY]"); + + UserProvidedDataSettings actualResponse = client.getUserProvidedDataSettings(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetUserProvidedDataSettingsRequest actualRequest = + ((GetUserProvidedDataSettingsRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getUserProvidedDataSettingsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + UserProvidedDataSettingsName name = UserProvidedDataSettingsName.of("[PROPERTY]"); + client.getUserProvidedDataSettings(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getUserProvidedDataSettingsTest2() throws Exception { + UserProvidedDataSettings expectedResponse = + UserProvidedDataSettings.newBuilder() + .setName(UserProvidedDataSettingsName.of("[PROPERTY]").toString()) + .setUserProvidedDataCollectionEnabled(true) + .setAutomaticallyDetectedDataCollectionEnabled(true) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + String name = "name3373707"; + + UserProvidedDataSettings actualResponse = client.getUserProvidedDataSettings(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetUserProvidedDataSettingsRequest actualRequest = + ((GetUserProvidedDataSettingsRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getUserProvidedDataSettingsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + String name = "name3373707"; + client.getUserProvidedDataSettings(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java index e6f3f5da1a09..bd67d75d7365 100644 --- a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java +++ b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java @@ -3438,4 +3438,27 @@ public void getReportingIdentitySettings( Exception.class.getName()))); } } + + @Override + public void getUserProvidedDataSettings( + GetUserProvidedDataSettingsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof UserProvidedDataSettings) { + requests.add(request); + responseObserver.onNext(((UserProvidedDataSettings) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetUserProvidedDataSettings, expected" + + " %s or %s", + response == null ? "null" : response.getClass().getName(), + UserProvidedDataSettings.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java b/java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java index 4f5b3032f1ec..f25c25559766 100644 --- a/java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java +++ b/java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java @@ -7840,6 +7840,59 @@ private AnalyticsAdminServiceGrpc() {} return getGetReportingIdentitySettingsMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest, + com.google.analytics.admin.v1alpha.UserProvidedDataSettings> + getGetUserProvidedDataSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUserProvidedDataSettings", + requestType = com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserProvidedDataSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest, + com.google.analytics.admin.v1alpha.UserProvidedDataSettings> + getGetUserProvidedDataSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest, + com.google.analytics.admin.v1alpha.UserProvidedDataSettings> + getGetUserProvidedDataSettingsMethod; + if ((getGetUserProvidedDataSettingsMethod = + AnalyticsAdminServiceGrpc.getGetUserProvidedDataSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetUserProvidedDataSettingsMethod = + AnalyticsAdminServiceGrpc.getGetUserProvidedDataSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetUserProvidedDataSettingsMethod = + getGetUserProvidedDataSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetUserProvidedDataSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserProvidedDataSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetUserProvidedDataSettings")) + .build(); + } + } + } + return getGetUserProvidedDataSettingsMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static AnalyticsAdminServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -10288,7 +10341,7 @@ default void getSubpropertySyncConfig( * * *
-     * Returns the singleton data retention settings for this property.
+     * Returns the reporting identity settings for this property.
      * 
*/ default void getReportingIdentitySettings( @@ -10298,6 +10351,21 @@ default void getReportingIdentitySettings( io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetReportingIdentitySettingsMethod(), responseObserver); } + + /** + * + * + *
+     * Looks up settings related to user-provided data for a property.
+     * 
+ */ + default void getUserProvidedDataSettings( + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetUserProvidedDataSettingsMethod(), responseObserver); + } } /** @@ -13031,7 +13099,7 @@ public void getSubpropertySyncConfig( * * *
-     * Returns the singleton data retention settings for this property.
+     * Returns the reporting identity settings for this property.
      * 
*/ public void getReportingIdentitySettings( @@ -13043,6 +13111,23 @@ public void getReportingIdentitySettings( request, responseObserver); } + + /** + * + * + *
+     * Looks up settings related to user-provided data for a property.
+     * 
+ */ + public void getUserProvidedDataSettings( + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUserProvidedDataSettingsMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -15370,7 +15455,7 @@ public com.google.analytics.admin.v1alpha.SubpropertySyncConfig getSubpropertySy * * *
-     * Returns the singleton data retention settings for this property.
+     * Returns the reporting identity settings for this property.
      * 
*/ public com.google.analytics.admin.v1alpha.ReportingIdentitySettings @@ -15380,6 +15465,20 @@ public com.google.analytics.admin.v1alpha.SubpropertySyncConfig getSubpropertySy return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetReportingIdentitySettingsMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Looks up settings related to user-provided data for a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserProvidedDataSettings getUserProvidedDataSettings( + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getGetUserProvidedDataSettingsMethod(), getCallOptions(), request); + } } /** @@ -17555,7 +17654,7 @@ public com.google.analytics.admin.v1alpha.SubpropertySyncConfig getSubpropertySy * * *
-     * Returns the singleton data retention settings for this property.
+     * Returns the reporting identity settings for this property.
      * 
*/ public com.google.analytics.admin.v1alpha.ReportingIdentitySettings @@ -17564,6 +17663,19 @@ public com.google.analytics.admin.v1alpha.SubpropertySyncConfig getSubpropertySy return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetReportingIdentitySettingsMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Looks up settings related to user-provided data for a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserProvidedDataSettings getUserProvidedDataSettings( + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUserProvidedDataSettingsMethod(), getCallOptions(), request); + } } /** @@ -19928,7 +20040,7 @@ protected AnalyticsAdminServiceFutureStub build( * * *
-     * Returns the singleton data retention settings for this property.
+     * Returns the reporting identity settings for this property.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -19938,6 +20050,21 @@ protected AnalyticsAdminServiceFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetReportingIdentitySettingsMethod(), getCallOptions()), request); } + + /** + * + * + *
+     * Looks up settings related to user-provided data for a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.UserProvidedDataSettings> + getUserProvidedDataSettings( + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUserProvidedDataSettingsMethod(), getCallOptions()), request); + } } private static final int METHODID_GET_ACCOUNT = 0; @@ -20094,6 +20221,7 @@ protected AnalyticsAdminServiceFutureStub build( private static final int METHODID_UPDATE_SUBPROPERTY_SYNC_CONFIG = 151; private static final int METHODID_GET_SUBPROPERTY_SYNC_CONFIG = 152; private static final int METHODID_GET_REPORTING_IDENTITY_SETTINGS = 153; + private static final int METHODID_GET_USER_PROVIDED_DATA_SETTINGS = 154; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -21101,6 +21229,13 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv com.google.analytics.admin.v1alpha.ReportingIdentitySettings>) responseObserver); break; + case METHODID_GET_USER_PROVIDED_DATA_SETTINGS: + serviceImpl.getUserProvidedDataSettings( + (com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.UserProvidedDataSettings>) + responseObserver); + break; default: throw new AssertionError(); } @@ -22182,6 +22317,13 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser com.google.analytics.admin.v1alpha.GetReportingIdentitySettingsRequest, com.google.analytics.admin.v1alpha.ReportingIdentitySettings>( service, METHODID_GET_REPORTING_IDENTITY_SETTINGS))) + .addMethod( + getGetUserProvidedDataSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest, + com.google.analytics.admin.v1alpha.UserProvidedDataSettings>( + service, METHODID_GET_USER_PROVIDED_DATA_SETTINGS))) .build(); } @@ -22387,6 +22529,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateSubpropertySyncConfigMethod()) .addMethod(getGetSubpropertySyncConfigMethod()) .addMethod(getGetReportingIdentitySettingsMethod()) + .addMethod(getGetUserProvidedDataSettingsMethod()) .build(); } } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java index 50731bc5d4f8..7e643f3c9fb8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java @@ -83,12 +83,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. Resource name of this account.
+   * Identifier. Resource name of this account.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -109,12 +109,12 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name of this account.
+   * Identifier. Resource name of this account.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -909,12 +909,12 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name of this account.
+     * Identifier. Resource name of this account.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -934,12 +934,12 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name of this account.
+     * Identifier. Resource name of this account.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -959,12 +959,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name of this account.
+     * Identifier. Resource name of this account.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -983,12 +983,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name of this account.
+     * Identifier. Resource name of this account.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1003,12 +1003,12 @@ public Builder clearName() { * * *
-     * Output only. Resource name of this account.
+     * Identifier. Resource name of this account.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java index e577cf66978b..b065ed27f285 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java @@ -30,12 +30,12 @@ public interface AccountOrBuilder * * *
-   * Output only. Resource name of this account.
+   * Identifier. Resource name of this account.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -45,12 +45,12 @@ public interface AccountOrBuilder * * *
-   * Output only. Resource name of this account.
+   * Identifier. Resource name of this account.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java index 54407be0ee7c..a8d898d4167c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java @@ -83,12 +83,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name for this account summary.
+   * Identifier. Resource name for this account summary.
    * Format: accountSummaries/{account_id}
    * Example: "accountSummaries/1000"
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -109,12 +109,12 @@ public java.lang.String getName() { * * *
-   * Resource name for this account summary.
+   * Identifier. Resource name for this account summary.
    * Format: accountSummaries/{account_id}
    * Example: "accountSummaries/1000"
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -758,12 +758,12 @@ public Builder mergeFrom( * * *
-     * Resource name for this account summary.
+     * Identifier. Resource name for this account summary.
      * Format: accountSummaries/{account_id}
      * Example: "accountSummaries/1000"
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -783,12 +783,12 @@ public java.lang.String getName() { * * *
-     * Resource name for this account summary.
+     * Identifier. Resource name for this account summary.
      * Format: accountSummaries/{account_id}
      * Example: "accountSummaries/1000"
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -808,12 +808,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name for this account summary.
+     * Identifier. Resource name for this account summary.
      * Format: accountSummaries/{account_id}
      * Example: "accountSummaries/1000"
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -832,12 +832,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name for this account summary.
+     * Identifier. Resource name for this account summary.
      * Format: accountSummaries/{account_id}
      * Example: "accountSummaries/1000"
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -852,12 +852,12 @@ public Builder clearName() { * * *
-     * Resource name for this account summary.
+     * Identifier. Resource name for this account summary.
      * Format: accountSummaries/{account_id}
      * Example: "accountSummaries/1000"
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java index e1fc562bdb97..98a934df3537 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java @@ -30,12 +30,12 @@ public interface AccountSummaryOrBuilder * * *
-   * Resource name for this account summary.
+   * Identifier. Resource name for this account summary.
    * Format: accountSummaries/{account_id}
    * Example: "accountSummaries/1000"
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -45,12 +45,12 @@ public interface AccountSummaryOrBuilder * * *
-   * Resource name for this account summary.
+   * Identifier. Resource name for this account summary.
    * Format: accountSummaries/{account_id}
    * Example: "accountSummaries/1000"
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java index 176fb71e9486..5dd30719a5e1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java @@ -812,6 +812,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_analytics_admin_v1alpha_GetReportingIdentitySettingsRequest_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_analytics_admin_v1alpha_GetReportingIdentitySettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetUserProvidedDataSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetUserProvidedDataSettingsRequest_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -862,10 +866,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005quota\030\005 \001(\0132+.google.analytics.admin.v1alpha.AccessQuota\"P\n" + "\021GetAccountRequest\022;\n" + "\004name\030\001 \001(\tB-\340A\002\372A\'\n" - + "%analyticsadmin.googleapis.com/Account\"R\n" - + "\023ListAccountsRequest\022\021\n" - + "\tpage_size\030\001 \001(\005\022\022\n\n" - + "page_token\030\002 \001(\t\022\024\n" + + "%analyticsadmin.googleapis.com/Account\"\\\n" + + "\023ListAccountsRequest\022\026\n" + + "\tpage_size\030\001 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\002 \001(\tB\003\340A\001\022\024\n" + "\014show_deleted\030\003 \001(\010\"j\n" + "\024ListAccountsResponse\0229\n" + "\010accounts\030\001 \003(\0132\'.google.analytics.admin.v1alpha.Account\022\027\n" @@ -884,41 +888,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021account_ticket_id\030\001 \001(\t\"R\n" + "\022GetPropertyRequest\022<\n" + "\004name\030\001 \001(\tB.\340A\002\372A(\n" - + "&analyticsadmin.googleapis.com/Property\"i\n" + + "&analyticsadmin.googleapis.com/Property\"s\n" + "\025ListPropertiesRequest\022\023\n" - + "\006filter\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\024\n" + + "\006filter\030\001 \001(\tB\003\340A\002\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\022\024\n" + "\014show_deleted\030\004 \001(\010\"o\n" + "\026ListPropertiesResponse\022<\n\n" + "properties\030\001 \003(\0132(.google.analytics.admin.v1alpha.Property\022\027\n" + "\017next_page_token\030\002 \001(\t\"\216\001\n" + "\025UpdatePropertyRequest\022?\n" - + "\010property\030\001 \001(\0132(.google" - + ".analytics.admin.v1alpha.PropertyB\003\340A\002\0224\n" + + "\010property\030\001" + + " \001(\0132(.google.analytics.admin.v1alpha.PropertyB\003\340A\002\0224\n" + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"X\n" + "\025CreatePropertyRequest\022?\n" - + "\010property\030\001" - + " \001(\0132(.google.analytics.admin.v1alpha.PropertyB\003\340A\002\"U\n" + + "\010property\030\001 \001(\0132(.go" + + "ogle.analytics.admin.v1alpha.PropertyB\003\340A\002\"U\n" + "\025DeletePropertyRequest\022<\n" + "\004name\030\001 \001(\tB.\340A\002\372A(\n" + "&analyticsadmin.googleapis.com/Property\"\251\001\n" + "\031CreateFirebaseLinkRequest\022B\n" - + "\006parent\030\001 \001(\tB2\340A\002" - + "\372A,\022*analyticsadmin.googleapis.com/FirebaseLink\022H\n\r" - + "firebase_link\030\002 \001(\0132,.google." - + "analytics.admin.v1alpha.FirebaseLinkB\003\340A\002\"]\n" + + "\006parent\030\001 \001(" + + "\tB2\340A\002\372A,\022*analyticsadmin.googleapis.com/FirebaseLink\022H\n\r" + + "firebase_link\030\002" + + " \001(\0132,.google.analytics.admin.v1alpha.FirebaseLinkB\003\340A\002\"]\n" + "\031DeleteFirebaseLinkRequest\022@\n" + "\004name\030\001 \001(\tB2\340A\002\372A,\n" - + "*analyticsadmin.googleapis.com/FirebaseLink\"\205\001\n" + + "*analyticsadmin.googleapis.com/FirebaseLink\"\217\001\n" + "\030ListFirebaseLinksRequest\022B\n" + "\006parent\030\001 \001(" - + "\tB2\340A\002\372A,\022*analyticsadmin.googleapis.com/FirebaseLink\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"z\n" + + "\tB2\340A\002\372A,\022*analyticsadmin.googleapis.com/FirebaseLink\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" + + "\n" + + "page_token\030\003 \001(\tB\003\340A\001\"z\n" + "\031ListFirebaseLinksResponse\022D\n" - + "\016firebase_links\030\001" - + " \003(\0132,.google.analytics.admin.v1alpha.FirebaseLink\022\027\n" + + "\016firebase_links\030\001 \003(\0132,.go" + + "ogle.analytics.admin.v1alpha.FirebaseLink\022\027\n" + "\017next_page_token\030\002 \001(\t\"\\\n" + "\027GetGlobalSiteTagRequest\022A\n" + "\004name\030\001 \001(\tB3\340A\002\372A-\n" @@ -929,30 +934,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017google_ads_link\030\002" + " \001(\0132-.google.analytics.admin.v1alpha.GoogleAdsLinkB\003\340A\002\"\232\001\n" + "\032UpdateGoogleAdsLinkRequest\022F\n" - + "\017google_ads_link\030\001 " - + "\001(\0132-.google.analytics.admin.v1alpha.GoogleAdsLink\0224\n" + + "\017google_ads_link\030\001 \001(\0132-.goog" + + "le.analytics.admin.v1alpha.GoogleAdsLink\0224\n" + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"_\n" + "\032DeleteGoogleAdsLinkRequest\022A\n" + "\004name\030\001 \001(\tB3\340A\002\372A-\n" - + "+analyticsadmin.googleapis.com/GoogleAdsLink\"\207\001\n" + + "+analyticsadmin.googleapis.com/GoogleAdsLink\"\221\001\n" + "\031ListGoogleAdsLinksRequest\022C\n" - + "\006parent\030\001 \001(" - + "\tB3\340A\002\372A-\022+analyticsadmin.googleapis.com/GoogleAdsLink\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"~\n" + + "\006parent\030\001 \001(\tB3\340" + + "A\002\372A-\022+analyticsadmin.googleapis.com/GoogleAdsLink\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\"~\n" + "\032ListGoogleAdsLinksResponse\022G\n" + "\020google_ads_links\030\001 \003(\0132-.go" + "ogle.analytics.admin.v1alpha.GoogleAdsLink\022\027\n" + "\017next_page_token\030\002 \001(\t\"h\n" + "\035GetDataSharingSettingsRequest\022G\n" + "\004name\030\001 \001(\tB9\340A\002\372A3\n" - + "1analyticsadmin.googleapis.com/DataSharingSettings\"D\n" - + "\033ListAccountSummariesRequest\022\021\n" - + "\tpage_size\030\001 \001(\005\022\022\n\n" - + "page_token\030\002 \001(\t\"\202\001\n" + + "1analyticsadmin.googleapis.com/DataSharingSettings\"N\n" + + "\033ListAccountSummariesRequest\022\026\n" + + "\tpage_size\030\001 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\002 \001(\tB\003\340A\001\"\202\001\n" + "\034ListAccountSummariesResponse\022I\n" - + "\021account_summaries\030\001" - + " \003(\0132..google.analytics.admin.v1alpha.AccountSummary\022\027\n" + + "\021account_summaries\030\001 \003(\0132..goog" + + "le.analytics.admin.v1alpha.AccountSummary\022\027\n" + "\017next_page_token\030\002 \001(\t\"\206\001\n" + "$AcknowledgeUserDataCollectionRequest\022@\n" + "\010property\030\001 \001(\tB.\340A\002\372A(\n" @@ -964,10 +969,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "%analyticsadmin.googleapis.com/Account\022@\n" + "\010property\030\002 \001(\tB.\340A\001\372A(\n" + "&analyticsadmin.googleapis.com/Property\022U\n\r" - + "resource_type\030\003 \003(\01629.google.analyt" - + "ics.admin.v1alpha.ChangeHistoryResourceTypeB\003\340A\001\022?\n" - + "\006action\030\004" - + " \003(\0162*.google.analytics.admin.v1alpha.ActionTypeB\003\340A\001\022\030\n" + + "resource_type\030\003 \003(\01629.goo" + + "gle.analytics.admin.v1alpha.ChangeHistoryResourceTypeB\003\340A\001\022?\n" + + "\006action\030\004 \003(\0162*.goo" + + "gle.analytics.admin.v1alpha.ActionTypeB\003\340A\001\022\030\n" + "\013actor_email\030\005 \003(\tB\003\340A\001\022=\n" + "\024earliest_change_time\030\006" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\001\022;\n" @@ -976,58 +981,59 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n\n" + "page_token\030\t \001(\tB\003\340A\001\"\217\001\n" + "!SearchChangeHistoryEventsResponse\022Q\n" - + "\025change_history_events\030\001" - + " \003(\01322.google.analytics.admin.v1alpha.ChangeHistoryEvent\022\027\n" + + "\025change_history_events\030\001 \003(\01322.google" + + ".analytics.admin.v1alpha.ChangeHistoryEvent\022\027\n" + "\017next_page_token\030\002 \001(\t\"t\n" + "#GetMeasurementProtocolSecretRequest\022M\n" + "\004name\030\001 \001(\tB?\340A\002\372A9\n" + "7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\336\001\n" + "&CreateMeasurementProtocolSecretRequest\022O\n" - + "\006parent\030\001 \001(\tB?\340A\002" - + "\372A9\0227analyticsadmin.googleapis.com/MeasurementProtocolSecret\022c\n" - + "\033measurement_protocol_secret\030\002 \001(\01329.google.analytics.adm" - + "in.v1alpha.MeasurementProtocolSecretB\003\340A\002\"w\n" + + "\006parent\030\001 \001(" + + "\tB?\340A\002\372A9\0227analyticsadmin.googleapis.com/MeasurementProtocolSecret\022c\n" + + "\033measurement_protocol_secret\030\002 \001(\01329.google.ana" + + "lytics.admin.v1alpha.MeasurementProtocolSecretB\003\340A\002\"w\n" + "&DeleteMeasurementProtocolSecretRequest\022M\n" + "\004name\030\001 \001(\tB?\340A\002\372A9\n" + "7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\303\001\n" + "&UpdateMeasurementProtocolSecretRequest\022c\n" - + "\033measurement_protocol_secret\030\001 \001" - + "(\01329.google.analytics.admin.v1alpha.MeasurementProtocolSecretB\003\340A\002\0224\n" + + "\033measurement_protocol_secret\030\001" + + " \001(\01329.google.analytics.admin.v1alpha.MeasurementProtocolSecretB\003\340A\002\0224\n" + "\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\237\001\n" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\251\001\n" + "%ListMeasurementProtocolSecretsRequest\022O\n" - + "\006parent\030\001 \001(\tB?\340A\002\372A9\0227analyticsadm" - + "in.googleapis.com/MeasurementProtocolSecret\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"\242\001\n" + + "\006parent\030\001 \001(\tB?\340A\002\372A9\0227an" + + "alyticsadmin.googleapis.com/MeasurementProtocolSecret\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" + + "\n" + + "page_token\030\003 \001(\tB\003\340A\001\"\242\001\n" + "&ListMeasurementProtocolSecretsResponse\022_\n" - + "\034measurement_protocol_secrets\030\001 " - + "\003(\01329.google.analytics.admin.v1alpha.MeasurementProtocolSecret\022\027\n" + + "\034measurement_protocol_secrets\030\001 \003(\01329.google.analyti" + + "cs.admin.v1alpha.MeasurementProtocolSecret\022\027\n" + "\017next_page_token\030\002 \001(\t\"\202\001\n" + "*GetSKAdNetworkConversionValueSchemaRequest\022T\n" + "\004name\030\001 \001(\tBF\340A\002\372A@\n" + ">analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\"\373\001\n" + "-CreateSKAdNetworkConversionValueSchemaRequest\022V\n" - + "\006parent\030\001 \001(\tBF\340A\002\372A@\022>analyticsadmin.googleapi" - + "s.com/SKAdNetworkConversionValueSchema\022r\n" - + "#skadnetwork_conversion_value_schema\030\002 " - + "\001(\0132@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaB\003\340A\002\"\205\001\n" + + "\006parent\030\001 \001(\tBF\340A\002\372A@\022>anal" + + "yticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\022r\n" + + "#skadnetwork_conversion_value_schema\030\002 \001(\0132@.google.analyti" + + "cs.admin.v1alpha.SKAdNetworkConversionValueSchemaB\003\340A\002\"\205\001\n" + "-DeleteSKAdNetworkConversionValueSchemaRequest\022T\n" + "\004name\030\001 \001(\tBF\340A\002\372A@\n" + ">analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\"\331\001\n" + "-UpdateSKAdNetworkConversionValueSchemaRequest\022r\n" - + "#skadnetwork_conversion_value_schema\030\001 \001(\0132@.google.analy" - + "tics.admin.v1alpha.SKAdNetworkConversionValueSchemaB\003\340A\002\0224\n" + + "#skadnetwork_conversion_value_schema\030\001" + + " \001(\0132@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaB\003\340A\002\0224\n" + "\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\255\001\n" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\267\001\n" + ",ListSKAdNetworkConversionValueSchemasRequest\022V\n" - + "\006parent\030\001 \001(\tBF\340A\002\372A@\022>analyticsadmin." - + "googleapis.com/SKAdNetworkConversionValueSchema\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"\270\001\n" + + "\006parent\030\001 \001(\tBF\340A\002" + + "\372A@\022>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\"\270\001\n" + "-ListSKAdNetworkConversionValueSchemasResponse\022n\n" - + "$skadnetwork_conversion_value_schemas\030\001 \003(\0132@.google.analytic" - + "s.admin.v1alpha.SKAdNetworkConversionValueSchema\022\027\n" + + "$skadnetwork_conversion_value_schemas\030\001 \003(\0132@.google.analytics.admin.v1" + + "alpha.SKAdNetworkConversionValueSchema\022\027\n" + "\017next_page_token\030\002 \001(\t\"l\n" + "\037GetGoogleSignalsSettingsRequest\022I\n" + "\004name\030\001 \001(\tB;\340A\002\372A5\n" @@ -1038,25 +1044,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013update_mask\030\002" + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\265\001\n" + "\034CreateConversionEventRequest\022N\n" - + "\020conversion_event\030\001 \001(\0132/.google.an" - + "alytics.admin.v1alpha.ConversionEventB\003\340A\002\022E\n" + + "\020conversion_event\030\001" + + " \001(\0132/.google.analytics.admin.v1alpha.ConversionEventB\003\340A\002\022E\n" + "\006parent\030\002 \001(" + "\tB5\340A\002\372A/\022-analyticsadmin.googleapis.com/ConversionEvent\"\244\001\n" + "\034UpdateConversionEventRequest\022N\n" - + "\020conversion_event\030\001" - + " \001(\0132/.google.analytics.admin.v1alpha.ConversionEventB\003\340A\002\0224\n" + + "\020conversion_event\030\001 \001" + + "(\0132/.google.analytics.admin.v1alpha.ConversionEventB\003\340A\002\0224\n" + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"`\n" + "\031GetConversionEventRequest\022C\n" + "\004name\030\001 \001(\tB5\340A\002\372A/\n" + "-analyticsadmin.googleapis.com/ConversionEvent\"c\n" + "\034DeleteConversionEventRequest\022C\n" + "\004name\030\001 \001(\tB5\340A\002\372A/\n" - + "-analyticsadmin.googleapis.com/ConversionEvent\"\213\001\n" + + "-analyticsadmin.googleapis.com/ConversionEvent\"\225\001\n" + "\033ListConversionEventsRequest\022E\n" - + "\006parent\030\001 \001(" - + "\tB5\340A\002\372A/\022-analyticsadmin.googleapis.com/ConversionEvent\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"\203\001\n" + + "\006parent\030\001 \001(\tB5\340" + + "A\002\372A/\022-analyticsadmin.googleapis.com/ConversionEvent\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\"\203\001\n" + "\034ListConversionEventsResponse\022J\n" + "\021conversion_events\030\001 \003(" + "\0132/.google.analytics.admin.v1alpha.ConversionEvent\022\027\n" @@ -1075,12 +1081,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "&analyticsadmin.googleapis.com/KeyEvent\"U\n" + "\025DeleteKeyEventRequest\022<\n" + "\004name\030\001 \001(\tB.\340A\002\372A(\n" - + "&analyticsadmin.googleapis.com/KeyEvent\"}\n" + + "&analyticsadmin.googleapis.com/KeyEvent\"\207\001\n" + "\024ListKeyEventsRequest\022>\n" + "\006parent\030\001 \001(" - + "\tB.\340A\002\372A(\022&analyticsadmin.googleapis.com/KeyEvent\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"n\n" + + "\tB.\340A\002\372A(\022&analyticsadmin.googleapis.com/KeyEvent\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\"n\n" + "\025ListKeyEventsResponse\022<\n\n" + "key_events\030\001 \003(\0132(.google.analytics.admin.v1alpha.KeyEvent\022\027\n" + "\017next_page_token\030\002 \001(\t\"|\n" @@ -1088,45 +1094,45 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\tBC\340A\002\372A=\n" + ";analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\"\247\001\n" + ")ListDisplayVideo360AdvertiserLinksRequest\022S\n" - + "\006parent\030\001 \001(\tBC\340A\002\372A=\022;analyticsadmin." - + "googleapis.com/DisplayVideo360AdvertiserLink\022\021\n" + + "\006parent\030\001 \001(\tBC\340A\002\372A=\022;anal" + + "yticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\022\021\n" + "\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\"\260\001\n" + "*ListDisplayVideo360AdvertiserLinksResponse\022i\n" - + "\"display_video_360_advertiser_links\030\001" - + " \003(\0132=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\022\027\n" + + "\"display_video_360_advertiser_links\030\001 \003(\0132=.google.analy" + + "tics.admin.v1alpha.DisplayVideo360AdvertiserLink\022\027\n" + "\017next_page_token\030\002 \001(\t\"\360\001\n" + "*CreateDisplayVideo360AdvertiserLinkRequest\022S\n" - + "\006parent\030\001 \001(" - + "\tBC\340A\002\372A=\022;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\022m\n" - + "!display_video_360_advertiser_link\030\002 \001(\0132=." - + "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkB\003\340A\002\"\177\n" + + "\006parent\030\001 \001(\tBC\340A\002\372A=\022;analyticsadmin" + + ".googleapis.com/DisplayVideo360AdvertiserLink\022m\n" + + "!display_video_360_advertiser_link\030\002" + + " \001(\0132=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkB\003\340A\002\"\177\n" + "*DeleteDisplayVideo360AdvertiserLinkRequest\022Q\n" + "\004name\030\001 \001(\tBC\340A\002\372A=\n" + ";analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\"\314\001\n" + "*UpdateDisplayVideo360AdvertiserLinkRequest\022h\n" - + "!display_video_360_advertiser_link\030\001" - + " \001(\0132=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\0224\n" + + "!display_video_360_advertiser_link\030\001 \001(\0132=.google.analytics.admin" + + ".v1alpha.DisplayVideo360AdvertiserLink\0224\n" + "\013update_mask\030\002" + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\214\001\n" + "/GetDisplayVideo360AdvertiserLinkProposalRequest\022Y\n" + "\004name\030\001 \001(\tBK\340A\002\372AE\n" + "Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\267\001\n" + "1ListDisplayVideo360AdvertiserLinkProposalsRequest\022[\n" - + "\006parent\030\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.g" - + "oogleapis.com/DisplayVideo360AdvertiserLinkProposal\022\021\n" + + "\006parent\030\001 \001(\tBK\340A\002\372AE\022Canaly" + + "ticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\022\021\n" + "\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\"\311\001\n" + "2ListDisplayVideo360AdvertiserLinkProposalsResponse\022z\n" - + "+display_video_360_advertiser_link_proposals\030\001 \003(\0132E" - + ".google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\022\027\n" + + "+display_video_360_advertiser_link_proposals\030\001" + + " \003(\0132E.google.analytics.admin.v1alp" + + "ha.DisplayVideo360AdvertiserLinkProposal\022\027\n" + "\017next_page_token\030\002 \001(\t\"\221\002\n" + "2CreateDisplayVideo360AdvertiserLinkProposalRequest\022[\n" - + "\006parent\030\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.googleapis" - + ".com/DisplayVideo360AdvertiserLinkProposal\022~\n" - + "*display_video_360_advertiser_link_proposal\030\002" - + " \001(\0132E.google.analytics.admin." - + "v1alpha.DisplayVideo360AdvertiserLinkProposalB\003\340A\002\"\217\001\n" + + "\006parent\030\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin" + + ".googleapis.com/DisplayVideo360AdvertiserLinkProposal\022~\n" + + "*display_video_360_advertiser_link_proposal\030\002 \001(\0132E.google.analy" + + "tics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalB\003\340A\002\"\217\001\n" + "2DeleteDisplayVideo360AdvertiserLinkProposalRequest\022Y\n" + "\004name\030\001 \001(\tBK\340A\002\372AE\n" + "Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\220\001\n" @@ -1134,8 +1140,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\tBK\340A\002\372AE\n" + "Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\240\001\n" + "4ApproveDisplayVideo360AdvertiserLinkProposalResponse\022h\n" - + "!display_video_360_advertiser_link\030\001 " - + "\001(\0132=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\217\001\n" + + "!display_video_360_advertiser_link\030\001 \001(\0132=.google.analytics.admin." + + "v1alpha.DisplayVideo360AdvertiserLink\"\217\001\n" + "2CancelDisplayVideo360AdvertiserLinkProposalRequest\022Y\n" + "\004name\030\001 \001(\tBK\340A\002\372AE\n" + "Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"b\n" @@ -1148,8 +1154,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\"\210\001\n" + "\035ListSearchAds360LinksResponse\022N\n" - + "\024search_ads_360_links\030\001 \003(\013" - + "20.google.analytics.admin.v1alpha.SearchAds360Link\022\027\n" + + "\024search_ads_360_links\030\001" + + " \003(\01320.google.analytics.admin.v1alpha.SearchAds360Link\022\027\n" + "\017next_page_token\030\002 \001(\t\"\273\001\n" + "\035CreateSearchAds360LinkRequest\022F\n" + "\006parent\030\001 \001(" @@ -1160,28 +1166,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\tB6\340A\002\372A0\n" + ".analyticsadmin.googleapis.com/SearchAds360Link\"\244\001\n" + "\035UpdateSearchAds360LinkRequest\022M\n" - + "\023search_ads_360_link\030\001 \001(\01320.google" - + ".analytics.admin.v1alpha.SearchAds360Link\0224\n" + + "\023search_ads_360_link\030\001 \001" + + "(\01320.google.analytics.admin.v1alpha.SearchAds360Link\0224\n" + "\013update_mask\030\002" + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\265\001\n" + "\034CreateCustomDimensionRequest\022E\n" - + "\006parent\030\001 \001(\tB5\340A\002\372A/\022-analyt" - + "icsadmin.googleapis.com/CustomDimension\022N\n" - + "\020custom_dimension\030\002 \001(\0132/.google.analy" - + "tics.admin.v1alpha.CustomDimensionB\003\340A\002\"\237\001\n" + + "\006parent\030\001 \001(\tB5\340A\002" + + "\372A/\022-analyticsadmin.googleapis.com/CustomDimension\022N\n" + + "\020custom_dimension\030\002 \001(\0132/.g" + + "oogle.analytics.admin.v1alpha.CustomDimensionB\003\340A\002\"\237\001\n" + "\034UpdateCustomDimensionRequest\022I\n" - + "\020custom_dimension\030\001" - + " \001(\0132/.google.analytics.admin.v1alpha.CustomDimension\0224\n" + + "\020custom_dimension\030\001 \001(\0132/.google.a" + + "nalytics.admin.v1alpha.CustomDimension\0224\n" + "\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\213\001\n" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\225\001\n" + "\033ListCustomDimensionsRequest\022E\n" + "\006parent\030\001 \001(" - + "\tB5\340A\002\372A/\022-analyticsadmin.googleapis.com/CustomDimension\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"\203\001\n" + + "\tB5\340A\002\372A/\022-analyticsadmin.googleapis.com/CustomDimension\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\"\203\001\n" + "\034ListCustomDimensionsResponse\022J\n" - + "\021custom_dimensions\030\001 " - + "\003(\0132/.google.analytics.admin.v1alpha.CustomDimension\022\027\n" + + "\021custom_dimensions\030\001" + + " \003(\0132/.google.analytics.admin.v1alpha.CustomDimension\022\027\n" + "\017next_page_token\030\002 \001(\t\"d\n" + "\035ArchiveCustomDimensionRequest\022C\n" + "\004name\030\001 \001(\tB5\340A\002\372A/\n" @@ -1192,15 +1198,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031CreateCustomMetricRequest\022B\n" + "\006parent\030\001 \001(" + "\tB2\340A\002\372A,\022*analyticsadmin.googleapis.com/CustomMetric\022H\n\r" - + "custom_metric\030\002 \001(\0132," - + ".google.analytics.admin.v1alpha.CustomMetricB\003\340A\002\"\226\001\n" + + "custom_metric\030\002" + + " \001(\0132,.google.analytics.admin.v1alpha.CustomMetricB\003\340A\002\"\226\001\n" + "\031UpdateCustomMetricRequest\022C\n\r" + "custom_metric\030\001 \001(\0132,.google.analytics.admin.v1alpha.CustomMetric\0224\n" + "\013update_mask\030\002" + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\205\001\n" + "\030ListCustomMetricsRequest\022B\n" - + "\006parent\030\001 \001(" - + "\tB2\340A\002\372A,\022*analyticsadmin.googleapis.com/CustomMetric\022\021\n" + + "\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" + + "alyticsadmin.googleapis.com/CustomMetric\022\021\n" + "\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\"z\n" + "\031ListCustomMetricsResponse\022D\n" @@ -1217,23 +1223,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006parent\030\001 \001(" + "\tB6\340A\002\372A0\022.analyticsadmin.googleapis.com/CalculatedMetric\022!\n" + "\024calculated_metric_id\030\002 \001(\tB\003\340A\002\022P\n" - + "\021calculated_metric\030\003" - + " \001(\01320.google.analytics.admin.v1alpha.CalculatedMetricB\003\340A\002\"\247\001\n" + + "\021calculated_metric\030\003 \001(\0132" + + "0.google.analytics.admin.v1alpha.CalculatedMetricB\003\340A\002\"\247\001\n" + "\035UpdateCalculatedMetricRequest\022P\n" - + "\021calculated_metric\030\001" - + " \001(\01320.google.analytics.admin.v1alpha.CalculatedMetricB\003\340A\002\0224\n" + + "\021calculated_metric\030\001 \001(\01320.go" + + "ogle.analytics.admin.v1alpha.CalculatedMetricB\003\340A\002\0224\n" + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"e\n" + "\035DeleteCalculatedMetricRequest\022D\n" + "\004name\030\001 \001(\tB6\340A\002\372A0\n" + ".analyticsadmin.googleapis.com/CalculatedMetric\"\227\001\n" + "\034ListCalculatedMetricsRequest\022F\n" - + "\006parent\030\001 \001(\tB6\340A\002" - + "\372A0\022.analyticsadmin.googleapis.com/CalculatedMetric\022\026\n" + + "\006parent\030\001 \001(" + + "\tB6\340A\002\372A0\022.analyticsadmin.googleapis.com/CalculatedMetric\022\026\n" + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + "page_token\030\003 \001(\tB\003\340A\001\"\206\001\n" + "\035ListCalculatedMetricsResponse\022L\n" - + "\022calculated_metrics\030\001 \003" - + "(\01320.google.analytics.admin.v1alpha.CalculatedMetric\022\027\n" + + "\022calculated_metrics\030\001" + + " \003(\01320.google.analytics.admin.v1alpha.CalculatedMetric\022\027\n" + "\017next_page_token\030\002 \001(\t\"b\n" + "\032GetCalculatedMetricRequest\022D\n" + "\004name\030\001 \001(\tB6\340A\002\372A0\n" @@ -1242,13 +1248,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\tB;\340A\002\372A5\n" + "3analyticsadmin.googleapis.com/DataRetentionSettings\"\267\001\n" + "\"UpdateDataRetentionSettingsRequest\022[\n" - + "\027data_retention_settings\030\001 \001(\0132" - + "5.google.analytics.admin.v1alpha.DataRetentionSettingsB\003\340A\002\0224\n" + + "\027data_retention_settings\030\001 \001(\01325.google.analytics." + + "admin.v1alpha.DataRetentionSettingsB\003\340A\002\0224\n" + "\013update_mask\030\002" + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\241\001\n" + "\027CreateDataStreamRequest\022@\n" - + "\006parent\030\001 \001(\tB0\340" - + "A\002\372A*\022(analyticsadmin.googleapis.com/DataStream\022D\n" + + "\006parent\030\001 \001(" + + "\tB0\340A\002\372A*\022(analyticsadmin.googleapis.com/DataStream\022D\n" + "\013data_stream\030\002" + " \001(\0132*.google.analytics.admin.v1alpha.DataStreamB\003\340A\002\"Y\n" + "\027DeleteDataStreamRequest\022>\n" @@ -1259,1256 +1265,1240 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013update_mask\030\002" + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\201\001\n" + "\026ListDataStreamsRequest\022@\n" - + "\006parent\030\001 \001(\tB0" - + "\340A\002\372A*\022(analyticsadmin.googleapis.com/DataStream\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"t\n" - + "\027ListDataStreamsResponse\022@\n" - + "\014data_streams\030\001 \003(\0132*.google.analytics.admi", - "n.v1alpha.DataStream\022\027\n" - + "\017next_page_token\030\002 \001(\t\"V\n" - + "\024GetDataStreamRequest\022>\n" - + "\004name\030\001 \001(\tB0\340A\002\372A*\n" - + "(analyticsadmin.googleapis.com/DataStream\"R\n" - + "\022GetAudienceRequest\022<\n" - + "\004name\030\001 \001(\tB.\340A\002\372A(\n" - + "&analyticsadmin.googleapis.com/Audience\"}\n" - + "\024ListAudiencesRequest\022>\n" - + "\006parent\030\001 \001(" - + "\tB.\340A\002\372A(\022&analyticsadmin.googleapis.com/Audience\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"m\n" - + "\025ListAudiencesResponse\022;\n" - + "\taudiences\030\001 \003(\0132(.google.analytics.admin.v1alpha.Audience\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\230\001\n" - + "\025CreateAudienceRequest\022>\n" - + "\006parent\030\001 \001(" - + "\tB.\340A\002\372A(\022&analyticsadmin.googleapis.com/Audience\022?\n" - + "\010audience\030\002 " - + "\001(\0132(.google.analytics.admin.v1alpha.AudienceB\003\340A\002\"\216\001\n" - + "\025UpdateAudienceRequest\022?\n" - + "\010audience\030\001" - + " \001(\0132(.google.analytics.admin.v1alpha.AudienceB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"V\n" - + "\026ArchiveAudienceRequest\022<\n" - + "\004name\030\001 \001(\tB.\340A\002" - + "\372A(\022&analyticsadmin.googleapis.com/Audience\"h\n" - + "\035GetAttributionSettingsRequest\022G\n" - + "\004name\030\001 \001(\tB9\340A\002\372A3\n" - + "1analyticsadmin.googleapis.com/AttributionSettings\"\260\001\n" - + " UpdateAttributionSettingsRequest\022V\n" - + "\024attribution_settings\030\001" - + " \001(\01323.google.analytics.admin.v1alpha.AttributionSettingsB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\\\n" - + "\027GetAccessBindingRequest\022A\n" - + "\004name\030\001 \001(\tB3\340A\002\372A-\n" - + "+analyticsadmin.googleapis.com/AccessBinding\"\250\001\n" - + "\035BatchGetAccessBindingsRequest\022C\n" - + "\006parent\030\001 \001(\tB3\340A\002\372A-" - + "\022+analyticsadmin.googleapis.com/AccessBinding\022B\n" - + "\005names\030\002 \003(\tB3\340A\002\372A-\n" - + "+analyticsadmin.googleapis.com/AccessBinding\"h\n" - + "\036BatchGetAccessBindingsResponse\022F\n" - + "\017access_bindings\030\001" - + " \003(\0132-.google.analytics.admin.v1alpha.AccessBinding\"\207\001\n" - + "\031ListAccessBindingsRequest\022C\n" - + "\006parent\030\001 \001(\tB3\340A\002\372A-\022+analy" - + "ticsadmin.googleapis.com/AccessBinding\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"}\n" - + "\032ListAccessBindingsResponse\022F\n" - + "\017access_bindings\030\001" - + " \003(\0132-.google.analytics.admin.v1alpha.AccessBinding\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\255\001\n" - + "\032CreateAccessBindingRequest\022C\n" - + "\006parent\030\001 \001(" - + "\tB3\340A\002\372A-\022+analyticsadmin.googleapis.com/AccessBinding\022J\n" - + "\016access_binding\030\002" - + " \001(\0132-.google.analytics.admin.v1alpha.AccessBindingB\003\340A\002\"\272\001\n" - + " BatchCreateAccessBindingsRequest\022C\n" - + "\006parent\030\001 \001(\tB3\340A\002\372A" - + "-\022+analyticsadmin.googleapis.com/AccessBinding\022Q\n" - + "\010requests\030\003 \003(\0132:.google.analyt" - + "ics.admin.v1alpha.CreateAccessBindingRequestB\003\340A\002\"k\n" - + "!BatchCreateAccessBindingsResponse\022F\n" - + "\017access_bindings\030\001 \003(\0132-.google" - + ".analytics.admin.v1alpha.AccessBinding\"h\n" - + "\032UpdateAccessBindingRequest\022J\n" - + "\016access_binding\030\001" - + " \001(\0132-.google.analytics.admin.v1alpha.AccessBindingB\003\340A\002\"\272\001\n" - + " BatchUpdateAccessBindingsRequest\022C\n" - + "\006parent\030\001 \001(\tB3\340" - + "A\002\372A-\022+analyticsadmin.googleapis.com/AccessBinding\022Q\n" - + "\010requests\030\002 \003(\0132:.google.an" - + "alytics.admin.v1alpha.UpdateAccessBindingRequestB\003\340A\002\"k\n" - + "!BatchUpdateAccessBindingsResponse\022F\n" - + "\017access_bindings\030\001 \003(\0132-.go" - + "ogle.analytics.admin.v1alpha.AccessBinding\"_\n" - + "\032DeleteAccessBindingRequest\022A\n" - + "\004name\030\001 \001(\tB3\340A\002\372A-\n" - + "+analyticsadmin.googleapis.com/AccessBinding\"\272\001\n" - + " BatchDeleteAccessBindingsRequest\022C\n" - + "\006parent\030\001 \001(\tB3\340A\002\372A-" - + "\022+analyticsadmin.googleapis.com/AccessBinding\022Q\n" - + "\010requests\030\002 \003(\0132:.google.analyti" - + "cs.admin.v1alpha.DeleteAccessBindingRequestB\003\340A\002\"\266\001\n" - + "\034CreateExpandedDataSetRequest\022E\n" - + "\006parent\030\001 \001(" - + "\tB5\340A\002\372A/\022-analyticsadmin.googleapis.com/ExpandedDataSet\022O\n" - + "\021expanded_data_set\030\002" - + " \001(\0132/.google.analytics.admin.v1alpha.ExpandedDataSetB\003\340A\002\"\245\001\n" - + "\034UpdateExpandedDataSetRequest\022O\n" - + "\021expanded_data_set\030\001" - + " \001(\0132/.google.analytics.admin.v1alpha.ExpandedDataSetB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"c\n" - + "\034DeleteExpandedDataSetRequest\022C\n" - + "\004name\030\001 \001(\tB5\340A\002\372A/\n" - + "-analyticsadmin.googleapis.com/ExpandedDataSet\"`\n" - + "\031GetExpandedDataSetRequest\022C\n" - + "\004name\030\001 \001(\tB5\340A\002\372A/\n" - + "-analyticsadmin.googleapis.com/ExpandedDataSet\"\213\001\n" - + "\033ListExpandedDataSetsRequest\022E\n" - + "\006parent\030\001 \001(" - + "\tB5\340A\002\372A/\022-analyticsadmin.googleapis.com/ExpandedDataSet\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"\204\001\n" - + "\034ListExpandedDataSetsResponse\022K\n" - + "\022expanded_data_sets\030\001 " - + "\003(\0132/.google.analytics.admin.v1alpha.ExpandedDataSet\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\251\001\n" - + "\031CreateChannelGroupRequest\022B\n" + "\006parent\030\001 \001(" - + "\tB2\340A\002\372A,\022*analyticsadmin.googleapis.com/ChannelGroup\022H\n\r" - + "channel_group\030\002 \001(\0132," - + ".google.analytics.admin.v1alpha.ChannelGroupB\003\340A\002\"\233\001\n" - + "\031UpdateChannelGroupRequest\022H\n\r" - + "channel_group\030\001" - + " \001(\0132,.google.analytics.admin.v1alpha.ChannelGroupB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"]\n" - + "\031DeleteChannelGroupRequest\022@\n" - + "\004name\030\001 \001(\tB2\340A\002\372A,\n" - + "*analyticsadmin.googleapis.com/ChannelGroup\"Z\n" - + "\026GetChannelGroupRequest\022@\n" - + "\004name\030\001 \001(\tB2\340A\002\372A,\n" - + "*analyticsadmin.googleapis.com/ChannelGroup\"\205\001\n" - + "\030ListChannelGroupsRequest\022B\n" - + "\006parent\030\001 \001(\tB" - + "2\340A\002\372A,\022*analyticsadmin.googleapis.com/ChannelGroup\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"z\n" - + "\031ListChannelGroupsResponse\022D\n" - + "\016channel_groups\030\001" - + " \003(\0132,.google.analytics.admin.v1alpha.ChannelGroup\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\251\001\n" - + "\031CreateBigQueryLinkRequest\022B\n" - + "\006parent\030\001 \001(" - + "\tB2\340A\002\372A,\022*analyticsadmin.googleapis.com/BigQueryLink\022H\n\r" - + "bigquery_link\030\002" - + " \001(\0132,.google.analytics.admin.v1alpha.BigQueryLinkB\003\340A\002\"Z\n" - + "\026GetBigQueryLinkRequest\022@\n" - + "\004name\030\001 \001(\tB2\340A\002\372A,\n" - + "*analyticsadmin.googleapis.com/BigQueryLink\"\205\001\n" - + "\030ListBigQueryLinksRequest\022B\n" - + "\006parent\030\001 \001(" - + "\tB2\340A\002\372A,\022*analyticsadmin.googleapis.com/BigQueryLink\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"z\n" - + "\031ListBigQueryLinksResponse\022D\n" - + "\016bigquery_links\030\001" - + " \003(\0132,.google.analytics.admin.v1alpha.BigQueryLink\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\233\001\n" - + "\031UpdateBigQueryLinkRequest\022H\n\r" - + "bigquery_link\030\001 \001(\0132,.google" - + ".analytics.admin.v1alpha.BigQueryLinkB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"]\n" - + "\031DeleteBigQueryLinkRequest\022@\n" - + "\004name\030\001 \001(\tB2\340A\002\372A,\n" - + "*analyticsadmin.googleapis.com/BigQueryLink\"x\n" - + "%GetEnhancedMeasurementSettingsRequest\022O\n" - + "\004name\030\001 \001(\tBA\340A\002\372A;\n" - + "9analyticsadmin.googleapis.com/EnhancedMeasurementSettings\"\311\001\n" - + "(UpdateEnhancedMeasurementSettingsRequest\022g\n" - + "\035enhanced_measurement_settings\030\001 \001(\0132;." - + "google.analytics.admin.v1alpha.EnhancedMeasurementSettingsB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"l\n" - + "\037GetDataRedactionSettingsRequest\022I\n" - + "\004name\030\001 \001(\tB;\340A\002\372A5\n" - + "3analyticsadmin.googleapis.com/DataRedactionSettings\"\267\001\n" - + "\"UpdateDataRedactionSettingsRequest\022[\n" - + "\027data_redaction_settings\030\001 \001(\01325.google.analytics.a" - + "dmin.v1alpha.DataRedactionSettingsB\003\340A\002\0224\n" - + "\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\245\001\n" - + "\030CreateAdSenseLinkRequest\022A\n" - + "\006parent\030\001 \001(" - + "\tB1\340A\002\372A+\022)analyticsadmin.googleapis.com/AdSenseLink\022F\n" - + "\014adsense_link\030\002" - + " \001(\0132+.google.analytics.admin.v1alpha.AdSenseLinkB\003\340A\002\"X\n" - + "\025GetAdSenseLinkRequest\022?\n" - + "\004name\030\001 \001(\tB1\340A\002\372A+\n" - + ")analyticsadmin.googleapis.com/AdSenseLink\"[\n" - + "\030DeleteAdSenseLinkRequest\022?\n" - + "\004name\030\001 \001(\tB1\340A\002\372A+\n" - + ")analyticsadmin.googleapis.com/AdSenseLink\"\203\001\n" - + "\027ListAdSenseLinksRequest\022A\n" - + "\006parent\030\001 \001(" - + "\tB1\340A\002\372A+\022)analyticsadmin.googleapis.com/AdSenseLink\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"w\n" - + "\030ListAdSenseLinksResponse\022B\n\r" - + "adsense_links\030\001 \003(\0132+.google.analytics.admin.v1alpha.AdSenseLink\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\266\001\n" - + "\034CreateEventCreateRuleRequest\022E\n" - + "\006parent\030\001 \001(\tB5\340A\002\372A/\022-an" - + "alyticsadmin.googleapis.com/EventCreateRule\022O\n" - + "\021event_create_rule\030\002 \001(\0132/.google." - + "analytics.admin.v1alpha.EventCreateRuleB\003\340A\002\"\245\001\n" - + "\034UpdateEventCreateRuleRequest\022O\n" - + "\021event_create_rule\030\001 \001(\0132/.google.analyt" - + "ics.admin.v1alpha.EventCreateRuleB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"c\n" - + "\034DeleteEventCreateRuleRequest\022C\n" - + "\004name\030\001 \001(\tB5\340A\002\372A/\n" - + "-analyticsadmin.googleapis.com/EventCreateRule\"`\n" - + "\031GetEventCreateRuleRequest\022C\n" - + "\004name\030\001 \001(\tB5\340A\002\372A/\n" - + "-analyticsadmin.googleapis.com/EventCreateRule\"\213\001\n" - + "\033ListEventCreateRulesRequest\022E\n" - + "\006parent\030\001 \001(" - + "\tB5\340A\002\372A/\022-analyticsadmin.googleapis.com/EventCreateRule\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"\204\001\n" - + "\034ListEventCreateRulesResponse\022K\n" - + "\022event_create_rules\030\001" - + " \003(\0132/.google.analytics.admin.v1alpha.EventCreateRule\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\256\001\n" - + "\032CreateEventEditRuleRequest\022C\n" - + "\006parent\030\001 \001(" - + "\tB3\340A\002\372A-\022+analyticsadmin.googleapis.com/EventEditRule\022K\n" - + "\017event_edit_rule\030\002" - + " \001(\0132-.google.analytics.admin.v1alpha.EventEditRuleB\003\340A\002\"\237\001\n" - + "\032UpdateEventEditRuleRequest\022K\n" - + "\017event_edit_rule\030\001 \001(" - + "\0132-.google.analytics.admin.v1alpha.EventEditRuleB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"_\n" - + "\032DeleteEventEditRuleRequest\022A\n" - + "\004name\030\001 \001(\tB3\340A\002\372A-\n" - + "+analyticsadmin.googleapis.com/EventEditRule\"\\\n" - + "\027GetEventEditRuleRequest\022A\n" - + "\004name\030\001 \001(\tB3\340A\002\372A-\n" - + "+analyticsadmin.googleapis.com/EventEditRule\"\221\001\n" - + "\031ListEventEditRulesRequest\022C\n" - + "\006parent\030\001 \001(" - + "\tB3\340A\002\372A-\022+analyticsadmin.googleapis.com/EventEditRule\022\026\n" - + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" - + "page_token\030\003 \001(\tB\003\340A\001\"~\n" - + "\032ListEventEditRulesResponse\022G\n" - + "\020event_edit_rules\030\001" - + " \003(\0132-.google.analytics.admin.v1alpha.EventEditRule\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\202\001\n" - + "\034ReorderEventEditRulesRequest\022C\n" - + "\006parent\030\001 \001(" - + "\tB3\340A\002\372A-\022+analyticsadmin.googleapis.com/EventEditRule\022\035\n" - + "\020event_edit_rules\030\002 \003(\tB\003\340A\002\"\205\001\n" - + "\033CreateRollupPropertyRequest\022F\n" - + "\017rollup_property\030\001" - + " \001(\0132(.google.analytics.admin.v1alpha.PropertyB\003\340A\002\022\036\n" - + "\021source_properties\030\002 \003(\tB\003\340A\001\"\301\001\n" - + "\034CreateRollupPropertyResponse\022A\n" - + "\017rollup_property\030\001 \001(\0132(.google.analytics.admin.v1alpha.Property\022^\n" - + "\034rollup_property_source_links\030\002 \003(\01328.google.analytics" - + ".admin.v1alpha.RollupPropertySourceLink\"r\n" - + "\"GetRollupPropertySourceLinkRequest\022L\n" - + "\004name\030\001 \001(\tB>\340A\002\372A8\n" - + "6analyticsadmin.googleapis.com/RollupPropertySourceLink\"\247\001\n" - + "$ListRollupPropertySourceLinksRequest\022N\n" - + "\006parent\030\001 \001(" - + "\tB>\340A\002\372A8\0226analyticsadmin.googleapis.com/RollupPropertySourceLink\022\026\n" - + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" - + "page_token\030\003 \001(\tB\003\340A\001\"\240\001\n" - + "%ListRollupPropertySourceLinksResponse\022^\n" - + "\034rollup_property_source_links\030\001" - + " \003(\01328.google.analytics.admin.v1alpha.RollupPropertySourceLink\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\333\001\n" - + "%CreateRollupPropertySourceLinkRequest\022N\n" - + "\006parent\030\001 \001(\tB>\340A\002\372A8\0226anal" - + "yticsadmin.googleapis.com/RollupPropertySourceLink\022b\n" - + "\033rollup_property_source_link\030\002" - + " \001(\01328.google.analytics.admin.v1alpha.RollupPropertySourceLinkB\003\340A\002\"u\n" - + "%DeleteRollupPropertySourceLinkRequest\022L\n" - + "\004name\030\001 \001(\tB>\340A\002\372A8\n" - + "6analyticsadmin.googleapis.com/RollupPropertySourceLink\"\313\002\n" - + "\033ProvisionSubpropertyRequest\022B\n" - + "\013subproperty\030\002 \001" - + "(\0132(.google.analytics.admin.v1alpha.PropertyB\003\340A\002\022]\n" - + "\030subproperty_event_filter\030\003 " - + "\001(\01326.google.analytics.admin.v1alpha.SubpropertyEventFilterB\003\340A\001\022\210\001\n" - + "0custom_dimension_and_metric_synchronization_mode\030\004 " - + "\001(\0162I.google.analytics.admin.v1alpha.Sub" - + "propertySyncConfig.SynchronizationModeB\003\340A\001\"\267\001\n" - + "\034ProvisionSubpropertyResponse\022=\n" - + "\013subproperty\030\001 \001(\0132(.google.analytics.admin.v1alpha.Property\022X\n" - + "\030subproperty_event_filter\030\002" - + " \001(\01326.google.analytics.admin.v1alpha.SubpropertyEventFilter\"\322\001\n" - + "#CreateSubpropertyEventFilterRequest\022L\n" - + "\006parent\030\001 \001(" - + "\tB<\340A\002\372A6\0224analyticsadmin.googleapis.com/SubpropertyEventFilter\022]\n" - + "\030subproperty_event_filter\030\002 \001(\01326.google.analytics" - + ".admin.v1alpha.SubpropertyEventFilterB\003\340A\002\"n\n" - + " GetSubpropertyEventFilterRequest\022J\n" - + "\004name\030\001 \001(\tB<\340A\002\372A6\n" - + "4analyticsadmin.googleapis.com/SubpropertyEventFilter\"\243\001\n" - + "\"ListSubpropertyEventFiltersRequest\022L\n" - + "\006parent\030\001 \001(" - + "\tB<\340A\002\372A6\0224analyticsadmin.googleapis.com/SubpropertyEventFilter\022\026\n" - + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" - + "page_token\030\003 \001(\tB\003\340A\001\"\231\001\n" - + "#ListSubpropertyEventFiltersResponse\022Y\n" - + "\031subproperty_event_filters\030\001 \003(\01326.go" - + "ogle.analytics.admin.v1alpha.SubpropertyEventFilter\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\272\001\n" - + "#UpdateSubpropertyEventFilterRequest\022]\n" - + "\030subproperty_event_filter\030\001 \001(\01326.google." - + "analytics.admin.v1alpha.SubpropertyEventFilterB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"q\n" - + "#DeleteSubpropertyEventFilterRequest\022J\n" - + "\004name\030\001 \001(\tB<\340A\002\372A6\n" - + "4analyticsadmin.googleapis.com/SubpropertyEventFilter\"\326\001\n" - + "$CreateReportingDataAnnotationRequest\022M\n" - + "\006parent\030\001 \001(\tB=\340" - + "A\002\372A7\0225analyticsadmin.googleapis.com/ReportingDataAnnotation\022_\n" - + "\031reporting_data_annotation\030\002" - + " \001(\01327.google.analytics.admin.v1alpha.ReportingDataAnnotationB\003\340A\002\"p\n" - + "!GetReportingDataAnnotationRequest\022K\n" - + "\004name\030\001 \001(\tB=\340A\002\372A7\n" - + "5analyticsadmin.googleapis.com/ReportingDataAnnotation\"\272\001\n" - + "#ListReportingDataAnnotationsRequest\022M\n" - + "\006parent\030\001 \001(" - + "\tB=\340A\002\372A7\0225analyticsadmin.googleapis.com/ReportingDataAnnotation\022\023\n" - + "\006filter\030\002 \001(\tB\003\340A\001\022\026\n" - + "\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\n" - + "page_token\030\004 \001(\tB\003\340A\001\"\234\001\n" - + "$ListReportingDataAnnotationsResponse\022[\n" - + "\032reporting_data_annotations\030\001" - + " \003(\01327.google.analytics.admin.v1alpha.ReportingDataAnnotation\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\275\001\n" - + "$UpdateReportingDataAnnotationRequest\022_\n" - + "\031reporting_data_annotation\030\001" - + " \001(\01327.google.analytics.admin.v1alpha.ReportingDataAnnotationB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"s\n" - + "$DeleteReportingDataAnnotationRequest\022K\n" - + "\004name\030\001 \001(\tB=\340A\002\372A7\n" - + "5analyticsadmin.googleapis.com/ReportingDataAnnotation\"\302\001\n" - + "\031SubmitUserDeletionRequest\022\021\n" - + "\007user_id\030\002 \001(\tH\000\022\023\n" - + "\tclient_id\030\003 \001(\tH\000\022\031\n" - + "\017app_instance_id\030\004 \001(\tH\000\022\034\n" - + "\022user_provided_data\030\005 \001(\tH\000\022<\n" - + "\004name\030\001 \001(\tB.\340A\002\372A(\n" - + "&analyticsadmin.googleapis.com/PropertyB\006\n" - + "\004user\"W\n" - + "\032SubmitUserDeletionResponse\0229\n" - + "\025deletion_request_time\030\001 \001(\0132\032.google.protobuf.Timestamp\"l\n" - + "\037GetSubpropertySyncConfigRequest\022I\n" - + "\004name\030\001 \001(\tB;\340A\002\372A5\n" - + "3analyticsadmin.googleapis.com/SubpropertySyncConfig\"\241\001\n" - + "!ListSubpropertySyncConfigsRequest\022K\n" - + "\006parent\030\001 \001(\tB;\340A\002\372A5\0223analyticsadm" - + "in.googleapis.com/SubpropertySyncConfig\022\026\n" - + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" - + "page_token\030\003 \001(\tB\003\340A\001\"\226\001\n" - + "\"ListSubpropertySyncConfigsResponse\022W\n" - + "\030subproperty_sync_configs\030\001 \003(" - + "\01325.google.analytics.admin.v1alpha.SubpropertySyncConfig\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\267\001\n" - + "\"UpdateSubpropertySyncConfigRequest\022[\n" - + "\027subproperty_sync_config\030\001 \001(\01325.goog" - + "le.analytics.admin.v1alpha.SubpropertySyncConfigB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"t\n" - + "#GetReportingIdentitySettingsRequest\022M\n" - + "\004name\030\001 \001(\tB?\340A\002\372A9\n" - + "7analyticsadmin.googleapis.com/ReportingIdentitySettings2\244\227\002\n" - + "\025AnalyticsAdminService\022\223\001\n\n" - + "GetAccount\0221.google.analytics.admin.v1alpha.GetAccountRequest\032\'" - + ".google.analytics.admin.v1alpha.Account\"" - + ")\332A\004name\202\323\344\223\002\034\022\032/v1alpha/{name=accounts/*}\022\224\001\n" - + "\014ListAccounts\0223.google.analytics.admin.v1alpha.ListAccountsRequest\0324.googl" - + "e.analytics.admin.v1alpha.ListAccountsResponse\"\031\202\323\344\223\002\023\022\021/v1alpha/accounts\022\210\001\n\r" - + "DeleteAccount\0224.google.analytics.admin.v1a" - + "lpha.DeleteAccountRequest\032\026.google.proto" - + "buf.Empty\")\332A\004name\202\323\344\223\002\034*\032/v1alpha/{name=accounts/*}\022\271\001\n\r" - + "UpdateAccount\0224.google.analytics.admin.v1alpha.UpdateAccountReq" - + "uest\032\'.google.analytics.admin.v1alpha.Ac" - + "count\"I\332A\023account,update_mask\202\323\344\223\002-2\"/v1" - + "alpha/{account.name=accounts/*}:\007account\022\314\001\n" - + "\026ProvisionAccountTicket\022=.google.analytics.admin.v1alpha.ProvisionAccountTic" - + "ketRequest\032>.google.analytics.admin.v1al" - + "pha.ProvisionAccountTicketResponse\"3\202\323\344\223" - + "\002-\"(/v1alpha/accounts:provisionAccountTicket:\001*\022\264\001\n" - + "\024ListAccountSummaries\022;.google.analytics.admin.v1alpha.ListAccountSum" - + "mariesRequest\032<.google.analytics.admin.v" - + "1alpha.ListAccountSummariesResponse\"!\202\323\344\223\002\033\022\031/v1alpha/accountSummaries\022\230\001\n" - + "\013GetProperty\0222.google.analytics.admin.v1alpha." - + "GetPropertyRequest\032(.google.analytics.ad" - + "min.v1alpha.Property\"+\332A\004name\202\323\344\223\002\036\022\034/v1alpha/{name=properties/*}\022\234\001\n" - + "\016ListProperties\0225.google.analytics.admin.v1alpha.Li" - + "stPropertiesRequest\0326.google.analytics.a" - + "dmin.v1alpha.ListPropertiesResponse\"\033\202\323\344\223\002\025\022\023/v1alpha/properties\022\243\001\n" - + "\016CreateProperty\0225.google.analytics.admin.v1alpha.Cre" - + "atePropertyRequest\032(.google.analytics.ad" - + "min.v1alpha.Property\"0\332A\010property\202\323\344\223\002\037\"\023/v1alpha/properties:\010property\022\236\001\n" - + "\016DeleteProperty\0225.google.analytics.admin.v1alp" - + "ha.DeletePropertyRequest\032(.google.analyt" - + "ics.admin.v1alpha.Property\"+\332A\004name\202\323\344\223\002\036*\034/v1alpha/{name=properties/*}\022\301\001\n" - + "\016UpdateProperty\0225.google.analytics.admin.v1al" - + "pha.UpdatePropertyRequest\032(.google.analy" - + "tics.admin.v1alpha.Property\"N\332A\024property" - + ",update_mask\202\323\344\223\00212%/v1alpha/{property.name=properties/*}:\010property\022\331\001\n" - + "\022CreateFirebaseLink\0229.google.analytics.admin.v1al" - + "pha.CreateFirebaseLinkRequest\032,.google.a" - + "nalytics.admin.v1alpha.FirebaseLink\"Z\332A\024" - + "parent,firebase_link\202\323\344\223\002=\",/v1alpha/{parent=properties/*}/firebaseLinks:\r" - + "firebase_link\022\244\001\n" - + "\022DeleteFirebaseLink\0229.google.analytics.admin.v1alpha.DeleteFirebaseLi" - + "nkRequest\032\026.google.protobuf.Empty\";\332A\004na" - + "me\202\323\344\223\002.*,/v1alpha/{name=properties/*/firebaseLinks/*}\022\307\001\n" - + "\021ListFirebaseLinks\0228.google.analytics.admin.v1alpha.ListFireba" - + "seLinksRequest\0329.google.analytics.admin." - + "v1alpha.ListFirebaseLinksResponse\"=\332A\006pa" - + "rent\202\323\344\223\002.\022,/v1alpha/{parent=properties/*}/firebaseLinks\022\303\001\n" - + "\020GetGlobalSiteTag\0227.google.analytics.admin.v1alpha.GetGlobal" - + "SiteTagRequest\032-.google.analytics.admin." - + "v1alpha.GlobalSiteTag\"G\332A\004name\202\323\344\223\002:\0228/v" - + "1alpha/{name=properties/*/dataStreams/*/globalSiteTag}\022\341\001\n" - + "\023CreateGoogleAdsLink\022:.google.analytics.admin.v1alpha.CreateGo" - + "ogleAdsLinkRequest\032-.google.analytics.ad" - + "min.v1alpha.GoogleAdsLink\"_\332A\026parent,goo" - + "gle_ads_link\202\323\344\223\002@\"-/v1alpha/{parent=pro" - + "perties/*}/googleAdsLinks:\017google_ads_link\022\366\001\n" - + "\023UpdateGoogleAdsLink\022:.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkR" - + "equest\032-.google.analytics.admin.v1alpha." - + "GoogleAdsLink\"t\332A\033google_ads_link,update" - + "_mask\202\323\344\223\002P2=/v1alpha/{google_ads_link.n", - "ame=properties/*/googleAdsLinks/*}:\017goog" - + "le_ads_link\022\247\001\n\023DeleteGoogleAdsLink\022:.go" - + "ogle.analytics.admin.v1alpha.DeleteGoogl" - + "eAdsLinkRequest\032\026.google.protobuf.Empty\"" - + "<\332A\004name\202\323\344\223\002/*-/v1alpha/{name=propertie" - + "s/*/googleAdsLinks/*}\022\313\001\n\022ListGoogleAdsL" - + "inks\0229.google.analytics.admin.v1alpha.Li" - + "stGoogleAdsLinksRequest\032:.google.analyti" - + "cs.admin.v1alpha.ListGoogleAdsLinksRespo" - + "nse\">\332A\006parent\202\323\344\223\002/\022-/v1alpha/{parent=p" - + "roperties/*}/googleAdsLinks\022\313\001\n\026GetDataS" - + "haringSettings\022=.google.analytics.admin." - + "v1alpha.GetDataSharingSettingsRequest\0323." - + "google.analytics.admin.v1alpha.DataShari" - + "ngSettings\"=\332A\004name\202\323\344\223\0020\022./v1alpha/{nam" - + "e=accounts/*/dataSharingSettings}\022\366\001\n\034Ge" - + "tMeasurementProtocolSecret\022C.google.anal" - + "ytics.admin.v1alpha.GetMeasurementProtoc" - + "olSecretRequest\0329.google.analytics.admin" - + ".v1alpha.MeasurementProtocolSecret\"V\332A\004n" - + "ame\202\323\344\223\002I\022G/v1alpha/{name=properties/*/d" - + "ataStreams/*/measurementProtocolSecrets/" - + "*}\022\211\002\n\036ListMeasurementProtocolSecrets\022E." - + "google.analytics.admin.v1alpha.ListMeasu" - + "rementProtocolSecretsRequest\032F.google.an" - + "alytics.admin.v1alpha.ListMeasurementPro" - + "tocolSecretsResponse\"X\332A\006parent\202\323\344\223\002I\022G/" - + "v1alpha/{parent=properties/*/dataStreams" - + "/*}/measurementProtocolSecrets\022\270\002\n\037Creat" - + "eMeasurementProtocolSecret\022F.google.anal" - + "ytics.admin.v1alpha.CreateMeasurementPro" - + "tocolSecretRequest\0329.google.analytics.ad" - + "min.v1alpha.MeasurementProtocolSecret\"\221\001" - + "\332A\"parent,measurement_protocol_secret\202\323\344" - + "\223\002f\"G/v1alpha/{parent=properties/*/dataS" - + "treams/*}/measurementProtocolSecrets:\033me" - + "asurement_protocol_secret\022\331\001\n\037DeleteMeas" - + "urementProtocolSecret\022F.google.analytics" - + ".admin.v1alpha.DeleteMeasurementProtocol" - + "SecretRequest\032\026.google.protobuf.Empty\"V\332" - + "A\004name\202\323\344\223\002I*G/v1alpha/{name=properties/" - + "*/dataStreams/*/measurementProtocolSecre" - + "ts/*}\022\332\002\n\037UpdateMeasurementProtocolSecre" - + "t\022F.google.analytics.admin.v1alpha.Updat" - + "eMeasurementProtocolSecretRequest\0329.goog" - + "le.analytics.admin.v1alpha.MeasurementPr" - + "otocolSecret\"\263\001\332A\'measurement_protocol_s" - + "ecret,update_mask\202\323\344\223\002\202\0012c/v1alpha/{meas" - + "urement_protocol_secret.name=properties/" - + "*/dataStreams/*/measurementProtocolSecre" - + "ts/*}:\033measurement_protocol_secret\022\367\001\n\035A" - + "cknowledgeUserDataCollection\022D.google.an" - + "alytics.admin.v1alpha.AcknowledgeUserDat" - + "aCollectionRequest\032E.google.analytics.ad" - + "min.v1alpha.AcknowledgeUserDataCollectio" - + "nResponse\"I\202\323\344\223\002C\">/v1alpha/{property=pr" - + "operties/*}:acknowledgeUserDataCollectio" - + "n:\001*\022\221\002\n#GetSKAdNetworkConversionValueSc" - + "hema\022J.google.analytics.admin.v1alpha.Ge" - + "tSKAdNetworkConversionValueSchemaRequest" - + "\032@.google.analytics.admin.v1alpha.SKAdNe" - + "tworkConversionValueSchema\"\\\332A\004name\202\323\344\223\002" - + "O\022M/v1alpha/{name=properties/*/dataStrea" - + "ms/*/sKAdNetworkConversionValueSchema/*}" - + "\022\343\002\n&CreateSKAdNetworkConversionValueSch" - + "ema\022M.google.analytics.admin.v1alpha.Cre" - + "ateSKAdNetworkConversionValueSchemaReque" - + "st\032@.google.analytics.admin.v1alpha.SKAd" - + "NetworkConversionValueSchema\"\247\001\332A*parent" - + ",skadnetwork_conversion_value_schema\202\323\344\223" - + "\002t\"M/v1alpha/{parent=properties/*/dataSt" - + "reams/*}/sKAdNetworkConversionValueSchem" - + "a:#skadnetwork_conversion_value_schema\022\355" - + "\001\n&DeleteSKAdNetworkConversionValueSchem" - + "a\022M.google.analytics.admin.v1alpha.Delet" - + "eSKAdNetworkConversionValueSchemaRequest" - + "\032\026.google.protobuf.Empty\"\\\332A\004name\202\323\344\223\002O*" - + "M/v1alpha/{name=properties/*/dataStreams" - + "/*/sKAdNetworkConversionValueSchema/*}\022\215" - + "\003\n&UpdateSKAdNetworkConversionValueSchem" - + "a\022M.google.analytics.admin.v1alpha.Updat" - + "eSKAdNetworkConversionValueSchemaRequest" - + "\032@.google.analytics.admin.v1alpha.SKAdNe" - + "tworkConversionValueSchema\"\321\001\332A/skadnetw" - + "ork_conversion_value_schema,update_mask\202" - + "\323\344\223\002\230\0012q/v1alpha/{skadnetwork_conversion" - + "_value_schema.name=properties/*/dataStre" - + "ams/*/sKAdNetworkConversionValueSchema/*" - + "}:#skadnetwork_conversion_value_schema\022\244" - + "\002\n%ListSKAdNetworkConversionValueSchemas" - + "\022L.google.analytics.admin.v1alpha.ListSK" - + "AdNetworkConversionValueSchemasRequest\032M" - + ".google.analytics.admin.v1alpha.ListSKAd" - + "NetworkConversionValueSchemasResponse\"^\332" - + "A\006parent\202\323\344\223\002O\022M/v1alpha/{parent=propert" - + "ies/*/dataStreams/*}/sKAdNetworkConversi" - + "onValueSchema\022\344\001\n\031SearchChangeHistoryEve" - + "nts\022@.google.analytics.admin.v1alpha.Sea" - + "rchChangeHistoryEventsRequest\032A.google.a" - + "nalytics.admin.v1alpha.SearchChangeHisto" - + "ryEventsResponse\"B\202\323\344\223\002<\"7/v1alpha/{acco" - + "unt=accounts/*}:searchChangeHistoryEvent" - + "s:\001*\022\325\001\n\030GetGoogleSignalsSettings\022?.goog" - + "le.analytics.admin.v1alpha.GetGoogleSign" - + "alsSettingsRequest\0325.google.analytics.ad" - + "min.v1alpha.GoogleSignalsSettings\"A\332A\004na" - + "me\202\323\344\223\0024\0222/v1alpha/{name=properties/*/go" - + "ogleSignalsSettings}\022\254\002\n\033UpdateGoogleSig" - + "nalsSettings\022B.google.analytics.admin.v1" - + "alpha.UpdateGoogleSignalsSettingsRequest" - + "\0325.google.analytics.admin.v1alpha.Google" - + "SignalsSettings\"\221\001\332A#google_signals_sett" - + "ings,update_mask\202\323\344\223\002e2J/v1alpha/{google" - + "_signals_settings.name=properties/*/goog" - + "leSignalsSettings}:\027google_signals_setti" - + "ngs\022\356\001\n\025CreateConversionEvent\022<.google.a" - + "nalytics.admin.v1alpha.CreateConversionE" - + "ventRequest\032/.google.analytics.admin.v1a" - + "lpha.ConversionEvent\"f\210\002\001\332A\027parent,conve" - + "rsion_event\202\323\344\223\002C\"//v1alpha/{parent=prop" - + "erties/*}/conversionEvents:\020conversion_e" - + "vent\022\204\002\n\025UpdateConversionEvent\022<.google." - + "analytics.admin.v1alpha.UpdateConversion" - + "EventRequest\032/.google.analytics.admin.v1" - + "alpha.ConversionEvent\"|\210\002\001\332A\034conversion_" - + "event,update_mask\202\323\344\223\002T2@/v1alpha/{conve" - + "rsion_event.name=properties/*/conversion" - + "Events/*}:\020conversion_event\022\303\001\n\022GetConve" - + "rsionEvent\0229.google.analytics.admin.v1al" - + "pha.GetConversionEventRequest\032/.google.a" - + "nalytics.admin.v1alpha.ConversionEvent\"A" - + "\210\002\001\332A\004name\202\323\344\223\0021\022//v1alpha/{name=propert" - + "ies/*/conversionEvents/*}\022\260\001\n\025DeleteConv" - + "ersionEvent\022<.google.analytics.admin.v1a" - + "lpha.DeleteConversionEventRequest\032\026.goog" - + "le.protobuf.Empty\"A\210\002\001\332A\004name\202\323\344\223\0021*//v1" - + "alpha/{name=properties/*/conversionEvent" - + "s/*}\022\326\001\n\024ListConversionEvents\022;.google.a" - + "nalytics.admin.v1alpha.ListConversionEve" - + "ntsRequest\032<.google.analytics.admin.v1al" - + "pha.ListConversionEventsResponse\"C\210\002\001\332A\006" - + "parent\202\323\344\223\0021\022//v1alpha/{parent=propertie" - + "s/*}/conversionEvents\022\301\001\n\016CreateKeyEvent" - + "\0225.google.analytics.admin.v1alpha.Create" - + "KeyEventRequest\032(.google.analytics.admin" - + ".v1alpha.KeyEvent\"N\332A\020parent,key_event\202\323" - + "\344\223\0025\"(/v1alpha/{parent=properties/*}/key" - + "Events:\tkey_event\022\320\001\n\016UpdateKeyEvent\0225.g" - + "oogle.analytics.admin.v1alpha.UpdateKeyE" - + "ventRequest\032(.google.analytics.admin.v1a" - + "lpha.KeyEvent\"]\332A\025key_event,update_mask\202" - + "\323\344\223\002?22/v1alpha/{key_event.name=properti" - + "es/*/keyEvents/*}:\tkey_event\022\244\001\n\013GetKeyE" - + "vent\0222.google.analytics.admin.v1alpha.Ge" - + "tKeyEventRequest\032(.google.analytics.admi" - + "n.v1alpha.KeyEvent\"7\332A\004name\202\323\344\223\002*\022(/v1al" - + "pha/{name=properties/*/keyEvents/*}\022\230\001\n\016" - + "DeleteKeyEvent\0225.google.analytics.admin." - + "v1alpha.DeleteKeyEventRequest\032\026.google.p" - + "rotobuf.Empty\"7\332A\004name\202\323\344\223\002**(/v1alpha/{" - + "name=properties/*/keyEvents/*}\022\267\001\n\rListK" - + "eyEvents\0224.google.analytics.admin.v1alph" - + "a.ListKeyEventsRequest\0325.google.analytic" - + "s.admin.v1alpha.ListKeyEventsResponse\"9\332" - + "A\006parent\202\323\344\223\002*\022(/v1alpha/{parent=propert" - + "ies/*}/keyEvents\022\370\001\n GetDisplayVideo360A" - + "dvertiserLink\022G.google.analytics.admin.v" - + "1alpha.GetDisplayVideo360AdvertiserLinkR" - + "equest\032=.google.analytics.admin.v1alpha." - + "DisplayVideo360AdvertiserLink\"L\332A\004name\202\323" - + "\344\223\002?\022=/v1alpha/{name=properties/*/displa" - + "yVideo360AdvertiserLinks/*}\022\213\002\n\"ListDisp" - + "layVideo360AdvertiserLinks\022I.google.anal" - + "ytics.admin.v1alpha.ListDisplayVideo360A" - + "dvertiserLinksRequest\032J.google.analytics" - + ".admin.v1alpha.ListDisplayVideo360Advert" - + "iserLinksResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1a" - + "lpha/{parent=properties/*}/displayVideo3" - + "60AdvertiserLinks\022\306\002\n#CreateDisplayVideo" - + "360AdvertiserLink\022J.google.analytics.adm" - + "in.v1alpha.CreateDisplayVideo360Advertis" - + "erLinkRequest\032=.google.analytics.admin.v" - + "1alpha.DisplayVideo360AdvertiserLink\"\223\001\332" - + "A(parent,display_video_360_advertiser_li" - + "nk\202\323\344\223\002b\"=/v1alpha/{parent=properties/*}" - + "/displayVideo360AdvertiserLinks:!display" - + "_video_360_advertiser_link\022\327\001\n#DeleteDis" - + "playVideo360AdvertiserLink\022J.google.anal" - + "ytics.admin.v1alpha.DeleteDisplayVideo36" - + "0AdvertiserLinkRequest\032\026.google.protobuf" - + ".Empty\"L\332A\004name\202\323\344\223\002?*=/v1alpha/{name=pr" + + "\tB0\340A\002\372A*\022(analyticsadmin.googleapis.com/DataStream\022\021\n" + + "\tpage_si", + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\027ListData" + + "StreamsResponse\022@\n\014data_streams\030\001 \003(\0132*." + + "google.analytics.admin.v1alpha.DataStrea" + + "m\022\027\n\017next_page_token\030\002 \001(\t\"V\n\024GetDataStr" + + "eamRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analyt" + + "icsadmin.googleapis.com/DataStream\"R\n\022Ge" + + "tAudienceRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&" + + "analyticsadmin.googleapis.com/Audience\"}" + + "\n\024ListAudiencesRequest\022>\n\006parent\030\001 \001(\tB." + + "\340A\002\372A(\022&analyticsadmin.googleapis.com/Au" + + "dience\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\"m\n\025ListAudiencesResponse\022;\n\taudien" + + "ces\030\001 \003(\0132(.google.analytics.admin.v1alp" + + "ha.Audience\022\027\n\017next_page_token\030\002 \001(\t\"\230\001\n" + + "\025CreateAudienceRequest\022>\n\006parent\030\001 \001(\tB." + + "\340A\002\372A(\022&analyticsadmin.googleapis.com/Au" + + "dience\022?\n\010audience\030\002 \001(\0132(.google.analyt" + + "ics.admin.v1alpha.AudienceB\003\340A\002\"\216\001\n\025Upda" + + "teAudienceRequest\022?\n\010audience\030\001 \001(\0132(.go" + + "ogle.analytics.admin.v1alpha.AudienceB\003\340" + + "A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobu" + + "f.FieldMaskB\003\340A\002\"V\n\026ArchiveAudienceReque" + + "st\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin" + + ".googleapis.com/Audience\"h\n\035GetAttributi" + + "onSettingsRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n" + + "1analyticsadmin.googleapis.com/Attributi" + + "onSettings\"\260\001\n UpdateAttributionSettings" + + "Request\022V\n\024attribution_settings\030\001 \001(\01323." + + "google.analytics.admin.v1alpha.Attributi" + + "onSettingsB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\003\340A\002\"\\\n\027GetAcce" + + "ssBindingRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+" + + "analyticsadmin.googleapis.com/AccessBind" + + "ing\"\250\001\n\035BatchGetAccessBindingsRequest\022C\n" + + "\006parent\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.go" + + "ogleapis.com/AccessBinding\022B\n\005names\030\002 \003(" + + "\tB3\340A\002\372A-\n+analyticsadmin.googleapis.com" + + "/AccessBinding\"h\n\036BatchGetAccessBindings" + + "Response\022F\n\017access_bindings\030\001 \003(\0132-.goog" + + "le.analytics.admin.v1alpha.AccessBinding" + + "\"\207\001\n\031ListAccessBindingsRequest\022C\n\006parent" + + "\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.googleapi" + + "s.com/AccessBinding\022\021\n\tpage_size\030\002 \001(\005\022\022" + + "\n\npage_token\030\003 \001(\t\"}\n\032ListAccessBindings" + + "Response\022F\n\017access_bindings\030\001 \003(\0132-.goog" + + "le.analytics.admin.v1alpha.AccessBinding" + + "\022\027\n\017next_page_token\030\002 \001(\t\"\255\001\n\032CreateAcce" + + "ssBindingRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-" + + "\022+analyticsadmin.googleapis.com/AccessBi" + + "nding\022J\n\016access_binding\030\002 \001(\0132-.google.a" + + "nalytics.admin.v1alpha.AccessBindingB\003\340A" + + "\002\"\272\001\n BatchCreateAccessBindingsRequest\022C" + + "\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.g" + + "oogleapis.com/AccessBinding\022Q\n\010requests\030" + + "\003 \003(\0132:.google.analytics.admin.v1alpha.C" + + "reateAccessBindingRequestB\003\340A\002\"k\n!BatchC" + + "reateAccessBindingsResponse\022F\n\017access_bi" + + "ndings\030\001 \003(\0132-.google.analytics.admin.v1" + + "alpha.AccessBinding\"h\n\032UpdateAccessBindi" + + "ngRequest\022J\n\016access_binding\030\001 \001(\0132-.goog" + + "le.analytics.admin.v1alpha.AccessBinding" + + "B\003\340A\002\"\272\001\n BatchUpdateAccessBindingsReque" + + "st\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+analyticsadm" + + "in.googleapis.com/AccessBinding\022Q\n\010reque" + + "sts\030\002 \003(\0132:.google.analytics.admin.v1alp" + + "ha.UpdateAccessBindingRequestB\003\340A\002\"k\n!Ba" + + "tchUpdateAccessBindingsResponse\022F\n\017acces" + + "s_bindings\030\001 \003(\0132-.google.analytics.admi" + + "n.v1alpha.AccessBinding\"_\n\032DeleteAccessB" + + "indingRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+ana" + + "lyticsadmin.googleapis.com/AccessBinding" + + "\"\272\001\n BatchDeleteAccessBindingsRequest\022C\n" + + "\006parent\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.go" + + "ogleapis.com/AccessBinding\022Q\n\010requests\030\002" + + " \003(\0132:.google.analytics.admin.v1alpha.De" + + "leteAccessBindingRequestB\003\340A\002\"\266\001\n\034Create" + + "ExpandedDataSetRequest\022E\n\006parent\030\001 \001(\tB5" + + "\340A\002\372A/\022-analyticsadmin.googleapis.com/Ex" + + "pandedDataSet\022O\n\021expanded_data_set\030\002 \001(\013" + + "2/.google.analytics.admin.v1alpha.Expand" + + "edDataSetB\003\340A\002\"\245\001\n\034UpdateExpandedDataSet" + + "Request\022O\n\021expanded_data_set\030\001 \001(\0132/.goo" + + "gle.analytics.admin.v1alpha.ExpandedData" + + "SetB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\003\340A\002\"c\n\034DeleteExpanded" + + "DataSetRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-an" + + "alyticsadmin.googleapis.com/ExpandedData" + + "Set\"`\n\031GetExpandedDataSetRequest\022C\n\004name" + + "\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googleapi" + + "s.com/ExpandedDataSet\"\213\001\n\033ListExpandedDa" + + "taSetsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-a" + + "nalyticsadmin.googleapis.com/ExpandedDat" + + "aSet\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " + + "\001(\t\"\204\001\n\034ListExpandedDataSetsResponse\022K\n\022" + + "expanded_data_sets\030\001 \003(\0132/.google.analyt" + + "ics.admin.v1alpha.ExpandedDataSet\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"\251\001\n\031CreateChannelGrou" + + "pRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analyt" + + "icsadmin.googleapis.com/ChannelGroup\022H\n\r" + + "channel_group\030\002 \001(\0132,.google.analytics.a" + + "dmin.v1alpha.ChannelGroupB\003\340A\002\"\233\001\n\031Updat" + + "eChannelGroupRequest\022H\n\rchannel_group\030\001 " + + "\001(\0132,.google.analytics.admin.v1alpha.Cha" + + "nnelGroupB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.go" + + "ogle.protobuf.FieldMaskB\003\340A\002\"]\n\031DeleteCh" + + "annelGroupRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n" + + "*analyticsadmin.googleapis.com/ChannelGr" + + "oup\"Z\n\026GetChannelGroupRequest\022@\n\004name\030\001 " + + "\001(\tB2\340A\002\372A,\n*analyticsadmin.googleapis.c" + + "om/ChannelGroup\"\205\001\n\030ListChannelGroupsReq" + + "uest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analyticsa" + + "dmin.googleapis.com/ChannelGroup\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031ListC" + + "hannelGroupsResponse\022D\n\016channel_groups\030\001" + + " \003(\0132,.google.analytics.admin.v1alpha.Ch" + + "annelGroup\022\027\n\017next_page_token\030\002 \001(\t\"\251\001\n\031" + + "CreateBigQueryLinkRequest\022B\n\006parent\030\001 \001(" + + "\tB2\340A\002\372A,\022*analyticsadmin.googleapis.com" + + "/BigQueryLink\022H\n\rbigquery_link\030\002 \001(\0132,.g" + + "oogle.analytics.admin.v1alpha.BigQueryLi" + + "nkB\003\340A\002\"Z\n\026GetBigQueryLinkRequest\022@\n\004nam" + + "e\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.googleap" + + "is.com/BigQueryLink\"\205\001\n\030ListBigQueryLink" + + "sRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analyt" + + "icsadmin.googleapis.com/BigQueryLink\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031L" + + "istBigQueryLinksResponse\022D\n\016bigquery_lin" + + "ks\030\001 \003(\0132,.google.analytics.admin.v1alph" + + "a.BigQueryLink\022\027\n\017next_page_token\030\002 \001(\t\"" + + "\233\001\n\031UpdateBigQueryLinkRequest\022H\n\rbigquer" + + "y_link\030\001 \001(\0132,.google.analytics.admin.v1" + + "alpha.BigQueryLinkB\003\340A\002\0224\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"]\n" + + "\031DeleteBigQueryLinkRequest\022@\n\004name\030\001 \001(\t" + + "B2\340A\002\372A,\n*analyticsadmin.googleapis.com/" + + "BigQueryLink\"x\n%GetEnhancedMeasurementSe" + + "ttingsRequest\022O\n\004name\030\001 \001(\tBA\340A\002\372A;\n9ana" + + "lyticsadmin.googleapis.com/EnhancedMeasu" + + "rementSettings\"\311\001\n(UpdateEnhancedMeasure" + + "mentSettingsRequest\022g\n\035enhanced_measurem" + + "ent_settings\030\001 \001(\0132;.google.analytics.ad" + + "min.v1alpha.EnhancedMeasurementSettingsB" + + "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMaskB\003\340A\002\"l\n\037GetDataRedactionSe" + + "ttingsRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3ana" + + "lyticsadmin.googleapis.com/DataRedaction" + + "Settings\"\267\001\n\"UpdateDataRedactionSettings" + + "Request\022[\n\027data_redaction_settings\030\001 \001(\013" + + "25.google.analytics.admin.v1alpha.DataRe" + + "dactionSettingsB\003\340A\002\0224\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\245\001\n\030C" + + "reateAdSenseLinkRequest\022A\n\006parent\030\001 \001(\tB" + + "1\340A\002\372A+\022)analyticsadmin.googleapis.com/A" + + "dSenseLink\022F\n\014adsense_link\030\002 \001(\0132+.googl" + + "e.analytics.admin.v1alpha.AdSenseLinkB\003\340" + + "A\002\"X\n\025GetAdSenseLinkRequest\022?\n\004name\030\001 \001(" + + "\tB1\340A\002\372A+\n)analyticsadmin.googleapis.com" + + "/AdSenseLink\"[\n\030DeleteAdSenseLinkRequest" + + "\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)analyticsadmin.g" + + "oogleapis.com/AdSenseLink\"\203\001\n\027ListAdSens" + + "eLinksRequest\022A\n\006parent\030\001 \001(\tB1\340A\002\372A+\022)a" + + "nalyticsadmin.googleapis.com/AdSenseLink" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + + "w\n\030ListAdSenseLinksResponse\022B\n\radsense_l" + + "inks\030\001 \003(\0132+.google.analytics.admin.v1al" + + "pha.AdSenseLink\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\266\001\n\034CreateEventCreateRuleRequest\022E\n\006par" + + "ent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.google" + + "apis.com/EventCreateRule\022O\n\021event_create" + + "_rule\030\002 \001(\0132/.google.analytics.admin.v1a" + + "lpha.EventCreateRuleB\003\340A\002\"\245\001\n\034UpdateEven" + + "tCreateRuleRequest\022O\n\021event_create_rule\030" + + "\001 \001(\0132/.google.analytics.admin.v1alpha.E" + + "ventCreateRuleB\003\340A\002\0224\n\013update_mask\030\002 \001(\013" + + "2\032.google.protobuf.FieldMaskB\003\340A\002\"c\n\034Del" + + "eteEventCreateRuleRequest\022C\n\004name\030\001 \001(\tB" + + "5\340A\002\372A/\n-analyticsadmin.googleapis.com/E" + + "ventCreateRule\"`\n\031GetEventCreateRuleRequ" + + "est\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmi" + + "n.googleapis.com/EventCreateRule\"\213\001\n\033Lis" + + "tEventCreateRulesRequest\022E\n\006parent\030\001 \001(\t" + + "B5\340A\002\372A/\022-analyticsadmin.googleapis.com/" + + "EventCreateRule\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"\204\001\n\034ListEventCreateRulesR" + + "esponse\022K\n\022event_create_rules\030\001 \003(\0132/.go" + + "ogle.analytics.admin.v1alpha.EventCreate" + + "Rule\022\027\n\017next_page_token\030\002 \001(\t\"\256\001\n\032Create" + + "EventEditRuleRequest\022C\n\006parent\030\001 \001(\tB3\340A" + + "\002\372A-\022+analyticsadmin.googleapis.com/Even" + + "tEditRule\022K\n\017event_edit_rule\030\002 \001(\0132-.goo" + + "gle.analytics.admin.v1alpha.EventEditRul" + + "eB\003\340A\002\"\237\001\n\032UpdateEventEditRuleRequest\022K\n" + + "\017event_edit_rule\030\001 \001(\0132-.google.analytic" + + "s.admin.v1alpha.EventEditRuleB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\"_\n\032DeleteEventEditRuleRequest\022A" + + "\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin.goo" + + "gleapis.com/EventEditRule\"\\\n\027GetEventEdi" + + "tRuleRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+anal" + + "yticsadmin.googleapis.com/EventEditRule\"" + + "\221\001\n\031ListEventEditRulesRequest\022C\n\006parent\030" + + "\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.googleapis" + + ".com/EventEditRule\022\026\n\tpage_size\030\002 \001(\005B\003\340" + + "A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"~\n\032ListEvent" + + "EditRulesResponse\022G\n\020event_edit_rules\030\001 " + + "\003(\0132-.google.analytics.admin.v1alpha.Eve" + + "ntEditRule\022\027\n\017next_page_token\030\002 \001(\t\"\202\001\n\034" + + "ReorderEventEditRulesRequest\022C\n\006parent\030\001" + + " \001(\tB3\340A\002\372A-\022+analyticsadmin.googleapis." + + "com/EventEditRule\022\035\n\020event_edit_rules\030\002 " + + "\003(\tB\003\340A\002\"\205\001\n\033CreateRollupPropertyRequest" + + "\022F\n\017rollup_property\030\001 \001(\0132(.google.analy" + + "tics.admin.v1alpha.PropertyB\003\340A\002\022\036\n\021sour" + + "ce_properties\030\002 \003(\tB\003\340A\001\"\301\001\n\034CreateRollu" + + "pPropertyResponse\022A\n\017rollup_property\030\001 \001" + + "(\0132(.google.analytics.admin.v1alpha.Prop" + + "erty\022^\n\034rollup_property_source_links\030\002 \003" + + "(\01328.google.analytics.admin.v1alpha.Roll" + + "upPropertySourceLink\"r\n\"GetRollupPropert" + + "ySourceLinkRequest\022L\n\004name\030\001 \001(\tB>\340A\002\372A8" + + "\n6analyticsadmin.googleapis.com/RollupPr" + + "opertySourceLink\"\247\001\n$ListRollupPropertyS" + + "ourceLinksRequest\022N\n\006parent\030\001 \001(\tB>\340A\002\372A" + + "8\0226analyticsadmin.googleapis.com/RollupP" + + "ropertySourceLink\022\026\n\tpage_size\030\002 \001(\005B\003\340A" + + "\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\240\001\n%ListRollu" + + "pPropertySourceLinksResponse\022^\n\034rollup_p" + + "roperty_source_links\030\001 \003(\01328.google.anal" + + "ytics.admin.v1alpha.RollupPropertySource" + + "Link\022\027\n\017next_page_token\030\002 \001(\t\"\333\001\n%Create" + + "RollupPropertySourceLinkRequest\022N\n\006paren" + + "t\030\001 \001(\tB>\340A\002\372A8\0226analyticsadmin.googleap" + + "is.com/RollupPropertySourceLink\022b\n\033rollu" + + "p_property_source_link\030\002 \001(\01328.google.an" + + "alytics.admin.v1alpha.RollupPropertySour" + + "ceLinkB\003\340A\002\"u\n%DeleteRollupPropertySourc" + + "eLinkRequest\022L\n\004name\030\001 \001(\tB>\340A\002\372A8\n6anal" + + "yticsadmin.googleapis.com/RollupProperty" + + "SourceLink\"\313\002\n\033ProvisionSubpropertyReque" + + "st\022B\n\013subproperty\030\002 \001(\0132(.google.analyti" + + "cs.admin.v1alpha.PropertyB\003\340A\002\022]\n\030subpro" + + "perty_event_filter\030\003 \001(\01326.google.analyt" + + "ics.admin.v1alpha.SubpropertyEventFilter" + + "B\003\340A\001\022\210\001\n0custom_dimension_and_metric_sy" + + "nchronization_mode\030\004 \001(\0162I.google.analyt" + + "ics.admin.v1alpha.SubpropertySyncConfig." + + "SynchronizationModeB\003\340A\001\"\267\001\n\034ProvisionSu" + + "bpropertyResponse\022=\n\013subproperty\030\001 \001(\0132(" + + ".google.analytics.admin.v1alpha.Property" + + "\022X\n\030subproperty_event_filter\030\002 \001(\01326.goo" + + "gle.analytics.admin.v1alpha.SubpropertyE" + + "ventFilter\"\322\001\n#CreateSubpropertyEventFil" + + "terRequest\022L\n\006parent\030\001 \001(\tB<\340A\002\372A6\0224anal" + + "yticsadmin.googleapis.com/SubpropertyEve" + + "ntFilter\022]\n\030subproperty_event_filter\030\002 \001" + + "(\01326.google.analytics.admin.v1alpha.Subp" + + "ropertyEventFilterB\003\340A\002\"n\n GetSubpropert" + + "yEventFilterRequest\022J\n\004name\030\001 \001(\tB<\340A\002\372A" + + "6\n4analyticsadmin.googleapis.com/Subprop" + + "ertyEventFilter\"\243\001\n\"ListSubpropertyEvent" + + "FiltersRequest\022L\n\006parent\030\001 \001(\tB<\340A\002\372A6\0224" + + "analyticsadmin.googleapis.com/Subpropert" + + "yEventFilter\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\"\231\001\n#ListSubpropert" + + "yEventFiltersResponse\022Y\n\031subproperty_eve" + + "nt_filters\030\001 \003(\01326.google.analytics.admi" + + "n.v1alpha.SubpropertyEventFilter\022\027\n\017next" + + "_page_token\030\002 \001(\t\"\272\001\n#UpdateSubpropertyE" + + "ventFilterRequest\022]\n\030subproperty_event_f" + + "ilter\030\001 \001(\01326.google.analytics.admin.v1a" + + "lpha.SubpropertyEventFilterB\003\340A\002\0224\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "kB\003\340A\002\"q\n#DeleteSubpropertyEventFilterRe" + + "quest\022J\n\004name\030\001 \001(\tB<\340A\002\372A6\n4analyticsad" + + "min.googleapis.com/SubpropertyEventFilte" + + "r\"\326\001\n$CreateReportingDataAnnotationReque" + + "st\022M\n\006parent\030\001 \001(\tB=\340A\002\372A7\0225analyticsadm" + + "in.googleapis.com/ReportingDataAnnotatio" + + "n\022_\n\031reporting_data_annotation\030\002 \001(\01327.g" + + "oogle.analytics.admin.v1alpha.ReportingD" + + "ataAnnotationB\003\340A\002\"p\n!GetReportingDataAn" + + "notationRequest\022K\n\004name\030\001 \001(\tB=\340A\002\372A7\n5a" + + "nalyticsadmin.googleapis.com/ReportingDa" + + "taAnnotation\"\272\001\n#ListReportingDataAnnota" + + "tionsRequest\022M\n\006parent\030\001 \001(\tB=\340A\002\372A7\0225an" + + "alyticsadmin.googleapis.com/ReportingDat" + + "aAnnotation\022\023\n\006filter\030\002 \001(\tB\003\340A\001\022\026\n\tpage" + + "_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A" + + "\001\"\234\001\n$ListReportingDataAnnotationsRespon" + + "se\022[\n\032reporting_data_annotations\030\001 \003(\01327" + + ".google.analytics.admin.v1alpha.Reportin" + + "gDataAnnotation\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\275\001\n$UpdateReportingDataAnnotationReques" + + "t\022_\n\031reporting_data_annotation\030\001 \001(\01327.g" + + "oogle.analytics.admin.v1alpha.ReportingD" + + "ataAnnotationB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132" + + "\032.google.protobuf.FieldMaskB\003\340A\001\"s\n$Dele" + + "teReportingDataAnnotationRequest\022K\n\004name" + + "\030\001 \001(\tB=\340A\002\372A7\n5analyticsadmin.googleapi" + + "s.com/ReportingDataAnnotation\"\302\001\n\031Submit" + + "UserDeletionRequest\022\021\n\007user_id\030\002 \001(\tH\000\022\023" + + "\n\tclient_id\030\003 \001(\tH\000\022\031\n\017app_instance_id\030\004" + + " \001(\tH\000\022\034\n\022user_provided_data\030\005 \001(\tH\000\022<\n\004" + + "name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.googl" + + "eapis.com/PropertyB\006\n\004user\"W\n\032SubmitUser" + + "DeletionResponse\0229\n\025deletion_request_tim" + + "e\030\001 \001(\0132\032.google.protobuf.Timestamp\"l\n\037G" + + "etSubpropertySyncConfigRequest\022I\n\004name\030\001" + + " \001(\tB;\340A\002\372A5\n3analyticsadmin.googleapis." + + "com/SubpropertySyncConfig\"\241\001\n!ListSubpro" + + "pertySyncConfigsRequest\022K\n\006parent\030\001 \001(\tB" + + ";\340A\002\372A5\0223analyticsadmin.googleapis.com/S" + + "ubpropertySyncConfig\022\026\n\tpage_size\030\002 \001(\005B" + + "\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\226\001\n\"ListSu" + + "bpropertySyncConfigsResponse\022W\n\030subprope" + + "rty_sync_configs\030\001 \003(\01325.google.analytic" + + "s.admin.v1alpha.SubpropertySyncConfig\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\267\001\n\"UpdateSubprop" + + "ertySyncConfigRequest\022[\n\027subproperty_syn" + + "c_config\030\001 \001(\01325.google.analytics.admin." + + "v1alpha.SubpropertySyncConfigB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\001\"t\n#GetReportingIdentitySettings" + + "Request\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analytics" + + "admin.googleapis.com/ReportingIdentitySe" + + "ttings\"r\n\"GetUserProvidedDataSettingsReq" + + "uest\022L\n\004name\030\001 \001(\tB>\340A\002\372A8\n6analyticsadm" + + "in.googleapis.com/UserProvidedDataSettin" + + "gs2\210\231\002\n\025AnalyticsAdminService\022\223\001\n\nGetAcc" + + "ount\0221.google.analytics.admin.v1alpha.Ge" + + "tAccountRequest\032\'.google.analytics.admin" + + ".v1alpha.Account\")\332A\004name\202\323\344\223\002\034\022\032/v1alph" + + "a/{name=accounts/*}\022\224\001\n\014ListAccounts\0223.g" + + "oogle.analytics.admin.v1alpha.ListAccoun" + + "tsRequest\0324.google.analytics.admin.v1alp" + + "ha.ListAccountsResponse\"\031\202\323\344\223\002\023\022\021/v1alph" + + "a/accounts\022\210\001\n\rDeleteAccount\0224.google.an" + + "alytics.admin.v1alpha.DeleteAccountReque" + + "st\032\026.google.protobuf.Empty\")\332A\004name\202\323\344\223\002" + + "\034*\032/v1alpha/{name=accounts/*}\022\271\001\n\rUpdate" + + "Account\0224.google.analytics.admin.v1alpha" + + ".UpdateAccountRequest\032\'.google.analytics" + + ".admin.v1alpha.Account\"I\332A\023account,updat" + + "e_mask\202\323\344\223\002-2\"/v1alpha/{account.name=acc" + + "ounts/*}:\007account\022\314\001\n\026ProvisionAccountTi" + + "cket\022=.google.analytics.admin.v1alpha.Pr" + + "ovisionAccountTicketRequest\032>.google.ana" + + "lytics.admin.v1alpha.ProvisionAccountTic" + + "ketResponse\"3\202\323\344\223\002-\"(/v1alpha/accounts:p" + + "rovisionAccountTicket:\001*\022\264\001\n\024ListAccount" + + "Summaries\022;.google.analytics.admin.v1alp" + + "ha.ListAccountSummariesRequest\032<.google." + + "analytics.admin.v1alpha.ListAccountSumma" + + "riesResponse\"!\202\323\344\223\002\033\022\031/v1alpha/accountSu" + + "mmaries\022\230\001\n\013GetProperty\0222.google.analyti" + + "cs.admin.v1alpha.GetPropertyRequest\032(.go" + + "ogle.analytics.admin.v1alpha.Property\"+\332" + + "A\004name\202\323\344\223\002\036\022\034/v1alpha/{name=properties/" + + "*}\022\234\001\n\016ListProperties\0225.google.analytics" + + ".admin.v1alpha.ListPropertiesRequest\0326.g" + + "oogle.analytics.admin.v1alpha.ListProper" + + "tiesResponse\"\033\202\323\344\223\002\025\022\023/v1alpha/propertie" + + "s\022\243\001\n\016CreateProperty\0225.google.analytics." + + "admin.v1alpha.CreatePropertyRequest\032(.go" + + "ogle.analytics.admin.v1alpha.Property\"0\332" + + "A\010property\202\323\344\223\002\037\"\023/v1alpha/properties:\010p" + + "roperty\022\236\001\n\016DeleteProperty\0225.google.anal" + + "ytics.admin.v1alpha.DeletePropertyReques" + + "t\032(.google.analytics.admin.v1alpha.Prope" + + "rty\"+\332A\004name\202\323\344\223\002\036*\034/v1alpha/{name=prope" + + "rties/*}\022\301\001\n\016UpdateProperty\0225.google.ana" + + "lytics.admin.v1alpha.UpdatePropertyReque" + + "st\032(.google.analytics.admin.v1alpha.Prop" + + "erty\"N\332A\024property,update_mask\202\323\344\223\00212%/v1" + + "alpha/{property.name=properties/*}:\010prop" + + "erty\022\331\001\n\022CreateFirebaseLink\0229.google.ana" + + "lytics.admin.v1alpha.CreateFirebaseLinkR" + + "equest\032,.google.analytics.admin.v1alpha." + + "FirebaseLink\"Z\332A\024parent,firebase_link\202\323\344" + + "\223\002=\",/v1alpha/{parent=properties/*}/fire" + + "baseLinks:\rfirebase_link\022\244\001\n\022DeleteFireb" + + "aseLink\0229.google.analytics.admin.v1alpha" + + ".DeleteFirebaseLinkRequest\032\026.google.prot" + + "obuf.Empty\";\332A\004name\202\323\344\223\002.*,/v1alpha/{nam" + + "e=properties/*/firebaseLinks/*}\022\307\001\n\021List" + + "FirebaseLinks\0228.google.analytics.admin.v" + + "1alpha.ListFirebaseLinksRequest\0329.google" + + ".analytics.admin.v1alpha.ListFirebaseLin" + + "ksResponse\"=\332A\006parent\202\323\344\223\002.\022,/v1alpha/{p" + + "arent=properties/*}/firebaseLinks\022\303\001\n\020Ge" + + "tGlobalSiteTag\0227.google.analytics.admin." + + "v1alpha.GetGlobalSiteTagRequest\032-.google" + + ".analytics.admin.v1alpha.GlobalSiteTag\"G" + + "\332A\004name\202\323\344\223\002:\0228/v1alpha/{name=properties" + + "/*/dataStreams/*/globalSiteTag}\022\341\001\n\023Crea" + + "teGoogleAdsLink\022:.google.analytics.admin" + + ".v1alpha.CreateGoogleAdsLinkRequest\032-.go" + + "ogle.analytics.admin.v1alpha.GoogleAdsLi" + + "nk\"_\332A\026parent,google_ads_link\202\323\344\223\002@\"-/v1" + + "alpha/{parent=properties/*}/googleAdsLin", + "ks:\017google_ads_link\022\366\001\n\023UpdateGoogleAdsL" + + "ink\022:.google.analytics.admin.v1alpha.Upd" + + "ateGoogleAdsLinkRequest\032-.google.analyti" + + "cs.admin.v1alpha.GoogleAdsLink\"t\332A\033googl" + + "e_ads_link,update_mask\202\323\344\223\002P2=/v1alpha/{" + + "google_ads_link.name=properties/*/google" + + "AdsLinks/*}:\017google_ads_link\022\247\001\n\023DeleteG" + + "oogleAdsLink\022:.google.analytics.admin.v1" + + "alpha.DeleteGoogleAdsLinkRequest\032\026.googl" + + "e.protobuf.Empty\"<\332A\004name\202\323\344\223\002/*-/v1alph" + + "a/{name=properties/*/googleAdsLinks/*}\022\313" + + "\001\n\022ListGoogleAdsLinks\0229.google.analytics" + + ".admin.v1alpha.ListGoogleAdsLinksRequest" + + "\032:.google.analytics.admin.v1alpha.ListGo" + + "ogleAdsLinksResponse\">\332A\006parent\202\323\344\223\002/\022-/" + + "v1alpha/{parent=properties/*}/googleAdsL" + + "inks\022\313\001\n\026GetDataSharingSettings\022=.google" + + ".analytics.admin.v1alpha.GetDataSharingS" + + "ettingsRequest\0323.google.analytics.admin." + + "v1alpha.DataSharingSettings\"=\332A\004name\202\323\344\223" + + "\0020\022./v1alpha/{name=accounts/*/dataSharin" + + "gSettings}\022\366\001\n\034GetMeasurementProtocolSec" + + "ret\022C.google.analytics.admin.v1alpha.Get" + + "MeasurementProtocolSecretRequest\0329.googl" + + "e.analytics.admin.v1alpha.MeasurementPro" + + "tocolSecret\"V\332A\004name\202\323\344\223\002I\022G/v1alpha/{na" + + "me=properties/*/dataStreams/*/measuremen" + + "tProtocolSecrets/*}\022\211\002\n\036ListMeasurementP" + + "rotocolSecrets\022E.google.analytics.admin." + + "v1alpha.ListMeasurementProtocolSecretsRe" + + "quest\032F.google.analytics.admin.v1alpha.L" + + "istMeasurementProtocolSecretsResponse\"X\332" + + "A\006parent\202\323\344\223\002I\022G/v1alpha/{parent=propert" + + "ies/*/dataStreams/*}/measurementProtocol" + + "Secrets\022\270\002\n\037CreateMeasurementProtocolSec" + + "ret\022F.google.analytics.admin.v1alpha.Cre" + + "ateMeasurementProtocolSecretRequest\0329.go" + + "ogle.analytics.admin.v1alpha.Measurement" + + "ProtocolSecret\"\221\001\332A\"parent,measurement_p" + + "rotocol_secret\202\323\344\223\002f\"G/v1alpha/{parent=p" + + "roperties/*/dataStreams/*}/measurementPr" + + "otocolSecrets:\033measurement_protocol_secr" + + "et\022\331\001\n\037DeleteMeasurementProtocolSecret\022F" + + ".google.analytics.admin.v1alpha.DeleteMe" + + "asurementProtocolSecretRequest\032\026.google." + + "protobuf.Empty\"V\332A\004name\202\323\344\223\002I*G/v1alpha/" + + "{name=properties/*/dataStreams/*/measure" + + "mentProtocolSecrets/*}\022\332\002\n\037UpdateMeasure" + + "mentProtocolSecret\022F.google.analytics.ad" + + "min.v1alpha.UpdateMeasurementProtocolSec" + + "retRequest\0329.google.analytics.admin.v1al" + + "pha.MeasurementProtocolSecret\"\263\001\332A\'measu" + + "rement_protocol_secret,update_mask\202\323\344\223\002\202" + + "\0012c/v1alpha/{measurement_protocol_secret" + + ".name=properties/*/dataStreams/*/measure" + + "mentProtocolSecrets/*}:\033measurement_prot" + + "ocol_secret\022\367\001\n\035AcknowledgeUserDataColle" + + "ction\022D.google.analytics.admin.v1alpha.A" + + "cknowledgeUserDataCollectionRequest\032E.go" + + "ogle.analytics.admin.v1alpha.Acknowledge" + + "UserDataCollectionResponse\"I\202\323\344\223\002C\">/v1a" + + "lpha/{property=properties/*}:acknowledge" + + "UserDataCollection:\001*\022\221\002\n#GetSKAdNetwork" + + "ConversionValueSchema\022J.google.analytics" + + ".admin.v1alpha.GetSKAdNetworkConversionV" + + "alueSchemaRequest\032@.google.analytics.adm" + + "in.v1alpha.SKAdNetworkConversionValueSch" + + "ema\"\\\332A\004name\202\323\344\223\002O\022M/v1alpha/{name=prope" + + "rties/*/dataStreams/*/sKAdNetworkConvers" + + "ionValueSchema/*}\022\343\002\n&CreateSKAdNetworkC" + + "onversionValueSchema\022M.google.analytics." + + "admin.v1alpha.CreateSKAdNetworkConversio" + + "nValueSchemaRequest\032@.google.analytics.a" + + "dmin.v1alpha.SKAdNetworkConversionValueS" + + "chema\"\247\001\332A*parent,skadnetwork_conversion" + + "_value_schema\202\323\344\223\002t\"M/v1alpha/{parent=pr" + + "operties/*/dataStreams/*}/sKAdNetworkCon" + + "versionValueSchema:#skadnetwork_conversi" + + "on_value_schema\022\355\001\n&DeleteSKAdNetworkCon" + + "versionValueSchema\022M.google.analytics.ad" + + "min.v1alpha.DeleteSKAdNetworkConversionV" + + "alueSchemaRequest\032\026.google.protobuf.Empt" + + "y\"\\\332A\004name\202\323\344\223\002O*M/v1alpha/{name=propert" + + "ies/*/dataStreams/*/sKAdNetworkConversio" + + "nValueSchema/*}\022\215\003\n&UpdateSKAdNetworkCon" + + "versionValueSchema\022M.google.analytics.ad" + + "min.v1alpha.UpdateSKAdNetworkConversionV" + + "alueSchemaRequest\032@.google.analytics.adm" + + "in.v1alpha.SKAdNetworkConversionValueSch" + + "ema\"\321\001\332A/skadnetwork_conversion_value_sc" + + "hema,update_mask\202\323\344\223\002\230\0012q/v1alpha/{skadn" + + "etwork_conversion_value_schema.name=prop" + + "erties/*/dataStreams/*/sKAdNetworkConver" + + "sionValueSchema/*}:#skadnetwork_conversi" + + "on_value_schema\022\244\002\n%ListSKAdNetworkConve" + + "rsionValueSchemas\022L.google.analytics.adm" + + "in.v1alpha.ListSKAdNetworkConversionValu" + + "eSchemasRequest\032M.google.analytics.admin" + + ".v1alpha.ListSKAdNetworkConversionValueS" + + "chemasResponse\"^\332A\006parent\202\323\344\223\002O\022M/v1alph" + + "a/{parent=properties/*/dataStreams/*}/sK" + + "AdNetworkConversionValueSchema\022\344\001\n\031Searc" + + "hChangeHistoryEvents\022@.google.analytics." + + "admin.v1alpha.SearchChangeHistoryEventsR" + + "equest\032A.google.analytics.admin.v1alpha." + + "SearchChangeHistoryEventsResponse\"B\202\323\344\223\002" + + "<\"7/v1alpha/{account=accounts/*}:searchC" + + "hangeHistoryEvents:\001*\022\325\001\n\030GetGoogleSigna" + + "lsSettings\022?.google.analytics.admin.v1al" + + "pha.GetGoogleSignalsSettingsRequest\0325.go" + + "ogle.analytics.admin.v1alpha.GoogleSigna" + + "lsSettings\"A\332A\004name\202\323\344\223\0024\0222/v1alpha/{nam" + + "e=properties/*/googleSignalsSettings}\022\254\002" + + "\n\033UpdateGoogleSignalsSettings\022B.google.a" + + "nalytics.admin.v1alpha.UpdateGoogleSigna" + + "lsSettingsRequest\0325.google.analytics.adm" + + "in.v1alpha.GoogleSignalsSettings\"\221\001\332A#go" + + "ogle_signals_settings,update_mask\202\323\344\223\002e2" + + "J/v1alpha/{google_signals_settings.name=" + + "properties/*/googleSignalsSettings}:\027goo" + + "gle_signals_settings\022\356\001\n\025CreateConversio" + + "nEvent\022<.google.analytics.admin.v1alpha." + + "CreateConversionEventRequest\032/.google.an" + + "alytics.admin.v1alpha.ConversionEvent\"f\210" + + "\002\001\332A\027parent,conversion_event\202\323\344\223\002C\"//v1a" + + "lpha/{parent=properties/*}/conversionEve" + + "nts:\020conversion_event\022\204\002\n\025UpdateConversi" + + "onEvent\022<.google.analytics.admin.v1alpha" + + ".UpdateConversionEventRequest\032/.google.a" + + "nalytics.admin.v1alpha.ConversionEvent\"|" + + "\210\002\001\332A\034conversion_event,update_mask\202\323\344\223\002T" + + "2@/v1alpha/{conversion_event.name=proper" + + "ties/*/conversionEvents/*}:\020conversion_e" + + "vent\022\303\001\n\022GetConversionEvent\0229.google.ana" + + "lytics.admin.v1alpha.GetConversionEventR" + + "equest\032/.google.analytics.admin.v1alpha." + + "ConversionEvent\"A\210\002\001\332A\004name\202\323\344\223\0021\022//v1al" + + "pha/{name=properties/*/conversionEvents/" + + "*}\022\260\001\n\025DeleteConversionEvent\022<.google.an" + + "alytics.admin.v1alpha.DeleteConversionEv" + + "entRequest\032\026.google.protobuf.Empty\"A\210\002\001\332" + + "A\004name\202\323\344\223\0021*//v1alpha/{name=properties/" + + "*/conversionEvents/*}\022\326\001\n\024ListConversion" + + "Events\022;.google.analytics.admin.v1alpha." + + "ListConversionEventsRequest\032<.google.ana" + + "lytics.admin.v1alpha.ListConversionEvent" + + "sResponse\"C\210\002\001\332A\006parent\202\323\344\223\0021\022//v1alpha/" + + "{parent=properties/*}/conversionEvents\022\301" + + "\001\n\016CreateKeyEvent\0225.google.analytics.adm" + + "in.v1alpha.CreateKeyEventRequest\032(.googl" + + "e.analytics.admin.v1alpha.KeyEvent\"N\332A\020p" + + "arent,key_event\202\323\344\223\0025\"(/v1alpha/{parent=" + + "properties/*}/keyEvents:\tkey_event\022\320\001\n\016U" + + "pdateKeyEvent\0225.google.analytics.admin.v" + + "1alpha.UpdateKeyEventRequest\032(.google.an" + + "alytics.admin.v1alpha.KeyEvent\"]\332A\025key_e" + + "vent,update_mask\202\323\344\223\002?22/v1alpha/{key_ev" + + "ent.name=properties/*/keyEvents/*}:\tkey_" + + "event\022\244\001\n\013GetKeyEvent\0222.google.analytics" + + ".admin.v1alpha.GetKeyEventRequest\032(.goog" + + "le.analytics.admin.v1alpha.KeyEvent\"7\332A\004" + + "name\202\323\344\223\002*\022(/v1alpha/{name=properties/*/" + + "keyEvents/*}\022\230\001\n\016DeleteKeyEvent\0225.google" + + ".analytics.admin.v1alpha.DeleteKeyEventR" + + "equest\032\026.google.protobuf.Empty\"7\332A\004name\202" + + "\323\344\223\002**(/v1alpha/{name=properties/*/keyEv" + + "ents/*}\022\267\001\n\rListKeyEvents\0224.google.analy" + + "tics.admin.v1alpha.ListKeyEventsRequest\032" + + "5.google.analytics.admin.v1alpha.ListKey" + + "EventsResponse\"9\332A\006parent\202\323\344\223\002*\022(/v1alph" + + "a/{parent=properties/*}/keyEvents\022\370\001\n Ge" + + "tDisplayVideo360AdvertiserLink\022G.google." + + "analytics.admin.v1alpha.GetDisplayVideo3" + + "60AdvertiserLinkRequest\032=.google.analyti" + + "cs.admin.v1alpha.DisplayVideo360Advertis" + + "erLink\"L\332A\004name\202\323\344\223\002?\022=/v1alpha/{name=pr" + "operties/*/displayVideo360AdvertiserLink" - + "s/*}\022\356\002\n#UpdateDisplayVideo360Advertiser" - + "Link\022J.google.analytics.admin.v1alpha.Up" - + "dateDisplayVideo360AdvertiserLinkRequest" - + "\032=.google.analytics.admin.v1alpha.Displa" - + "yVideo360AdvertiserLink\"\273\001\332A-display_vid" - + "eo_360_advertiser_link,update_mask\202\323\344\223\002\204" - + "\0012_/v1alpha/{display_video_360_advertise" - + "r_link.name=properties/*/displayVideo360" - + "AdvertiserLinks/*}:!display_video_360_ad" - + "vertiser_link\022\230\002\n(GetDisplayVideo360Adve" - + "rtiserLinkProposal\022O.google.analytics.ad" - + "min.v1alpha.GetDisplayVideo360Advertiser" - + "LinkProposalRequest\032E.google.analytics.a" - + "dmin.v1alpha.DisplayVideo360AdvertiserLi" - + "nkProposal\"T\332A\004name\202\323\344\223\002G\022E/v1alpha/{nam" - + "e=properties/*/displayVideo360Advertiser" - + "LinkProposals/*}\022\253\002\n*ListDisplayVideo360" - + "AdvertiserLinkProposals\022Q.google.analyti" - + "cs.admin.v1alpha.ListDisplayVideo360Adve" - + "rtiserLinkProposalsRequest\032R.google.anal" - + "ytics.admin.v1alpha.ListDisplayVideo360A" - + "dvertiserLinkProposalsResponse\"V\332A\006paren" - + "t\202\323\344\223\002G\022E/v1alpha/{parent=properties/*}/" - + "displayVideo360AdvertiserLinkProposals\022\370" - + "\002\n+CreateDisplayVideo360AdvertiserLinkPr" - + "oposal\022R.google.analytics.admin.v1alpha." - + "CreateDisplayVideo360AdvertiserLinkPropo" - + "salRequest\032E.google.analytics.admin.v1al" - + "pha.DisplayVideo360AdvertiserLinkProposa" - + "l\"\255\001\332A1parent,display_video_360_advertis" - + "er_link_proposal\202\323\344\223\002s\"E/v1alpha/{parent" - + "=properties/*}/displayVideo360Advertiser" - + "LinkProposals:*display_video_360_adverti" - + "ser_link_proposal\022\357\001\n+DeleteDisplayVideo" - + "360AdvertiserLinkProposal\022R.google.analy" - + "tics.admin.v1alpha.DeleteDisplayVideo360" - + "AdvertiserLinkProposalRequest\032\026.google.p" - + "rotobuf.Empty\"T\332A\004name\202\323\344\223\002G*E/v1alpha/{" - + "name=properties/*/displayVideo360Adverti" - + "serLinkProposals/*}\022\263\002\n,ApproveDisplayVi" - + "deo360AdvertiserLinkProposal\022S.google.an" - + "alytics.admin.v1alpha.ApproveDisplayVide" - + "o360AdvertiserLinkProposalRequest\032T.goog" - + "le.analytics.admin.v1alpha.ApproveDispla" - + "yVideo360AdvertiserLinkProposalResponse\"" - + "X\202\323\344\223\002R\"M/v1alpha/{name=properties/*/dis" - + "playVideo360AdvertiserLinkProposals/*}:a" - + "pprove:\001*\022\241\002\n+CancelDisplayVideo360Adver" - + "tiserLinkProposal\022R.google.analytics.adm" - + "in.v1alpha.CancelDisplayVideo360Advertis" - + "erLinkProposalRequest\032E.google.analytics" - + ".admin.v1alpha.DisplayVideo360Advertiser" - + "LinkProposal\"W\202\323\344\223\002Q\"L/v1alpha/{name=pro" - + "perties/*/displayVideo360AdvertiserLinkP" - + "roposals/*}:cancel:\001*\022\353\001\n\025CreateCustomDi" - + "mension\022<.google.analytics.admin.v1alpha" - + ".CreateCustomDimensionRequest\032/.google.a" - + "nalytics.admin.v1alpha.CustomDimension\"c" - + "\332A\027parent,custom_dimension\202\323\344\223\002C\"//v1alp" - + "ha/{parent=properties/*}/customDimension" - + "s:\020custom_dimension\022\201\002\n\025UpdateCustomDime" - + "nsion\022<.google.analytics.admin.v1alpha.U" - + "pdateCustomDimensionRequest\032/.google.ana" - + "lytics.admin.v1alpha.CustomDimension\"y\332A" - + "\034custom_dimension,update_mask\202\323\344\223\002T2@/v1" - + "alpha/{custom_dimension.name=properties/" - + "*/customDimensions/*}:\020custom_dimension\022" - + "\323\001\n\024ListCustomDimensions\022;.google.analyt" - + "ics.admin.v1alpha.ListCustomDimensionsRe" - + "quest\032<.google.analytics.admin.v1alpha.L" - + "istCustomDimensionsResponse\"@\332A\006parent\202\323" - + "\344\223\0021\022//v1alpha/{parent=properties/*}/cus" - + "tomDimensions\022\272\001\n\026ArchiveCustomDimension" - + "\022=.google.analytics.admin.v1alpha.Archiv" - + "eCustomDimensionRequest\032\026.google.protobu" - + "f.Empty\"I\332A\004name\202\323\344\223\002<\"7/v1alpha/{name=p" - + "roperties/*/customDimensions/*}:archive:" - + "\001*\022\300\001\n\022GetCustomDimension\0229.google.analy" - + "tics.admin.v1alpha.GetCustomDimensionReq" + + "s/*}\022\213\002\n\"ListDisplayVideo360AdvertiserLi" + + "nks\022I.google.analytics.admin.v1alpha.Lis" + + "tDisplayVideo360AdvertiserLinksRequest\032J" + + ".google.analytics.admin.v1alpha.ListDisp" + + "layVideo360AdvertiserLinksResponse\"N\332A\006p" + + "arent\202\323\344\223\002?\022=/v1alpha/{parent=properties" + + "/*}/displayVideo360AdvertiserLinks\022\306\002\n#C" + + "reateDisplayVideo360AdvertiserLink\022J.goo" + + "gle.analytics.admin.v1alpha.CreateDispla" + + "yVideo360AdvertiserLinkRequest\032=.google." + + "analytics.admin.v1alpha.DisplayVideo360A" + + "dvertiserLink\"\223\001\332A(parent,display_video_" + + "360_advertiser_link\202\323\344\223\002b\"=/v1alpha/{par" + + "ent=properties/*}/displayVideo360Adverti" + + "serLinks:!display_video_360_advertiser_l" + + "ink\022\327\001\n#DeleteDisplayVideo360AdvertiserL" + + "ink\022J.google.analytics.admin.v1alpha.Del" + + "eteDisplayVideo360AdvertiserLinkRequest\032" + + "\026.google.protobuf.Empty\"L\332A\004name\202\323\344\223\002?*=" + + "/v1alpha/{name=properties/*/displayVideo" + + "360AdvertiserLinks/*}\022\356\002\n#UpdateDisplayV" + + "ideo360AdvertiserLink\022J.google.analytics" + + ".admin.v1alpha.UpdateDisplayVideo360Adve" + + "rtiserLinkRequest\032=.google.analytics.adm" + + "in.v1alpha.DisplayVideo360AdvertiserLink" + + "\"\273\001\332A-display_video_360_advertiser_link," + + "update_mask\202\323\344\223\002\204\0012_/v1alpha/{display_vi" + + "deo_360_advertiser_link.name=properties/" + + "*/displayVideo360AdvertiserLinks/*}:!dis" + + "play_video_360_advertiser_link\022\230\002\n(GetDi" + + "splayVideo360AdvertiserLinkProposal\022O.go" + + "ogle.analytics.admin.v1alpha.GetDisplayV" + + "ideo360AdvertiserLinkProposalRequest\032E.g" + + "oogle.analytics.admin.v1alpha.DisplayVid" + + "eo360AdvertiserLinkProposal\"T\332A\004name\202\323\344\223" + + "\002G\022E/v1alpha/{name=properties/*/displayV" + + "ideo360AdvertiserLinkProposals/*}\022\253\002\n*Li" + + "stDisplayVideo360AdvertiserLinkProposals" + + "\022Q.google.analytics.admin.v1alpha.ListDi" + + "splayVideo360AdvertiserLinkProposalsRequ" + + "est\032R.google.analytics.admin.v1alpha.Lis" + + "tDisplayVideo360AdvertiserLinkProposalsR" + + "esponse\"V\332A\006parent\202\323\344\223\002G\022E/v1alpha/{pare" + + "nt=properties/*}/displayVideo360Advertis" + + "erLinkProposals\022\370\002\n+CreateDisplayVideo36" + + "0AdvertiserLinkProposal\022R.google.analyti" + + "cs.admin.v1alpha.CreateDisplayVideo360Ad" + + "vertiserLinkProposalRequest\032E.google.ana" + + "lytics.admin.v1alpha.DisplayVideo360Adve" + + "rtiserLinkProposal\"\255\001\332A1parent,display_v" + + "ideo_360_advertiser_link_proposal\202\323\344\223\002s\"" + + "E/v1alpha/{parent=properties/*}/displayV" + + "ideo360AdvertiserLinkProposals:*display_" + + "video_360_advertiser_link_proposal\022\357\001\n+D" + + "eleteDisplayVideo360AdvertiserLinkPropos" + + "al\022R.google.analytics.admin.v1alpha.Dele" + + "teDisplayVideo360AdvertiserLinkProposalR" + + "equest\032\026.google.protobuf.Empty\"T\332A\004name\202" + + "\323\344\223\002G*E/v1alpha/{name=properties/*/displ" + + "ayVideo360AdvertiserLinkProposals/*}\022\263\002\n" + + ",ApproveDisplayVideo360AdvertiserLinkPro" + + "posal\022S.google.analytics.admin.v1alpha.A" + + "pproveDisplayVideo360AdvertiserLinkPropo" + + "salRequest\032T.google.analytics.admin.v1al" + + "pha.ApproveDisplayVideo360AdvertiserLink" + + "ProposalResponse\"X\202\323\344\223\002R\"M/v1alpha/{name" + + "=properties/*/displayVideo360AdvertiserL" + + "inkProposals/*}:approve:\001*\022\241\002\n+CancelDis" + + "playVideo360AdvertiserLinkProposal\022R.goo" + + "gle.analytics.admin.v1alpha.CancelDispla" + + "yVideo360AdvertiserLinkProposalRequest\032E" + + ".google.analytics.admin.v1alpha.DisplayV" + + "ideo360AdvertiserLinkProposal\"W\202\323\344\223\002Q\"L/" + + "v1alpha/{name=properties/*/displayVideo3" + + "60AdvertiserLinkProposals/*}:cancel:\001*\022\353" + + "\001\n\025CreateCustomDimension\022<.google.analyt" + + "ics.admin.v1alpha.CreateCustomDimensionR" + + "equest\032/.google.analytics.admin.v1alpha." + + "CustomDimension\"c\332A\027parent,custom_dimens" + + "ion\202\323\344\223\002C\"//v1alpha/{parent=properties/*" + + "}/customDimensions:\020custom_dimension\022\201\002\n" + + "\025UpdateCustomDimension\022<.google.analytic" + + "s.admin.v1alpha.UpdateCustomDimensionReq" + "uest\032/.google.analytics.admin.v1alpha.Cu" - + "stomDimension\">\332A\004name\202\323\344\223\0021\022//v1alpha/{" - + "name=properties/*/customDimensions/*}\022\331\001" - + "\n\022CreateCustomMetric\0229.google.analytics." - + "admin.v1alpha.CreateCustomMetricRequest\032" - + ",.google.analytics.admin.v1alpha.CustomM" - + "etric\"Z\332A\024parent,custom_metric\202\323\344\223\002=\",/v" - + "1alpha/{parent=properties/*}/customMetri" - + "cs:\rcustom_metric\022\354\001\n\022UpdateCustomMetric" - + "\0229.google.analytics.admin.v1alpha.Update" - + "CustomMetricRequest\032,.google.analytics.a" - + "dmin.v1alpha.CustomMetric\"m\332A\031custom_met" - + "ric,update_mask\202\323\344\223\002K2:/v1alpha/{custom_" - + "metric.name=properties/*/customMetrics/*" - + "}:\rcustom_metric\022\307\001\n\021ListCustomMetrics\0228" - + ".google.analytics.admin.v1alpha.ListCust" - + "omMetricsRequest\0329.google.analytics.admi" - + "n.v1alpha.ListCustomMetricsResponse\"=\332A\006" - + "parent\202\323\344\223\002.\022,/v1alpha/{parent=propertie" - + "s/*}/customMetrics\022\261\001\n\023ArchiveCustomMetr" - + "ic\022:.google.analytics.admin.v1alpha.Arch" - + "iveCustomMetricRequest\032\026.google.protobuf" - + ".Empty\"F\332A\004name\202\323\344\223\0029\"4/v1alpha/{name=pr" - + "operties/*/customMetrics/*}:archive:\001*\022\264" - + "\001\n\017GetCustomMetric\0226.google.analytics.ad" - + "min.v1alpha.GetCustomMetricRequest\032,.goo" - + "gle.analytics.admin.v1alpha.CustomMetric" - + "\";\332A\004name\202\323\344\223\002.\022,/v1alpha/{name=properti" - + "es/*/customMetrics/*}\022\325\001\n\030GetDataRetenti" - + "onSettings\022?.google.analytics.admin.v1al" - + "pha.GetDataRetentionSettingsRequest\0325.go" - + "ogle.analytics.admin.v1alpha.DataRetenti" - + "onSettings\"A\332A\004name\202\323\344\223\0024\0222/v1alpha/{nam" - + "e=properties/*/dataRetentionSettings}\022\254\002" - + "\n\033UpdateDataRetentionSettings\022B.google.a" - + "nalytics.admin.v1alpha.UpdateDataRetenti" - + "onSettingsRequest\0325.google.analytics.adm" - + "in.v1alpha.DataRetentionSettings\"\221\001\332A#da" - + "ta_retention_settings,update_mask\202\323\344\223\002e2" - + "J/v1alpha/{data_retention_settings.name=" - + "properties/*/dataRetentionSettings}:\027dat" - + "a_retention_settings\022\315\001\n\020CreateDataStrea" - + "m\0227.google.analytics.admin.v1alpha.Creat" - + "eDataStreamRequest\032*.google.analytics.ad" - + "min.v1alpha.DataStream\"T\332A\022parent,data_s" - + "tream\202\323\344\223\0029\"*/v1alpha/{parent=properties" - + "/*}/dataStreams:\013data_stream\022\236\001\n\020DeleteD" - + "ataStream\0227.google.analytics.admin.v1alp" - + "ha.DeleteDataStreamRequest\032\026.google.prot" - + "obuf.Empty\"9\332A\004name\202\323\344\223\002,**/v1alpha/{nam" - + "e=properties/*/dataStreams/*}\022\336\001\n\020Update" - + "DataStream\0227.google.analytics.admin.v1al" - + "pha.UpdateDataStreamRequest\032*.google.ana" - + "lytics.admin.v1alpha.DataStream\"e\332A\027data" - + "_stream,update_mask\202\323\344\223\002E26/v1alpha/{dat" - + "a_stream.name=properties/*/dataStreams/*" - + "}:\013data_stream\022\277\001\n\017ListDataStreams\0226.goo" - + "gle.analytics.admin.v1alpha.ListDataStre" - + "amsRequest\0327.google.analytics.admin.v1al" - + "pha.ListDataStreamsResponse\";\332A\006parent\202\323" - + "\344\223\002,\022*/v1alpha/{parent=properties/*}/dat" - + "aStreams\022\254\001\n\rGetDataStream\0224.google.anal" - + "ytics.admin.v1alpha.GetDataStreamRequest" - + "\032*.google.analytics.admin.v1alpha.DataSt" - + "ream\"9\332A\004name\202\323\344\223\002,\022*/v1alpha/{name=prop" - + "erties/*/dataStreams/*}\022\244\001\n\013GetAudience\022" - + "2.google.analytics.admin.v1alpha.GetAudi" - + "enceRequest\032(.google.analytics.admin.v1a" - + "lpha.Audience\"7\332A\004name\202\323\344\223\002*\022(/v1alpha/{" - + "name=properties/*/audiences/*}\022\267\001\n\rListA" - + "udiences\0224.google.analytics.admin.v1alph" - + "a.ListAudiencesRequest\0325.google.analytic" - + "s.admin.v1alpha.ListAudiencesResponse\"9\332" - + "A\006parent\202\323\344\223\002*\022(/v1alpha/{parent=propert" - + "ies/*}/audiences\022\277\001\n\016CreateAudience\0225.go" - + "ogle.analytics.admin.v1alpha.CreateAudie" - + "nceRequest\032(.google.analytics.admin.v1al" - + "pha.Audience\"L\332A\017parent,audience\202\323\344\223\0024\"(" - + "/v1alpha/{parent=properties/*}/audiences" - + ":\010audience\022\315\001\n\016UpdateAudience\0225.google.a" - + "nalytics.admin.v1alpha.UpdateAudienceReq" - + "uest\032(.google.analytics.admin.v1alpha.Au" - + "dience\"Z\332A\024audience,update_mask\202\323\344\223\002=21/" - + "v1alpha/{audience.name=properties/*/audi" - + "ences/*}:\010audience\022\236\001\n\017ArchiveAudience\0226" - + ".google.analytics.admin.v1alpha.ArchiveA" - + "udienceRequest\032\026.google.protobuf.Empty\";" - + "\202\323\344\223\0025\"0/v1alpha/{name=properties/*/audi" - + "ences/*}:archive:\001*\022\304\001\n\023GetSearchAds360L" - + "ink\022:.google.analytics.admin.v1alpha.Get" + + "stomDimension\"y\332A\034custom_dimension,updat" + + "e_mask\202\323\344\223\002T2@/v1alpha/{custom_dimension" + + ".name=properties/*/customDimensions/*}:\020" + + "custom_dimension\022\323\001\n\024ListCustomDimension" + + "s\022;.google.analytics.admin.v1alpha.ListC" + + "ustomDimensionsRequest\032<.google.analytic" + + "s.admin.v1alpha.ListCustomDimensionsResp" + + "onse\"@\332A\006parent\202\323\344\223\0021\022//v1alpha/{parent=" + + "properties/*}/customDimensions\022\272\001\n\026Archi" + + "veCustomDimension\022=.google.analytics.adm" + + "in.v1alpha.ArchiveCustomDimensionRequest" + + "\032\026.google.protobuf.Empty\"I\332A\004name\202\323\344\223\002<\"" + + "7/v1alpha/{name=properties/*/customDimen" + + "sions/*}:archive:\001*\022\300\001\n\022GetCustomDimensi" + + "on\0229.google.analytics.admin.v1alpha.GetC" + + "ustomDimensionRequest\032/.google.analytics" + + ".admin.v1alpha.CustomDimension\">\332A\004name\202" + + "\323\344\223\0021\022//v1alpha/{name=properties/*/custo" + + "mDimensions/*}\022\331\001\n\022CreateCustomMetric\0229." + + "google.analytics.admin.v1alpha.CreateCus" + + "tomMetricRequest\032,.google.analytics.admi" + + "n.v1alpha.CustomMetric\"Z\332A\024parent,custom" + + "_metric\202\323\344\223\002=\",/v1alpha/{parent=properti" + + "es/*}/customMetrics:\rcustom_metric\022\354\001\n\022U" + + "pdateCustomMetric\0229.google.analytics.adm" + + "in.v1alpha.UpdateCustomMetricRequest\032,.g" + + "oogle.analytics.admin.v1alpha.CustomMetr" + + "ic\"m\332A\031custom_metric,update_mask\202\323\344\223\002K2:" + + "/v1alpha/{custom_metric.name=properties/" + + "*/customMetrics/*}:\rcustom_metric\022\307\001\n\021Li" + + "stCustomMetrics\0228.google.analytics.admin" + + ".v1alpha.ListCustomMetricsRequest\0329.goog" + + "le.analytics.admin.v1alpha.ListCustomMet" + + "ricsResponse\"=\332A\006parent\202\323\344\223\002.\022,/v1alpha/" + + "{parent=properties/*}/customMetrics\022\261\001\n\023" + + "ArchiveCustomMetric\022:.google.analytics.a" + + "dmin.v1alpha.ArchiveCustomMetricRequest\032" + + "\026.google.protobuf.Empty\"F\332A\004name\202\323\344\223\0029\"4" + + "/v1alpha/{name=properties/*/customMetric" + + "s/*}:archive:\001*\022\264\001\n\017GetCustomMetric\0226.go" + + "ogle.analytics.admin.v1alpha.GetCustomMe" + + "tricRequest\032,.google.analytics.admin.v1a" + + "lpha.CustomMetric\";\332A\004name\202\323\344\223\002.\022,/v1alp" + + "ha/{name=properties/*/customMetrics/*}\022\325" + + "\001\n\030GetDataRetentionSettings\022?.google.ana" + + "lytics.admin.v1alpha.GetDataRetentionSet" + + "tingsRequest\0325.google.analytics.admin.v1" + + "alpha.DataRetentionSettings\"A\332A\004name\202\323\344\223" + + "\0024\0222/v1alpha/{name=properties/*/dataRete" + + "ntionSettings}\022\254\002\n\033UpdateDataRetentionSe" + + "ttings\022B.google.analytics.admin.v1alpha." + + "UpdateDataRetentionSettingsRequest\0325.goo" + + "gle.analytics.admin.v1alpha.DataRetentio" + + "nSettings\"\221\001\332A#data_retention_settings,u" + + "pdate_mask\202\323\344\223\002e2J/v1alpha/{data_retenti" + + "on_settings.name=properties/*/dataRetent" + + "ionSettings}:\027data_retention_settings\022\315\001" + + "\n\020CreateDataStream\0227.google.analytics.ad" + + "min.v1alpha.CreateDataStreamRequest\032*.go" + + "ogle.analytics.admin.v1alpha.DataStream\"" + + "T\332A\022parent,data_stream\202\323\344\223\0029\"*/v1alpha/{" + + "parent=properties/*}/dataStreams:\013data_s" + + "tream\022\236\001\n\020DeleteDataStream\0227.google.anal" + + "ytics.admin.v1alpha.DeleteDataStreamRequ" + + "est\032\026.google.protobuf.Empty\"9\332A\004name\202\323\344\223" + + "\002,**/v1alpha/{name=properties/*/dataStre" + + "ams/*}\022\336\001\n\020UpdateDataStream\0227.google.ana" + + "lytics.admin.v1alpha.UpdateDataStreamReq" + + "uest\032*.google.analytics.admin.v1alpha.Da" + + "taStream\"e\332A\027data_stream,update_mask\202\323\344\223" + + "\002E26/v1alpha/{data_stream.name=propertie" + + "s/*/dataStreams/*}:\013data_stream\022\277\001\n\017List" + + "DataStreams\0226.google.analytics.admin.v1a" + + "lpha.ListDataStreamsRequest\0327.google.ana" + + "lytics.admin.v1alpha.ListDataStreamsResp" + + "onse\";\332A\006parent\202\323\344\223\002,\022*/v1alpha/{parent=" + + "properties/*}/dataStreams\022\254\001\n\rGetDataStr" + + "eam\0224.google.analytics.admin.v1alpha.Get" + + "DataStreamRequest\032*.google.analytics.adm" + + "in.v1alpha.DataStream\"9\332A\004name\202\323\344\223\002,\022*/v" + + "1alpha/{name=properties/*/dataStreams/*}" + + "\022\244\001\n\013GetAudience\0222.google.analytics.admi" + + "n.v1alpha.GetAudienceRequest\032(.google.an" + + "alytics.admin.v1alpha.Audience\"7\332A\004name\202" + + "\323\344\223\002*\022(/v1alpha/{name=properties/*/audie" + + "nces/*}\022\267\001\n\rListAudiences\0224.google.analy" + + "tics.admin.v1alpha.ListAudiencesRequest\032" + + "5.google.analytics.admin.v1alpha.ListAud" + + "iencesResponse\"9\332A\006parent\202\323\344\223\002*\022(/v1alph" + + "a/{parent=properties/*}/audiences\022\277\001\n\016Cr" + + "eateAudience\0225.google.analytics.admin.v1" + + "alpha.CreateAudienceRequest\032(.google.ana" + + "lytics.admin.v1alpha.Audience\"L\332A\017parent" + + ",audience\202\323\344\223\0024\"(/v1alpha/{parent=proper" + + "ties/*}/audiences:\010audience\022\315\001\n\016UpdateAu" + + "dience\0225.google.analytics.admin.v1alpha." + + "UpdateAudienceRequest\032(.google.analytics" + + ".admin.v1alpha.Audience\"Z\332A\024audience,upd" + + "ate_mask\202\323\344\223\002=21/v1alpha/{audience.name=" + + "properties/*/audiences/*}:\010audience\022\236\001\n\017" + + "ArchiveAudience\0226.google.analytics.admin" + + ".v1alpha.ArchiveAudienceRequest\032\026.google" + + ".protobuf.Empty\";\202\323\344\223\0025\"0/v1alpha/{name=" + + "properties/*/audiences/*}:archive:\001*\022\304\001\n" + + "\023GetSearchAds360Link\022:.google.analytics." + + "admin.v1alpha.GetSearchAds360LinkRequest" + + "\0320.google.analytics.admin.v1alpha.Search" + + "Ads360Link\"?\332A\004name\202\323\344\223\0022\0220/v1alpha/{nam" + + "e=properties/*/searchAds360Links/*}\022\327\001\n\025" + + "ListSearchAds360Links\022<.google.analytics" + + ".admin.v1alpha.ListSearchAds360LinksRequ" + + "est\032=.google.analytics.admin.v1alpha.Lis" + + "tSearchAds360LinksResponse\"A\332A\006parent\202\323\344" + + "\223\0022\0220/v1alpha/{parent=properties/*}/sear" + + "chAds360Links\022\365\001\n\026CreateSearchAds360Link" + + "\022=.google.analytics.admin.v1alpha.Create" + "SearchAds360LinkRequest\0320.google.analyti" - + "cs.admin.v1alpha.SearchAds360Link\"?\332A\004na" - + "me\202\323\344\223\0022\0220/v1alpha/{name=properties/*/se" - + "archAds360Links/*}\022\327\001\n\025ListSearchAds360L" - + "inks\022<.google.analytics.admin.v1alpha.Li" - + "stSearchAds360LinksRequest\032=.google.anal" - + "ytics.admin.v1alpha.ListSearchAds360Link" - + "sResponse\"A\332A\006parent\202\323\344\223\0022\0220/v1alpha/{pa" - + "rent=properties/*}/searchAds360Links\022\365\001\n" - + "\026CreateSearchAds360Link\022=.google.analyti" - + "cs.admin.v1alpha.CreateSearchAds360LinkR" - + "equest\0320.google.analytics.admin.v1alpha." - + "SearchAds360Link\"j\332A\032parent,search_ads_3" - + "60_link\202\323\344\223\002G\"0/v1alpha/{parent=properti" - + "es/*}/searchAds360Links:\023search_ads_360_" - + "link\022\260\001\n\026DeleteSearchAds360Link\022=.google" - + ".analytics.admin.v1alpha.DeleteSearchAds" - + "360LinkRequest\032\026.google.protobuf.Empty\"?" - + "\332A\004name\202\323\344\223\0022*0/v1alpha/{name=properties" - + "/*/searchAds360Links/*}\022\217\002\n\026UpdateSearch" - + "Ads360Link\022=.google.analytics.admin.v1al" - + "pha.UpdateSearchAds360LinkRequest\0320.goog" - + "le.analytics.admin.v1alpha.SearchAds360L" - + "ink\"\203\001\332A\037search_ads_360_link,update_mask" - + "\202\323\344\223\002[2D/v1alpha/{search_ads_360_link.na" - + "me=properties/*/searchAds360Links/*}:\023se" - + "arch_ads_360_link\022\315\001\n\026GetAttributionSett" - + "ings\022=.google.analytics.admin.v1alpha.Ge" - + "tAttributionSettingsRequest\0323.google.ana" - + "lytics.admin.v1alpha.AttributionSettings" - + "\"?\332A\004name\202\323\344\223\0022\0220/v1alpha/{name=properti" - + "es/*/attributionSettings}\022\233\002\n\031UpdateAttr" - + "ibutionSettings\022@.google.analytics.admin" - + ".v1alpha.UpdateAttributionSettingsReques" - + "t\0323.google.analytics.admin.v1alpha.Attri" - + "butionSettings\"\206\001\332A attribution_settings" - + ",update_mask\202\323\344\223\002]2E/v1alpha/{attributio" - + "n_settings.name=properties/*/attribution" - + "Settings}:\024attribution_settings\022\360\001\n\017RunA", - "ccessReport\0226.google.analytics.admin.v1a" - + "lpha.RunAccessReportRequest\0327.google.ana" - + "lytics.admin.v1alpha.RunAccessReportResp" - + "onse\"l\202\323\344\223\002f\"./v1alpha/{entity=propertie" - + "s/*}:runAccessReport:\001*Z1\",/v1alpha/{ent" - + "ity=accounts/*}:runAccessReport:\001*\022\237\002\n\023C" - + "reateAccessBinding\022:.google.analytics.ad" - + "min.v1alpha.CreateAccessBindingRequest\032-" - + ".google.analytics.admin.v1alpha.AccessBi" - + "nding\"\234\001\332A\025parent,access_binding\202\323\344\223\002~\"+" - + "/v1alpha/{parent=accounts/*}/accessBindi" - + "ngs:\016access_bindingZ?\"-/v1alpha/{parent=" - + "properties/*}/accessBindings:\016access_bin" - + "ding\022\347\001\n\020GetAccessBinding\0227.google.analy" - + "tics.admin.v1alpha.GetAccessBindingReque" - + "st\032-.google.analytics.admin.v1alpha.Acce" - + "ssBinding\"k\332A\004name\202\323\344\223\002^\022+/v1alpha/{name" - + "=accounts/*/accessBindings/*}Z/\022-/v1alph" - + "a/{name=properties/*/accessBindings/*}\022\267" - + "\002\n\023UpdateAccessBinding\022:.google.analytic" - + "s.admin.v1alpha.UpdateAccessBindingReque" - + "st\032-.google.analytics.admin.v1alpha.Acce" - + "ssBinding\"\264\001\332A\016access_binding\202\323\344\223\002\234\0012:/v" - + "1alpha/{access_binding.name=accounts/*/a" - + "ccessBindings/*}:\016access_bindingZN2\"9/v1alpha/{parent=prope" - + "rties/*}/accessBindings:batchCreate:\001*\022\217" - + "\002\n\026BatchGetAccessBindings\022=.google.analy" + + "cs.admin.v1alpha.SearchAds360Link\"j\332A\032pa" + + "rent,search_ads_360_link\202\323\344\223\002G\"0/v1alpha" + + "/{parent=properties/*}/searchAds360Links" + + ":\023search_ads_360_link\022\260\001\n\026DeleteSearchAd" + + "s360Link\022=.google.analytics.admin.v1alph" + + "a.DeleteSearchAds360LinkRequest\032\026.google" + + ".protobuf.Empty\"?\332A\004name\202\323\344\223\0022*0/v1alpha" + + "/{name=properties/*/searchAds360Links/*}" + + "\022\217\002\n\026UpdateSearchAds360Link\022=.google.ana" + + "lytics.admin.v1alpha.UpdateSearchAds360L" + + "inkRequest\0320.google.analytics.admin.v1al" + + "pha.SearchAds360Link\"\203\001\332A\037search_ads_360" + + "_link,update_mask\202\323\344\223\002[2D/v1alpha/{searc" + + "h_ads_360_link.name=properties/*/searchA" + + "ds360Links/*}:\023search_ads_360_link\022\315\001\n\026G" + + "etAttributionSettings\022=.google.analytics" + + ".admin.v1alpha.GetAttributionSettingsReq" + + "uest\0323.google.analytics.admin.v1alpha.At" + + "tributionSettings\"?\332A\004name\202\323\344\223\0022\0220/v1alp" + + "ha/{name=properties/*/attributionSetting" + + "s}\022\233\002\n\031UpdateAttributionSettings\022@.googl" + + "e.analytics.admin.v1alpha.UpdateAttribut", + "ionSettingsRequest\0323.google.analytics.ad" + + "min.v1alpha.AttributionSettings\"\206\001\332A att" + + "ribution_settings,update_mask\202\323\344\223\002]2E/v1" + + "alpha/{attribution_settings.name=propert" + + "ies/*/attributionSettings}:\024attribution_" + + "settings\022\360\001\n\017RunAccessReport\0226.google.an" + + "alytics.admin.v1alpha.RunAccessReportReq" + + "uest\0327.google.analytics.admin.v1alpha.Ru" + + "nAccessReportResponse\"l\202\323\344\223\002f\"./v1alpha/" + + "{entity=properties/*}:runAccessReport:\001*" + + "Z1\",/v1alpha/{entity=accounts/*}:runAcce" + + "ssReport:\001*\022\237\002\n\023CreateAccessBinding\022:.go" + + "ogle.analytics.admin.v1alpha.CreateAcces" + + "sBindingRequest\032-.google.analytics.admin" + + ".v1alpha.AccessBinding\"\234\001\332A\025parent,acces" + + "s_binding\202\323\344\223\002~\"+/v1alpha/{parent=accoun" + + "ts/*}/accessBindings:\016access_bindingZ?\"-" + + "/v1alpha/{parent=properties/*}/accessBin" + + "dings:\016access_binding\022\347\001\n\020GetAccessBindi" + + "ng\0227.google.analytics.admin.v1alpha.GetA" + + "ccessBindingRequest\032-.google.analytics.a" + + "dmin.v1alpha.AccessBinding\"k\332A\004name\202\323\344\223\002" + + "^\022+/v1alpha/{name=accounts/*/accessBindi" + + "ngs/*}Z/\022-/v1alpha/{name=properties/*/ac" + + "cessBindings/*}\022\267\002\n\023UpdateAccessBinding\022" + + ":.google.analytics.admin.v1alpha.UpdateA" + + "ccessBindingRequest\032-.google.analytics.a" + + "dmin.v1alpha.AccessBinding\"\264\001\332A\016access_b" + + "inding\202\323\344\223\002\234\0012:/v1alpha/{access_binding." + + "name=accounts/*/accessBindings/*}:\016acces" + + "s_bindingZN2\"9/v1al" + + "pha/{parent=properties/*}/accessBindings" + + ":batchCreate:\001*\022\217\002\n\026BatchGetAccessBindin" + + "gs\022=.google.analytics.admin.v1alpha.Batc" + + "hGetAccessBindingsRequest\032>.google.analy" + "tics.admin.v1alpha.BatchGetAccessBinding" - + "sRequest\032>.google.analytics.admin.v1alph" - + "a.BatchGetAccessBindingsResponse\"v\202\323\344\223\002p" - + "\0224/v1alpha/{parent=accounts/*}/accessBin" - + "dings:batchGetZ8\0226/v1alpha/{parent=prope" - + "rties/*}/accessBindings:batchGet\022\245\002\n\031Bat" - + "chUpdateAccessBindings\022@.google.analytic" - + "s.admin.v1alpha.BatchUpdateAccessBinding" - + "sRequest\032A.google.analytics.admin.v1alph" - + "a.BatchUpdateAccessBindingsResponse\"\202\001\202\323" - + "\344\223\002|\"7/v1alpha/{parent=accounts/*}/acces" - + "sBindings:batchUpdate:\001*Z>\"9/v1alpha/{pa" - + "rent=properties/*}/accessBindings:batchU" - + "pdate:\001*\022\372\001\n\031BatchDeleteAccessBindings\022@" - + ".google.analytics.admin.v1alpha.BatchDel" - + "eteAccessBindingsRequest\032\026.google.protob" - + "uf.Empty\"\202\001\202\323\344\223\002|\"7/v1alpha/{parent=acco" - + "unts/*}/accessBindings:batchDelete:\001*Z>\"" - + "9/v1alpha/{parent=properties/*}/accessBi" - + "ndings:batchDelete:\001*\022\300\001\n\022GetExpandedDat" - + "aSet\0229.google.analytics.admin.v1alpha.Ge" - + "tExpandedDataSetRequest\032/.google.analyti" - + "cs.admin.v1alpha.ExpandedDataSet\">\332A\004nam" - + "e\202\323\344\223\0021\022//v1alpha/{name=properties/*/exp" - + "andedDataSets/*}\022\323\001\n\024ListExpandedDataSet" - + "s\022;.google.analytics.admin.v1alpha.ListE" - + "xpandedDataSetsRequest\032<.google.analytic" - + "s.admin.v1alpha.ListExpandedDataSetsResp" - + "onse\"@\332A\006parent\202\323\344\223\0021\022//v1alpha/{parent=" - + "properties/*}/expandedDataSets\022\355\001\n\025Creat" - + "eExpandedDataSet\022<.google.analytics.admi" - + "n.v1alpha.CreateExpandedDataSetRequest\032/" - + ".google.analytics.admin.v1alpha.Expanded" - + "DataSet\"e\332A\030parent,expanded_data_set\202\323\344\223" - + "\002D\"//v1alpha/{parent=properties/*}/expan" - + "dedDataSets:\021expanded_data_set\022\204\002\n\025Updat" + + "sResponse\"v\202\323\344\223\002p\0224/v1alpha/{parent=acco" + + "unts/*}/accessBindings:batchGetZ8\0226/v1al" + + "pha/{parent=properties/*}/accessBindings" + + ":batchGet\022\245\002\n\031BatchUpdateAccessBindings\022" + + "@.google.analytics.admin.v1alpha.BatchUp" + + "dateAccessBindingsRequest\032A.google.analy" + + "tics.admin.v1alpha.BatchUpdateAccessBind" + + "ingsResponse\"\202\001\202\323\344\223\002|\"7/v1alpha/{parent=" + + "accounts/*}/accessBindings:batchUpdate:\001" + + "*Z>\"9/v1alpha/{parent=properties/*}/acce" + + "ssBindings:batchUpdate:\001*\022\372\001\n\031BatchDelet" + + "eAccessBindings\022@.google.analytics.admin" + + ".v1alpha.BatchDeleteAccessBindingsReques" + + "t\032\026.google.protobuf.Empty\"\202\001\202\323\344\223\002|\"7/v1a" + + "lpha/{parent=accounts/*}/accessBindings:" + + "batchDelete:\001*Z>\"9/v1alpha/{parent=prope" + + "rties/*}/accessBindings:batchDelete:\001*\022\300" + + "\001\n\022GetExpandedDataSet\0229.google.analytics" + + ".admin.v1alpha.GetExpandedDataSetRequest" + + "\032/.google.analytics.admin.v1alpha.Expand" + + "edDataSet\">\332A\004name\202\323\344\223\0021\022//v1alpha/{name" + + "=properties/*/expandedDataSets/*}\022\323\001\n\024Li" + + "stExpandedDataSets\022;.google.analytics.ad" + + "min.v1alpha.ListExpandedDataSetsRequest\032" + + "<.google.analytics.admin.v1alpha.ListExp" + + "andedDataSetsResponse\"@\332A\006parent\202\323\344\223\0021\022/" + + "/v1alpha/{parent=properties/*}/expandedD" + + "ataSets\022\355\001\n\025CreateExpandedDataSet\022<.goog" + + "le.analytics.admin.v1alpha.CreateExpande" + + "dDataSetRequest\032/.google.analytics.admin" + + ".v1alpha.ExpandedDataSet\"e\332A\030parent,expa" + + "nded_data_set\202\323\344\223\002D\"//v1alpha/{parent=pr" + + "operties/*}/expandedDataSets:\021expanded_d" + + "ata_set\022\204\002\n\025UpdateExpandedDataSet\022<.goog" + + "le.analytics.admin.v1alpha.UpdateExpande" + + "dDataSetRequest\032/.google.analytics.admin" + + ".v1alpha.ExpandedDataSet\"|\332A\035expanded_da" + + "ta_set,update_mask\202\323\344\223\002V2A/v1alpha/{expa" + + "nded_data_set.name=properties/*/expanded" + + "DataSets/*}:\021expanded_data_set\022\255\001\n\025Delet" + "eExpandedDataSet\022<.google.analytics.admi" - + "n.v1alpha.UpdateExpandedDataSetRequest\032/" - + ".google.analytics.admin.v1alpha.Expanded" - + "DataSet\"|\332A\035expanded_data_set,update_mas" - + "k\202\323\344\223\002V2A/v1alpha/{expanded_data_set.nam" - + "e=properties/*/expandedDataSets/*}:\021expa" - + "nded_data_set\022\255\001\n\025DeleteExpandedDataSet\022" - + "<.google.analytics.admin.v1alpha.DeleteE" - + "xpandedDataSetRequest\032\026.google.protobuf." - + "Empty\">\332A\004name\202\323\344\223\0021*//v1alpha/{name=pro" - + "perties/*/expandedDataSets/*}\022\264\001\n\017GetCha" - + "nnelGroup\0226.google.analytics.admin.v1alp" - + "ha.GetChannelGroupRequest\032,.google.analy" - + "tics.admin.v1alpha.ChannelGroup\";\332A\004name" - + "\202\323\344\223\002.\022,/v1alpha/{name=properties/*/chan" - + "nelGroups/*}\022\307\001\n\021ListChannelGroups\0228.goo" - + "gle.analytics.admin.v1alpha.ListChannelG" - + "roupsRequest\0329.google.analytics.admin.v1" - + "alpha.ListChannelGroupsResponse\"=\332A\006pare" - + "nt\202\323\344\223\002.\022,/v1alpha/{parent=properties/*}" - + "/channelGroups\022\331\001\n\022CreateChannelGroup\0229." - + "google.analytics.admin.v1alpha.CreateCha" - + "nnelGroupRequest\032,.google.analytics.admi" - + "n.v1alpha.ChannelGroup\"Z\332A\024parent,channe" - + "l_group\202\323\344\223\002=\",/v1alpha/{parent=properti" - + "es/*}/channelGroups:\rchannel_group\022\354\001\n\022U" - + "pdateChannelGroup\0229.google.analytics.adm" - + "in.v1alpha.UpdateChannelGroupRequest\032,.g" - + "oogle.analytics.admin.v1alpha.ChannelGro" - + "up\"m\332A\031channel_group,update_mask\202\323\344\223\002K2:" - + "/v1alpha/{channel_group.name=properties/" - + "*/channelGroups/*}:\rchannel_group\022\244\001\n\022De" - + "leteChannelGroup\0229.google.analytics.admi" - + "n.v1alpha.DeleteChannelGroupRequest\032\026.go" - + "ogle.protobuf.Empty\";\332A\004name\202\323\344\223\002.*,/v1a" - + "lpha/{name=properties/*/channelGroups/*}" - + "\022\331\001\n\022CreateBigQueryLink\0229.google.analyti" - + "cs.admin.v1alpha.CreateBigQueryLinkReque" - + "st\032,.google.analytics.admin.v1alpha.BigQ" - + "ueryLink\"Z\332A\024parent,bigquery_link\202\323\344\223\002=\"" - + ",/v1alpha/{parent=properties/*}/bigQuery" - + "Links:\rbigquery_link\022\264\001\n\017GetBigQueryLink" - + "\0226.google.analytics.admin.v1alpha.GetBig" - + "QueryLinkRequest\032,.google.analytics.admi" - + "n.v1alpha.BigQueryLink\";\332A\004name\202\323\344\223\002.\022,/" - + "v1alpha/{name=properties/*/bigQueryLinks" - + "/*}\022\307\001\n\021ListBigQueryLinks\0228.google.analy" - + "tics.admin.v1alpha.ListBigQueryLinksRequ" - + "est\0329.google.analytics.admin.v1alpha.Lis" - + "tBigQueryLinksResponse\"=\332A\006parent\202\323\344\223\002.\022" - + ",/v1alpha/{parent=properties/*}/bigQuery" - + "Links\022\244\001\n\022DeleteBigQueryLink\0229.google.an" - + "alytics.admin.v1alpha.DeleteBigQueryLink" - + "Request\032\026.google.protobuf.Empty\";\332A\004name" - + "\202\323\344\223\002.*,/v1alpha/{name=properties/*/bigQ" - + "ueryLinks/*}\022\354\001\n\022UpdateBigQueryLink\0229.go" - + "ogle.analytics.admin.v1alpha.UpdateBigQu" - + "eryLinkRequest\032,.google.analytics.admin." - + "v1alpha.BigQueryLink\"m\332A\031bigquery_link,u" - + "pdate_mask\202\323\344\223\002K2:/v1alpha/{bigquery_lin" - + "k.name=properties/*/bigQueryLinks/*}:\rbi" - + "gquery_link\022\373\001\n\036GetEnhancedMeasurementSe" - + "ttings\022E.google.analytics.admin.v1alpha." - + "GetEnhancedMeasurementSettingsRequest\032;." - + "google.analytics.admin.v1alpha.EnhancedM" - + "easurementSettings\"U\332A\004name\202\323\344\223\002H\022F/v1al" - + "pha/{name=properties/*/dataStreams/*/enh" - + "ancedMeasurementSettings}\022\345\002\n!UpdateEnha" - + "ncedMeasurementSettings\022H.google.analyti" - + "cs.admin.v1alpha.UpdateEnhancedMeasureme" - + "ntSettingsRequest\032;.google.analytics.adm" - + "in.v1alpha.EnhancedMeasurementSettings\"\270" - + "\001\332A)enhanced_measurement_settings,update" - + "_mask\202\323\344\223\002\205\0012d/v1alpha/{enhanced_measure" - + "ment_settings.name=properties/*/dataStre" - + "ams/*/enhancedMeasurementSettings}:\035enha" - + "nced_measurement_settings\022\260\001\n\016GetAdSense" - + "Link\0225.google.analytics.admin.v1alpha.Ge" - + "tAdSenseLinkRequest\032+.google.analytics.a" - + "dmin.v1alpha.AdSenseLink\":\332A\004name\202\323\344\223\002-\022" - + "+/v1alpha/{name=properties/*/adSenseLink" - + "s/*}\022\323\001\n\021CreateAdSenseLink\0228.google.anal" - + "ytics.admin.v1alpha.CreateAdSenseLinkReq" - + "uest\032+.google.analytics.admin.v1alpha.Ad" - + "SenseLink\"W\332A\023parent,adsense_link\202\323\344\223\002;\"" - + "+/v1alpha/{parent=properties/*}/adSenseL" - + "inks:\014adsense_link\022\241\001\n\021DeleteAdSenseLink" - + "\0228.google.analytics.admin.v1alpha.Delete" - + "AdSenseLinkRequest\032\026.google.protobuf.Emp" - + "ty\":\332A\004name\202\323\344\223\002-*+/v1alpha/{name=proper" - + "ties/*/adSenseLinks/*}\022\303\001\n\020ListAdSenseLi" - + "nks\0227.google.analytics.admin.v1alpha.Lis" - + "tAdSenseLinksRequest\0328.google.analytics." - + "admin.v1alpha.ListAdSenseLinksResponse\"<" - + "\332A\006parent\202\323\344\223\002-\022+/v1alpha/{parent=proper" - + "ties/*}/adSenseLinks\022\316\001\n\022GetEventCreateR" - + "ule\0229.google.analytics.admin.v1alpha.Get" - + "EventCreateRuleRequest\032/.google.analytic" - + "s.admin.v1alpha.EventCreateRule\"L\332A\004name" - + "\202\323\344\223\002?\022=/v1alpha/{name=properties/*/data" - + "Streams/*/eventCreateRules/*}\022\341\001\n\024ListEv" - + "entCreateRules\022;.google.analytics.admin." - + "v1alpha.ListEventCreateRulesRequest\032<.go" - + "ogle.analytics.admin.v1alpha.ListEventCr" - + "eateRulesResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1a" - + "lpha/{parent=properties/*/dataStreams/*}" - + "/eventCreateRules\022\373\001\n\025CreateEventCreateR" - + "ule\022<.google.analytics.admin.v1alpha.Cre" - + "ateEventCreateRuleRequest\032/.google.analy" - + "tics.admin.v1alpha.EventCreateRule\"s\332A\030p" - + "arent,event_create_rule\202\323\344\223\002R\"=/v1alpha/" - + "{parent=properties/*/dataStreams/*}/even" - + "tCreateRules:\021event_create_rule\022\223\002\n\025Upda" - + "teEventCreateRule\022<.google.analytics.adm" - + "in.v1alpha.UpdateEventCreateRuleRequest\032" + + "n.v1alpha.DeleteExpandedDataSetRequest\032\026" + + ".google.protobuf.Empty\">\332A\004name\202\323\344\223\0021*//" + + "v1alpha/{name=properties/*/expandedDataS" + + "ets/*}\022\264\001\n\017GetChannelGroup\0226.google.anal" + + "ytics.admin.v1alpha.GetChannelGroupReque" + + "st\032,.google.analytics.admin.v1alpha.Chan" + + "nelGroup\";\332A\004name\202\323\344\223\002.\022,/v1alpha/{name=" + + "properties/*/channelGroups/*}\022\307\001\n\021ListCh" + + "annelGroups\0228.google.analytics.admin.v1a" + + "lpha.ListChannelGroupsRequest\0329.google.a" + + "nalytics.admin.v1alpha.ListChannelGroups" + + "Response\"=\332A\006parent\202\323\344\223\002.\022,/v1alpha/{par" + + "ent=properties/*}/channelGroups\022\331\001\n\022Crea" + + "teChannelGroup\0229.google.analytics.admin." + + "v1alpha.CreateChannelGroupRequest\032,.goog" + + "le.analytics.admin.v1alpha.ChannelGroup\"" + + "Z\332A\024parent,channel_group\202\323\344\223\002=\",/v1alpha" + + "/{parent=properties/*}/channelGroups:\rch" + + "annel_group\022\354\001\n\022UpdateChannelGroup\0229.goo" + + "gle.analytics.admin.v1alpha.UpdateChanne" + + "lGroupRequest\032,.google.analytics.admin.v" + + "1alpha.ChannelGroup\"m\332A\031channel_group,up" + + "date_mask\202\323\344\223\002K2:/v1alpha/{channel_group" + + ".name=properties/*/channelGroups/*}:\rcha" + + "nnel_group\022\244\001\n\022DeleteChannelGroup\0229.goog" + + "le.analytics.admin.v1alpha.DeleteChannel" + + "GroupRequest\032\026.google.protobuf.Empty\";\332A" + + "\004name\202\323\344\223\002.*,/v1alpha/{name=properties/*" + + "/channelGroups/*}\022\331\001\n\022CreateBigQueryLink" + + "\0229.google.analytics.admin.v1alpha.Create" + + "BigQueryLinkRequest\032,.google.analytics.a" + + "dmin.v1alpha.BigQueryLink\"Z\332A\024parent,big" + + "query_link\202\323\344\223\002=\",/v1alpha/{parent=prope" + + "rties/*}/bigQueryLinks:\rbigquery_link\022\264\001" + + "\n\017GetBigQueryLink\0226.google.analytics.adm" + + "in.v1alpha.GetBigQueryLinkRequest\032,.goog" + + "le.analytics.admin.v1alpha.BigQueryLink\"" + + ";\332A\004name\202\323\344\223\002.\022,/v1alpha/{name=propertie" + + "s/*/bigQueryLinks/*}\022\307\001\n\021ListBigQueryLin" + + "ks\0228.google.analytics.admin.v1alpha.List" + + "BigQueryLinksRequest\0329.google.analytics." + + "admin.v1alpha.ListBigQueryLinksResponse\"" + + "=\332A\006parent\202\323\344\223\002.\022,/v1alpha/{parent=prope" + + "rties/*}/bigQueryLinks\022\244\001\n\022DeleteBigQuer" + + "yLink\0229.google.analytics.admin.v1alpha.D" + + "eleteBigQueryLinkRequest\032\026.google.protob" + + "uf.Empty\";\332A\004name\202\323\344\223\002.*,/v1alpha/{name=" + + "properties/*/bigQueryLinks/*}\022\354\001\n\022Update" + + "BigQueryLink\0229.google.analytics.admin.v1" + + "alpha.UpdateBigQueryLinkRequest\032,.google" + + ".analytics.admin.v1alpha.BigQueryLink\"m\332" + + "A\031bigquery_link,update_mask\202\323\344\223\002K2:/v1al" + + "pha/{bigquery_link.name=properties/*/big" + + "QueryLinks/*}:\rbigquery_link\022\373\001\n\036GetEnha" + + "ncedMeasurementSettings\022E.google.analyti" + + "cs.admin.v1alpha.GetEnhancedMeasurementS" + + "ettingsRequest\032;.google.analytics.admin." + + "v1alpha.EnhancedMeasurementSettings\"U\332A\004" + + "name\202\323\344\223\002H\022F/v1alpha/{name=properties/*/" + + "dataStreams/*/enhancedMeasurementSetting" + + "s}\022\345\002\n!UpdateEnhancedMeasurementSettings" + + "\022H.google.analytics.admin.v1alpha.Update" + + "EnhancedMeasurementSettingsRequest\032;.goo" + + "gle.analytics.admin.v1alpha.EnhancedMeas" + + "urementSettings\"\270\001\332A)enhanced_measuremen" + + "t_settings,update_mask\202\323\344\223\002\205\0012d/v1alpha/" + + "{enhanced_measurement_settings.name=prop" + + "erties/*/dataStreams/*/enhancedMeasureme" + + "ntSettings}:\035enhanced_measurement_settin" + + "gs\022\260\001\n\016GetAdSenseLink\0225.google.analytics" + + ".admin.v1alpha.GetAdSenseLinkRequest\032+.g" + + "oogle.analytics.admin.v1alpha.AdSenseLin" + + "k\":\332A\004name\202\323\344\223\002-\022+/v1alpha/{name=propert" + + "ies/*/adSenseLinks/*}\022\323\001\n\021CreateAdSenseL" + + "ink\0228.google.analytics.admin.v1alpha.Cre" + + "ateAdSenseLinkRequest\032+.google.analytics" + + ".admin.v1alpha.AdSenseLink\"W\332A\023parent,ad" + + "sense_link\202\323\344\223\002;\"+/v1alpha/{parent=prope" + + "rties/*}/adSenseLinks:\014adsense_link\022\241\001\n\021" + + "DeleteAdSenseLink\0228.google.analytics.adm" + + "in.v1alpha.DeleteAdSenseLinkRequest\032\026.go" + + "ogle.protobuf.Empty\":\332A\004name\202\323\344\223\002-*+/v1a" + + "lpha/{name=properties/*/adSenseLinks/*}\022" + + "\303\001\n\020ListAdSenseLinks\0227.google.analytics." + + "admin.v1alpha.ListAdSenseLinksRequest\0328." + + "google.analytics.admin.v1alpha.ListAdSen" + + "seLinksResponse\"<\332A\006parent\202\323\344\223\002-\022+/v1alp" + + "ha/{parent=properties/*}/adSenseLinks\022\316\001" + + "\n\022GetEventCreateRule\0229.google.analytics." + + "admin.v1alpha.GetEventCreateRuleRequest\032" + "/.google.analytics.admin.v1alpha.EventCr" - + "eateRule\"\212\001\332A\035event_create_rule,update_m" - + "ask\202\323\344\223\002d2O/v1alpha/{event_create_rule.n" - + "ame=properties/*/dataStreams/*/eventCrea" - + "teRules/*}:\021event_create_rule\022\273\001\n\025Delete" - + "EventCreateRule\022<.google.analytics.admin" - + ".v1alpha.DeleteEventCreateRuleRequest\032\026." - + "google.protobuf.Empty\"L\332A\004name\202\323\344\223\002?*=/v" - + "1alpha/{name=properties/*/dataStreams/*/" - + "eventCreateRules/*}\022\306\001\n\020GetEventEditRule" - + "\0227.google.analytics.admin.v1alpha.GetEve" - + "ntEditRuleRequest\032-.google.analytics.adm" - + "in.v1alpha.EventEditRule\"J\332A\004name\202\323\344\223\002=\022" - + ";/v1alpha/{name=properties/*/dataStreams" - + "/*/eventEditRules/*}\022\331\001\n\022ListEventEditRu" - + "les\0229.google.analytics.admin.v1alpha.Lis" - + "tEventEditRulesRequest\032:.google.analytic" - + "s.admin.v1alpha.ListEventEditRulesRespon" - + "se\"L\332A\006parent\202\323\344\223\002=\022;/v1alpha/{parent=pr" - + "operties/*/dataStreams/*}/eventEditRules" - + "\022\357\001\n\023CreateEventEditRule\022:.google.analyt" - + "ics.admin.v1alpha.CreateEventEditRuleReq" - + "uest\032-.google.analytics.admin.v1alpha.Ev" - + "entEditRule\"m\332A\026parent,event_edit_rule\202\323" - + "\344\223\002N\";/v1alpha/{parent=properties/*/data" - + "Streams/*}/eventEditRules:\017event_edit_ru" - + "le\022\205\002\n\023UpdateEventEditRule\022:.google.anal" - + "ytics.admin.v1alpha.UpdateEventEditRuleR" - + "equest\032-.google.analytics.admin.v1alpha." - + "EventEditRule\"\202\001\332A\033event_edit_rule,updat" - + "e_mask\202\323\344\223\002^2K/v1alpha/{event_edit_rule." - + "name=properties/*/dataStreams/*/eventEdi" - + "tRules/*}:\017event_edit_rule\022\265\001\n\023DeleteEve" - + "ntEditRule\022:.google.analytics.admin.v1al" - + "pha.DeleteEventEditRuleRequest\032\026.google." - + "protobuf.Empty\"J\332A\004name\202\323\344\223\002=*;/v1alpha/" - + "{name=properties/*/dataStreams/*/eventEd" - + "itRules/*}\022\275\001\n\025ReorderEventEditRules\022<.g" - + "oogle.analytics.admin.v1alpha.ReorderEve" - + "ntEditRulesRequest\032\026.google.protobuf.Emp" - + "ty\"N\202\323\344\223\002H\"C/v1alpha/{parent=properties/" - + "*/dataStreams/*}/eventEditRules:reorder:" - + "\001*\022\272\002\n\033UpdateDataRedactionSettings\022B.goo" - + "gle.analytics.admin.v1alpha.UpdateDataRe" - + "dactionSettingsRequest\0325.google.analytic" - + "s.admin.v1alpha.DataRedactionSettings\"\237\001" - + "\332A#data_redaction_settings,update_mask\202\323" - + "\344\223\002s2X/v1alpha/{data_redaction_settings." - + "name=properties/*/dataStreams/*/dataReda" - + "ctionSettings}:\027data_redaction_settings\022" - + "\343\001\n\030GetDataRedactionSettings\022?.google.an" - + "alytics.admin.v1alpha.GetDataRedactionSe" - + "ttingsRequest\0325.google.analytics.admin.v" - + "1alpha.DataRedactionSettings\"O\332A\004name\202\323\344" - + "\223\002B\022@/v1alpha/{name=properties/*/dataStr" - + "eams/*/dataRedactionSettings}\022\304\001\n\023GetCal" - + "culatedMetric\022:.google.analytics.admin.v" - + "1alpha.GetCalculatedMetricRequest\0320.goog" - + "le.analytics.admin.v1alpha.CalculatedMet" - + "ric\"?\332A\004name\202\323\344\223\0022\0220/v1alpha/{name=prope" - + "rties/*/calculatedMetrics/*}\022\206\002\n\026CreateC" - + "alculatedMetric\022=.google.analytics.admin" - + ".v1alpha.CreateCalculatedMetricRequest\0320" - + ".google.analytics.admin.v1alpha.Calculat" - + "edMetric\"{\332A-parent,calculated_metric,ca" - + "lculated_metric_id\202\323\344\223\002E\"0/v1alpha/{pare" - + "nt=properties/*}/calculatedMetrics:\021calc" - + "ulated_metric\022\327\001\n\025ListCalculatedMetrics\022" - + "<.google.analytics.admin.v1alpha.ListCal" - + "culatedMetricsRequest\032=.google.analytics" - + ".admin.v1alpha.ListCalculatedMetricsResp" - + "onse\"A\332A\006parent\202\323\344\223\0022\0220/v1alpha/{parent=" - + "properties/*}/calculatedMetrics\022\210\002\n\026Upda" - + "teCalculatedMetric\022=.google.analytics.ad" - + "min.v1alpha.UpdateCalculatedMetricReques" - + "t\0320.google.analytics.admin.v1alpha.Calcu" - + "latedMetric\"}\332A\035calculated_metric,update" - + "_mask\202\323\344\223\002W2B/v1alpha/{calculated_metric" - + ".name=properties/*/calculatedMetrics/*}:" - + "\021calculated_metric\022\260\001\n\026DeleteCalculatedM" - + "etric\022=.google.analytics.admin.v1alpha.D" - + "eleteCalculatedMetricRequest\032\026.google.pr" - + "otobuf.Empty\"?\332A\004name\202\323\344\223\0022*0/v1alpha/{n" - + "ame=properties/*/calculatedMetrics/*}\022\306\001" - + "\n\024CreateRollupProperty\022;.google.analytic" - + "s.admin.v1alpha.CreateRollupPropertyRequ" - + "est\032<.google.analytics.admin.v1alpha.Cre" - + "ateRollupPropertyResponse\"3\202\323\344\223\002-\"(/v1al" - + "pha/properties:createRollupProperty:\001*\022\344" - + "\001\n\033GetRollupPropertySourceLink\022B.google." - + "analytics.admin.v1alpha.GetRollupPropert" - + "ySourceLinkRequest\0328.google.analytics.ad" - + "min.v1alpha.RollupPropertySourceLink\"G\332A" - + "\004name\202\323\344\223\002:\0228/v1alpha/{name=properties/*" - + "/rollupPropertySourceLinks/*}\022\367\001\n\035ListRo" - + "llupPropertySourceLinks\022D.google.analyti" - + "cs.admin.v1alpha.ListRollupPropertySourc" - + "eLinksRequest\032E.google.analytics.admin.v" - + "1alpha.ListRollupPropertySourceLinksResp" - + "onse\"I\332A\006parent\202\323\344\223\002:\0228/v1alpha/{parent=" - + "properties/*}/rollupPropertySourceLinks\022" - + "\246\002\n\036CreateRollupPropertySourceLink\022E.goo" - + "gle.analytics.admin.v1alpha.CreateRollup" - + "PropertySourceLinkRequest\0328.google.analy" - + "tics.admin.v1alpha.RollupPropertySourceL" - + "ink\"\202\001\332A\"parent,rollup_property_source_l" - + "ink\202\323\344\223\002W\"8/v1alpha/{parent=properties/*" - + "}/rollupPropertySourceLinks:\033rollup_prop" - + "erty_source_link\022\310\001\n\036DeleteRollupPropert" + + "eateRule\"L\332A\004name\202\323\344\223\002?\022=/v1alpha/{name=" + + "properties/*/dataStreams/*/eventCreateRu" + + "les/*}\022\341\001\n\024ListEventCreateRules\022;.google" + + ".analytics.admin.v1alpha.ListEventCreate" + + "RulesRequest\032<.google.analytics.admin.v1" + + "alpha.ListEventCreateRulesResponse\"N\332A\006p" + + "arent\202\323\344\223\002?\022=/v1alpha/{parent=properties" + + "/*/dataStreams/*}/eventCreateRules\022\373\001\n\025C" + + "reateEventCreateRule\022<.google.analytics." + + "admin.v1alpha.CreateEventCreateRuleReque" + + "st\032/.google.analytics.admin.v1alpha.Even" + + "tCreateRule\"s\332A\030parent,event_create_rule" + + "\202\323\344\223\002R\"=/v1alpha/{parent=properties/*/da" + + "taStreams/*}/eventCreateRules:\021event_cre" + + "ate_rule\022\223\002\n\025UpdateEventCreateRule\022<.goo" + + "gle.analytics.admin.v1alpha.UpdateEventC" + + "reateRuleRequest\032/.google.analytics.admi" + + "n.v1alpha.EventCreateRule\"\212\001\332A\035event_cre" + + "ate_rule,update_mask\202\323\344\223\002d2O/v1alpha/{ev" + + "ent_create_rule.name=properties/*/dataSt" + + "reams/*/eventCreateRules/*}:\021event_creat" + + "e_rule\022\273\001\n\025DeleteEventCreateRule\022<.googl" + + "e.analytics.admin.v1alpha.DeleteEventCre" + + "ateRuleRequest\032\026.google.protobuf.Empty\"L" + + "\332A\004name\202\323\344\223\002?*=/v1alpha/{name=properties" + + "/*/dataStreams/*/eventCreateRules/*}\022\306\001\n" + + "\020GetEventEditRule\0227.google.analytics.adm" + + "in.v1alpha.GetEventEditRuleRequest\032-.goo" + + "gle.analytics.admin.v1alpha.EventEditRul" + + "e\"J\332A\004name\202\323\344\223\002=\022;/v1alpha/{name=propert" + + "ies/*/dataStreams/*/eventEditRules/*}\022\331\001" + + "\n\022ListEventEditRules\0229.google.analytics." + + "admin.v1alpha.ListEventEditRulesRequest\032" + + ":.google.analytics.admin.v1alpha.ListEve" + + "ntEditRulesResponse\"L\332A\006parent\202\323\344\223\002=\022;/v" + + "1alpha/{parent=properties/*/dataStreams/" + + "*}/eventEditRules\022\357\001\n\023CreateEventEditRul" + + "e\022:.google.analytics.admin.v1alpha.Creat" + + "eEventEditRuleRequest\032-.google.analytics" + + ".admin.v1alpha.EventEditRule\"m\332A\026parent," + + "event_edit_rule\202\323\344\223\002N\";/v1alpha/{parent=" + + "properties/*/dataStreams/*}/eventEditRul" + + "es:\017event_edit_rule\022\205\002\n\023UpdateEventEditR" + + "ule\022:.google.analytics.admin.v1alpha.Upd" + + "ateEventEditRuleRequest\032-.google.analyti" + + "cs.admin.v1alpha.EventEditRule\"\202\001\332A\033even" + + "t_edit_rule,update_mask\202\323\344\223\002^2K/v1alpha/" + + "{event_edit_rule.name=properties/*/dataS" + + "treams/*/eventEditRules/*}:\017event_edit_r" + + "ule\022\265\001\n\023DeleteEventEditRule\022:.google.ana" + + "lytics.admin.v1alpha.DeleteEventEditRule" + + "Request\032\026.google.protobuf.Empty\"J\332A\004name" + + "\202\323\344\223\002=*;/v1alpha/{name=properties/*/data" + + "Streams/*/eventEditRules/*}\022\275\001\n\025ReorderE" + + "ventEditRules\022<.google.analytics.admin.v" + + "1alpha.ReorderEventEditRulesRequest\032\026.go" + + "ogle.protobuf.Empty\"N\202\323\344\223\002H\"C/v1alpha/{p" + + "arent=properties/*/dataStreams/*}/eventE" + + "ditRules:reorder:\001*\022\272\002\n\033UpdateDataRedact" + + "ionSettings\022B.google.analytics.admin.v1a" + + "lpha.UpdateDataRedactionSettingsRequest\032" + + "5.google.analytics.admin.v1alpha.DataRed" + + "actionSettings\"\237\001\332A#data_redaction_setti" + + "ngs,update_mask\202\323\344\223\002s2X/v1alpha/{data_re" + + "daction_settings.name=properties/*/dataS" + + "treams/*/dataRedactionSettings}:\027data_re" + + "daction_settings\022\343\001\n\030GetDataRedactionSet" + + "tings\022?.google.analytics.admin.v1alpha.G" + + "etDataRedactionSettingsRequest\0325.google." + + "analytics.admin.v1alpha.DataRedactionSet" + + "tings\"O\332A\004name\202\323\344\223\002B\022@/v1alpha/{name=pro" + + "perties/*/dataStreams/*/dataRedactionSet" + + "tings}\022\304\001\n\023GetCalculatedMetric\022:.google." + + "analytics.admin.v1alpha.GetCalculatedMet" + + "ricRequest\0320.google.analytics.admin.v1al" + + "pha.CalculatedMetric\"?\332A\004name\202\323\344\223\0022\0220/v1" + + "alpha/{name=properties/*/calculatedMetri" + + "cs/*}\022\206\002\n\026CreateCalculatedMetric\022=.googl" + + "e.analytics.admin.v1alpha.CreateCalculat" + + "edMetricRequest\0320.google.analytics.admin" + + ".v1alpha.CalculatedMetric\"{\332A-parent,cal" + + "culated_metric,calculated_metric_id\202\323\344\223\002" + + "E\"0/v1alpha/{parent=properties/*}/calcul" + + "atedMetrics:\021calculated_metric\022\327\001\n\025ListC" + + "alculatedMetrics\022<.google.analytics.admi" + + "n.v1alpha.ListCalculatedMetricsRequest\032=" + + ".google.analytics.admin.v1alpha.ListCalc" + + "ulatedMetricsResponse\"A\332A\006parent\202\323\344\223\0022\0220" + + "/v1alpha/{parent=properties/*}/calculate" + + "dMetrics\022\210\002\n\026UpdateCalculatedMetric\022=.go" + + "ogle.analytics.admin.v1alpha.UpdateCalcu" + + "latedMetricRequest\0320.google.analytics.ad" + + "min.v1alpha.CalculatedMetric\"}\332A\035calcula" + + "ted_metric,update_mask\202\323\344\223\002W2B/v1alpha/{" + + "calculated_metric.name=properties/*/calc" + + "ulatedMetrics/*}:\021calculated_metric\022\260\001\n\026" + + "DeleteCalculatedMetric\022=.google.analytic" + + "s.admin.v1alpha.DeleteCalculatedMetricRe" + + "quest\032\026.google.protobuf.Empty\"?\332A\004name\202\323" + + "\344\223\0022*0/v1alpha/{name=properties/*/calcul" + + "atedMetrics/*}\022\306\001\n\024CreateRollupProperty\022" + + ";.google.analytics.admin.v1alpha.CreateR" + + "ollupPropertyRequest\032<.google.analytics." + + "admin.v1alpha.CreateRollupPropertyRespon" + + "se\"3\202\323\344\223\002-\"(/v1alpha/properties:createRo" + + "llupProperty:\001*\022\344\001\n\033GetRollupPropertySou" + + "rceLink\022B.google.analytics.admin.v1alpha" + + ".GetRollupPropertySourceLinkRequest\0328.go" + + "ogle.analytics.admin.v1alpha.RollupPrope" + + "rtySourceLink\"G\332A\004name\202\323\344\223\002:\0228/v1alpha/{" + + "name=properties/*/rollupPropertySourceLi" + + "nks/*}\022\367\001\n\035ListRollupPropertySourceLinks" + + "\022D.google.analytics.admin.v1alpha.ListRo" + + "llupPropertySourceLinksRequest\032E.google." + + "analytics.admin.v1alpha.ListRollupProper" + + "tySourceLinksResponse\"I\332A\006parent\202\323\344\223\002:\0228" + + "/v1alpha/{parent=properties/*}/rollupPro" + + "pertySourceLinks\022\246\002\n\036CreateRollupPropert" + "ySourceLink\022E.google.analytics.admin.v1a" - + "lpha.DeleteRollupPropertySourceLinkReque" - + "st\032\026.google.protobuf.Empty\"G\332A\004name\202\323\344\223\002" - + ":*8/v1alpha/{name=properties/*/rollupPro" - + "pertySourceLinks/*}\022\306\001\n\024ProvisionSubprop" - + "erty\022;.google.analytics.admin.v1alpha.Pr" - + "ovisionSubpropertyRequest\032<.google.analy" - + "tics.admin.v1alpha.ProvisionSubpropertyR" - + "esponse\"3\202\323\344\223\002-\"(/v1alpha/properties:pro" - + "visionSubproperty:\001*\022\227\002\n\034CreateSubproper" - + "tyEventFilter\022C.google.analytics.admin.v" - + "1alpha.CreateSubpropertyEventFilterReque" - + "st\0326.google.analytics.admin.v1alpha.Subp" - + "ropertyEventFilter\"z\332A\037parent,subpropert" - + "y_event_filter\202\323\344\223\002R\"6/v1alpha/{parent=p" - + "roperties/*}/subpropertyEventFilters:\030su" - + "bproperty_event_filter\022\334\001\n\031GetSubpropert" - + "yEventFilter\022@.google.analytics.admin.v1" - + "alpha.GetSubpropertyEventFilterRequest\0326" - + ".google.analytics.admin.v1alpha.Subprope" - + "rtyEventFilter\"E\332A\004name\202\323\344\223\0028\0226/v1alpha/" - + "{name=properties/*/subpropertyEventFilte" - + "rs/*}\022\357\001\n\033ListSubpropertyEventFilters\022B." - + "google.analytics.admin.v1alpha.ListSubpr" - + "opertyEventFiltersRequest\032C.google.analy" - + "tics.admin.v1alpha.ListSubpropertyEventF" - + "iltersResponse\"G\332A\006parent\202\323\344\223\0028\0226/v1alph" - + "a/{parent=properties/*}/subpropertyEvent" - + "Filters\022\266\002\n\034UpdateSubpropertyEventFilter" - + "\022C.google.analytics.admin.v1alpha.Update" - + "SubpropertyEventFilterRequest\0326.google.a" - + "nalytics.admin.v1alpha.SubpropertyEventF" - + "ilter\"\230\001\332A$subproperty_event_filter,upda" - + "te_mask\202\323\344\223\002k2O/v1alpha/{subproperty_eve" - + "nt_filter.name=properties/*/subpropertyE" - + "ventFilters/*}:\030subproperty_event_filter" - + "\022\302\001\n\034DeleteSubpropertyEventFilter\022C.goog" - + "le.analytics.admin.v1alpha.DeleteSubprop" - + "ertyEventFilterRequest\032\026.google.protobuf" - + ".Empty\"E\332A\004name\202\323\344\223\0028*6/v1alpha/{name=pr" - + "operties/*/subpropertyEventFilters/*}\022\235\002" - + "\n\035CreateReportingDataAnnotation\022D.google" - + ".analytics.admin.v1alpha.CreateReporting" - + "DataAnnotationRequest\0327.google.analytics" - + ".admin.v1alpha.ReportingDataAnnotation\"}" - + "\332A parent,reporting_data_annotation\202\323\344\223\002" - + "T\"7/v1alpha/{parent=properties/*}/report" - + "ingDataAnnotations:\031reporting_data_annot" - + "ation\022\340\001\n\032GetReportingDataAnnotation\022A.g" - + "oogle.analytics.admin.v1alpha.GetReporti" - + "ngDataAnnotationRequest\0327.google.analyti" - + "cs.admin.v1alpha.ReportingDataAnnotation" - + "\"F\332A\004name\202\323\344\223\0029\0227/v1alpha/{name=properti" - + "es/*/reportingDataAnnotations/*}\022\363\001\n\034Lis" - + "tReportingDataAnnotations\022C.google.analy" - + "tics.admin.v1alpha.ListReportingDataAnno" - + "tationsRequest\032D.google.analytics.admin." - + "v1alpha.ListReportingDataAnnotationsResp" - + "onse\"H\332A\006parent\202\323\344\223\0029\0227/v1alpha/{parent=" - + "properties/*}/reportingDataAnnotations\022\275" - + "\002\n\035UpdateReportingDataAnnotation\022D.googl" - + "e.analytics.admin.v1alpha.UpdateReportin" - + "gDataAnnotationRequest\0327.google.analytic" - + "s.admin.v1alpha.ReportingDataAnnotation\"" - + "\234\001\332A%reporting_data_annotation,update_ma" - + "sk\202\323\344\223\002n2Q/v1alpha/{reporting_data_annot" - + "ation.name=properties/*/reportingDataAnn" - + "otations/*}:\031reporting_data_annotation\022\305" - + "\001\n\035DeleteReportingDataAnnotation\022D.googl" - + "e.analytics.admin.v1alpha.DeleteReportin" - + "gDataAnnotationRequest\032\026.google.protobuf" - + ".Empty\"F\332A\004name\202\323\344\223\0029*7/v1alpha/{name=pr" - + "operties/*/reportingDataAnnotations/*}\022\316" - + "\001\n\022SubmitUserDeletion\0229.google.analytics" - + ".admin.v1alpha.SubmitUserDeletionRequest" - + "\032:.google.analytics.admin.v1alpha.Submit" - + "UserDeletionResponse\"A\332A\004name\202\323\344\223\0024\"//v1" - + "alpha/{name=properties/*}:submitUserDele" - + "tion:\001*\022\353\001\n\032ListSubpropertySyncConfigs\022A" - + ".google.analytics.admin.v1alpha.ListSubp" - + "ropertySyncConfigsRequest\032B.google.analy" - + "tics.admin.v1alpha.ListSubpropertySyncCo" - + "nfigsResponse\"F\332A\006parent\202\323\344\223\0027\0225/v1alpha" - + "/{parent=properties/*}/subpropertySyncCo" - + "nfigs\022\257\002\n\033UpdateSubpropertySyncConfig\022B." - + "google.analytics.admin.v1alpha.UpdateSub" - + "propertySyncConfigRequest\0325.google.analy" - + "tics.admin.v1alpha.SubpropertySyncConfig" - + "\"\224\001\332A#subproperty_sync_config,update_mas" - + "k\202\323\344\223\002h2M/v1alpha/{subproperty_sync_conf" - + "ig.name=properties/*/subpropertySyncConf" - + "igs/*}:\027subproperty_sync_config\022\330\001\n\030GetS" - + "ubpropertySyncConfig\022?.google.analytics.", - "admin.v1alpha.GetSubpropertySyncConfigRe" - + "quest\0325.google.analytics.admin.v1alpha.S" - + "ubpropertySyncConfig\"D\332A\004name\202\323\344\223\0027\0225/v1" - + "alpha/{name=properties/*/subpropertySync" - + "Configs/*}\022\345\001\n\034GetReportingIdentitySetti" - + "ngs\022C.google.analytics.admin.v1alpha.Get" - + "ReportingIdentitySettingsRequest\0329.googl" - + "e.analytics.admin.v1alpha.ReportingIdent" - + "itySettings\"E\332A\004name\202\323\344\223\0028\0226/v1alpha/{na" - + "me=properties/*/reportingIdentitySetting" - + "s}\032\374\001\312A\035analyticsadmin.googleapis.com\322A\330" - + "\001https://www.googleapis.com/auth/analyti" - + "cs.edit,https://www.googleapis.com/auth/" - + "analytics.manage.users,https://www.googl" - + "eapis.com/auth/analytics.manage.users.re" - + "adonly,https://www.googleapis.com/auth/a" - + "nalytics.readonlyB{\n\"com.google.analytic" - + "s.admin.v1alphaB\023AnalyticsAdminProtoP\001Z>" - + "cloud.google.com/go/analytics/admin/apiv" - + "1alpha/adminpb;adminpbb\006proto3" + + "lpha.CreateRollupPropertySourceLinkReque" + + "st\0328.google.analytics.admin.v1alpha.Roll" + + "upPropertySourceLink\"\202\001\332A\"parent,rollup_" + + "property_source_link\202\323\344\223\002W\"8/v1alpha/{pa" + + "rent=properties/*}/rollupPropertySourceL" + + "inks:\033rollup_property_source_link\022\310\001\n\036De" + + "leteRollupPropertySourceLink\022E.google.an" + + "alytics.admin.v1alpha.DeleteRollupProper" + + "tySourceLinkRequest\032\026.google.protobuf.Em" + + "pty\"G\332A\004name\202\323\344\223\002:*8/v1alpha/{name=prope" + + "rties/*/rollupPropertySourceLinks/*}\022\306\001\n" + + "\024ProvisionSubproperty\022;.google.analytics" + + ".admin.v1alpha.ProvisionSubpropertyReque" + + "st\032<.google.analytics.admin.v1alpha.Prov" + + "isionSubpropertyResponse\"3\202\323\344\223\002-\"(/v1alp" + + "ha/properties:provisionSubproperty:\001*\022\227\002" + + "\n\034CreateSubpropertyEventFilter\022C.google." + + "analytics.admin.v1alpha.CreateSubpropert" + + "yEventFilterRequest\0326.google.analytics.a" + + "dmin.v1alpha.SubpropertyEventFilter\"z\332A\037" + + "parent,subproperty_event_filter\202\323\344\223\002R\"6/" + + "v1alpha/{parent=properties/*}/subpropert" + + "yEventFilters:\030subproperty_event_filter\022" + + "\334\001\n\031GetSubpropertyEventFilter\022@.google.a" + + "nalytics.admin.v1alpha.GetSubpropertyEve" + + "ntFilterRequest\0326.google.analytics.admin" + + ".v1alpha.SubpropertyEventFilter\"E\332A\004name" + + "\202\323\344\223\0028\0226/v1alpha/{name=properties/*/subp" + + "ropertyEventFilters/*}\022\357\001\n\033ListSubproper" + + "tyEventFilters\022B.google.analytics.admin." + + "v1alpha.ListSubpropertyEventFiltersReque" + + "st\032C.google.analytics.admin.v1alpha.List" + + "SubpropertyEventFiltersResponse\"G\332A\006pare" + + "nt\202\323\344\223\0028\0226/v1alpha/{parent=properties/*}" + + "/subpropertyEventFilters\022\266\002\n\034UpdateSubpr" + + "opertyEventFilter\022C.google.analytics.adm" + + "in.v1alpha.UpdateSubpropertyEventFilterR" + + "equest\0326.google.analytics.admin.v1alpha." + + "SubpropertyEventFilter\"\230\001\332A$subproperty_" + + "event_filter,update_mask\202\323\344\223\002k2O/v1alpha" + + "/{subproperty_event_filter.name=properti" + + "es/*/subpropertyEventFilters/*}:\030subprop" + + "erty_event_filter\022\302\001\n\034DeleteSubpropertyE" + + "ventFilter\022C.google.analytics.admin.v1al" + + "pha.DeleteSubpropertyEventFilterRequest\032" + + "\026.google.protobuf.Empty\"E\332A\004name\202\323\344\223\0028*6" + + "/v1alpha/{name=properties/*/subpropertyE" + + "ventFilters/*}\022\235\002\n\035CreateReportingDataAn" + + "notation\022D.google.analytics.admin.v1alph" + + "a.CreateReportingDataAnnotationRequest\0327" + + ".google.analytics.admin.v1alpha.Reportin" + + "gDataAnnotation\"}\332A parent,reporting_dat" + + "a_annotation\202\323\344\223\002T\"7/v1alpha/{parent=pro" + + "perties/*}/reportingDataAnnotations:\031rep" + + "orting_data_annotation\022\340\001\n\032GetReportingD" + + "ataAnnotation\022A.google.analytics.admin.v" + + "1alpha.GetReportingDataAnnotationRequest" + + "\0327.google.analytics.admin.v1alpha.Report" + + "ingDataAnnotation\"F\332A\004name\202\323\344\223\0029\0227/v1alp" + + "ha/{name=properties/*/reportingDataAnnot" + + "ations/*}\022\363\001\n\034ListReportingDataAnnotatio" + + "ns\022C.google.analytics.admin.v1alpha.List" + + "ReportingDataAnnotationsRequest\032D.google" + + ".analytics.admin.v1alpha.ListReportingDa" + + "taAnnotationsResponse\"H\332A\006parent\202\323\344\223\0029\0227" + + "/v1alpha/{parent=properties/*}/reporting" + + "DataAnnotations\022\275\002\n\035UpdateReportingDataA" + + "nnotation\022D.google.analytics.admin.v1alp" + + "ha.UpdateReportingDataAnnotationRequest\032" + + "7.google.analytics.admin.v1alpha.Reporti" + + "ngDataAnnotation\"\234\001\332A%reporting_data_ann" + + "otation,update_mask\202\323\344\223\002n2Q/v1alpha/{rep" + + "orting_data_annotation.name=properties/*" + + "/reportingDataAnnotations/*}:\031reporting_" + + "data_annotation\022\305\001\n\035DeleteReportingDataA" + + "nnotation\022D.google.analytics.admin.v1alp" + + "ha.DeleteReportingDataAnnotationRequest\032" + + "\026.google.protobuf.Empty\"F\332A\004name\202\323\344\223\0029*7" + + "/v1alpha/{name=properties/*/reportingDat" + + "aAnnotations/*}\022\316\001\n\022SubmitUserDeletion\0229" + + ".google.analytics.admin.v1alpha.SubmitUs" + + "erDeletionRequest\032:.google.analytics.adm" + + "in.v1alpha.SubmitUserDeletionResponse\"A\332" + + "A\004name\202\323\344\223\0024\"//v1alpha/{name=properties/" + + "*}:submitUserDeletion:\001*\022\353\001\n\032ListSubprop" + + "ertySyncConfigs\022A.google.analytics.admin" + + ".v1alpha.ListSubpropertySyncConfigsReque" + + "st\032B.google.analytics.admin.v1alpha.List" + + "SubpropertySyncConfigsResponse\"F\332A\006paren" + + "t\202\323\344\223\0027\0225/v1alpha/{parent=properties/*}/" + + "subpropertySyncConfigs\022\257\002\n\033UpdateSubprop" + + "ertySyncConfig\022B.google.analytics.admin." + + "v1alpha.UpdateSubpropertySyncConfigReque" + + "st\0325.google.analytics.admin.v1alpha.Subp", + "ropertySyncConfig\"\224\001\332A#subproperty_sync_" + + "config,update_mask\202\323\344\223\002h2M/v1alpha/{subp" + + "roperty_sync_config.name=properties/*/su" + + "bpropertySyncConfigs/*}:\027subproperty_syn" + + "c_config\022\330\001\n\030GetSubpropertySyncConfig\022?." + + "google.analytics.admin.v1alpha.GetSubpro" + + "pertySyncConfigRequest\0325.google.analytic" + + "s.admin.v1alpha.SubpropertySyncConfig\"D\332" + + "A\004name\202\323\344\223\0027\0225/v1alpha/{name=properties/" + + "*/subpropertySyncConfigs/*}\022\345\001\n\034GetRepor" + + "tingIdentitySettings\022C.google.analytics." + + "admin.v1alpha.GetReportingIdentitySettin" + + "gsRequest\0329.google.analytics.admin.v1alp" + + "ha.ReportingIdentitySettings\"E\332A\004name\202\323\344" + + "\223\0028\0226/v1alpha/{name=properties/*/reporti" + + "ngIdentitySettings}\022\341\001\n\033GetUserProvidedD" + + "ataSettings\022B.google.analytics.admin.v1a" + + "lpha.GetUserProvidedDataSettingsRequest\032" + + "8.google.analytics.admin.v1alpha.UserPro" + + "videdDataSettings\"D\332A\004name\202\323\344\223\0027\0225/v1alp" + + "ha/{name=properties/*/userProvidedDataSe" + + "ttings}\032\374\001\312A\035analyticsadmin.googleapis.c" + + "om\322A\330\001https://www.googleapis.com/auth/an" + + "alytics.edit,https://www.googleapis.com/" + + "auth/analytics.manage.users,https://www." + + "googleapis.com/auth/analytics.manage.use" + + "rs.readonly,https://www.googleapis.com/a" + + "uth/analytics.readonlyB{\n\"com.google.ana" + + "lytics.admin.v1alphaB\023AnalyticsAdminProt" + + "oP\001Z>cloud.google.com/go/analytics/admin" + + "/apiv1alpha/adminpb;adminpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -4093,6 +4083,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_GetUserProvidedDataSettingsRequest_descriptor = + getDescriptor().getMessageType(193); + internal_static_google_analytics_admin_v1alpha_GetUserProvidedDataSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetUserProvidedDataSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); descriptor.resolveAllFeaturesImmutable(); com.google.analytics.admin.v1alpha.AccessReportProto.getDescriptor(); com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CalculatedMetric.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CalculatedMetric.java index ad77053b5435..aadc9cfda222 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CalculatedMetric.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CalculatedMetric.java @@ -615,11 +615,11 @@ private RestrictedMetricType(int value) { * * *
-   * Output only. Resource name for this CalculatedMetric.
+   * Identifier. Resource name for this CalculatedMetric.
    * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}'
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -640,11 +640,11 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name for this CalculatedMetric.
+   * Identifier. Resource name for this CalculatedMetric.
    * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}'
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1602,11 +1602,11 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name for this CalculatedMetric.
+     * Identifier. Resource name for this CalculatedMetric.
      * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}'
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1626,11 +1626,11 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name for this CalculatedMetric.
+     * Identifier. Resource name for this CalculatedMetric.
      * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}'
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1650,11 +1650,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name for this CalculatedMetric.
+     * Identifier. Resource name for this CalculatedMetric.
      * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}'
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1673,11 +1673,11 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name for this CalculatedMetric.
+     * Identifier. Resource name for this CalculatedMetric.
      * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}'
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1692,11 +1692,11 @@ public Builder clearName() { * * *
-     * Output only. Resource name for this CalculatedMetric.
+     * Identifier. Resource name for this CalculatedMetric.
      * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}'
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CalculatedMetricOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CalculatedMetricOrBuilder.java index 74c8a6a6339b..94b438f72e50 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CalculatedMetricOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CalculatedMetricOrBuilder.java @@ -30,11 +30,11 @@ public interface CalculatedMetricOrBuilder * * *
-   * Output only. Resource name for this CalculatedMetric.
+   * Identifier. Resource name for this CalculatedMetric.
    * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}'
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -44,11 +44,11 @@ public interface CalculatedMetricOrBuilder * * *
-   * Output only. Resource name for this CalculatedMetric.
+   * Identifier. Resource name for this CalculatedMetric.
    * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}'
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java index 6ed65f4d0ba1..24547e5b0062 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java @@ -1224,6 +1224,50 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.ReportingIdentitySettingsOrBuilder getReportingIdentitySettingsOrBuilder(); + /** + * + * + *
+     * A snapshot of a UserProvidedDataSettings resource in change history.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + * + * @return Whether the userProvidedDataSettings field is set. + */ + boolean hasUserProvidedDataSettings(); + + /** + * + * + *
+     * A snapshot of a UserProvidedDataSettings resource in change history.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + * + * @return The userProvidedDataSettings. + */ + com.google.analytics.admin.v1alpha.UserProvidedDataSettings getUserProvidedDataSettings(); + + /** + * + * + *
+     * A snapshot of a UserProvidedDataSettings resource in change history.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + */ + com.google.analytics.admin.v1alpha.UserProvidedDataSettingsOrBuilder + getUserProvidedDataSettingsOrBuilder(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.ResourceCase getResourceCase(); } @@ -1315,6 +1359,7 @@ public enum ResourceCase REPORTING_DATA_ANNOTATION(32), SUBPROPERTY_SYNC_CONFIG(33), REPORTING_IDENTITY_SETTINGS(34), + USER_PROVIDED_DATA_SETTINGS(35), RESOURCE_NOT_SET(0); private final int value; @@ -1392,6 +1437,8 @@ public static ResourceCase forNumber(int value) { return SUBPROPERTY_SYNC_CONFIG; case 34: return REPORTING_IDENTITY_SETTINGS; + case 35: + return USER_PROVIDED_DATA_SETTINGS; case 0: return RESOURCE_NOT_SET; default: @@ -3062,6 +3109,68 @@ public boolean hasReportingIdentitySettings() { return com.google.analytics.admin.v1alpha.ReportingIdentitySettings.getDefaultInstance(); } + public static final int USER_PROVIDED_DATA_SETTINGS_FIELD_NUMBER = 35; + + /** + * + * + *
+     * A snapshot of a UserProvidedDataSettings resource in change history.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + * + * @return Whether the userProvidedDataSettings field is set. + */ + @java.lang.Override + public boolean hasUserProvidedDataSettings() { + return resourceCase_ == 35; + } + + /** + * + * + *
+     * A snapshot of a UserProvidedDataSettings resource in change history.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + * + * @return The userProvidedDataSettings. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.UserProvidedDataSettings + getUserProvidedDataSettings() { + if (resourceCase_ == 35) { + return (com.google.analytics.admin.v1alpha.UserProvidedDataSettings) resource_; + } + return com.google.analytics.admin.v1alpha.UserProvidedDataSettings.getDefaultInstance(); + } + + /** + * + * + *
+     * A snapshot of a UserProvidedDataSettings resource in change history.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.UserProvidedDataSettingsOrBuilder + getUserProvidedDataSettingsOrBuilder() { + if (resourceCase_ == 35) { + return (com.google.analytics.admin.v1alpha.UserProvidedDataSettings) resource_; + } + return com.google.analytics.admin.v1alpha.UserProvidedDataSettings.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3175,6 +3284,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage( 34, (com.google.analytics.admin.v1alpha.ReportingIdentitySettings) resource_); } + if (resourceCase_ == 35) { + output.writeMessage( + 35, (com.google.analytics.admin.v1alpha.UserProvidedDataSettings) resource_); + } getUnknownFields().writeTo(output); } @@ -3332,6 +3445,11 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 34, (com.google.analytics.admin.v1alpha.ReportingIdentitySettings) resource_); } + if (resourceCase_ == 35) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 35, (com.google.analytics.admin.v1alpha.UserProvidedDataSettings) resource_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -3446,6 +3564,10 @@ public boolean equals(final java.lang.Object obj) { if (!getReportingIdentitySettings().equals(other.getReportingIdentitySettings())) return false; break; + case 35: + if (!getUserProvidedDataSettings().equals(other.getUserProvidedDataSettings())) + return false; + break; case 0: default: } @@ -3577,6 +3699,10 @@ public int hashCode() { hash = (37 * hash) + REPORTING_IDENTITY_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getReportingIdentitySettings().hashCode(); break; + case 35: + hash = (37 * hash) + USER_PROVIDED_DATA_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getUserProvidedDataSettings().hashCode(); + break; case 0: default: } @@ -3818,6 +3944,9 @@ public Builder clear() { if (reportingIdentitySettingsBuilder_ != null) { reportingIdentitySettingsBuilder_.clear(); } + if (userProvidedDataSettingsBuilder_ != null) { + userProvidedDataSettingsBuilder_.clear(); + } resourceCase_ = 0; resource_ = null; return this; @@ -3955,6 +4084,9 @@ private void buildPartialOneofs( if (resourceCase_ == 34 && reportingIdentitySettingsBuilder_ != null) { result.resource_ = reportingIdentitySettingsBuilder_.build(); } + if (resourceCase_ == 35 && userProvidedDataSettingsBuilder_ != null) { + result.resource_ = userProvidedDataSettingsBuilder_.build(); + } } @java.lang.Override @@ -4122,6 +4254,11 @@ public Builder mergeFrom( mergeReportingIdentitySettings(other.getReportingIdentitySettings()); break; } + case USER_PROVIDED_DATA_SETTINGS: + { + mergeUserProvidedDataSettings(other.getUserProvidedDataSettings()); + break; + } case RESOURCE_NOT_SET: { break; @@ -4367,6 +4504,14 @@ public Builder mergeFrom( resourceCase_ = 34; break; } // case 274 + case 282: + { + input.readMessage( + internalGetUserProvidedDataSettingsFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 35; + break; + } // case 282 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -11056,6 +11201,250 @@ public Builder clearReportingIdentitySettings() { return reportingIdentitySettingsBuilder_; } + private com.google.protobuf.SingleFieldBuilder< + com.google.analytics.admin.v1alpha.UserProvidedDataSettings, + com.google.analytics.admin.v1alpha.UserProvidedDataSettings.Builder, + com.google.analytics.admin.v1alpha.UserProvidedDataSettingsOrBuilder> + userProvidedDataSettingsBuilder_; + + /** + * + * + *
+       * A snapshot of a UserProvidedDataSettings resource in change history.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + * + * @return Whether the userProvidedDataSettings field is set. + */ + @java.lang.Override + public boolean hasUserProvidedDataSettings() { + return resourceCase_ == 35; + } + + /** + * + * + *
+       * A snapshot of a UserProvidedDataSettings resource in change history.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + * + * @return The userProvidedDataSettings. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.UserProvidedDataSettings + getUserProvidedDataSettings() { + if (userProvidedDataSettingsBuilder_ == null) { + if (resourceCase_ == 35) { + return (com.google.analytics.admin.v1alpha.UserProvidedDataSettings) resource_; + } + return com.google.analytics.admin.v1alpha.UserProvidedDataSettings.getDefaultInstance(); + } else { + if (resourceCase_ == 35) { + return userProvidedDataSettingsBuilder_.getMessage(); + } + return com.google.analytics.admin.v1alpha.UserProvidedDataSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+       * A snapshot of a UserProvidedDataSettings resource in change history.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + */ + public Builder setUserProvidedDataSettings( + com.google.analytics.admin.v1alpha.UserProvidedDataSettings value) { + if (userProvidedDataSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resource_ = value; + onChanged(); + } else { + userProvidedDataSettingsBuilder_.setMessage(value); + } + resourceCase_ = 35; + return this; + } + + /** + * + * + *
+       * A snapshot of a UserProvidedDataSettings resource in change history.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + */ + public Builder setUserProvidedDataSettings( + com.google.analytics.admin.v1alpha.UserProvidedDataSettings.Builder builderForValue) { + if (userProvidedDataSettingsBuilder_ == null) { + resource_ = builderForValue.build(); + onChanged(); + } else { + userProvidedDataSettingsBuilder_.setMessage(builderForValue.build()); + } + resourceCase_ = 35; + return this; + } + + /** + * + * + *
+       * A snapshot of a UserProvidedDataSettings resource in change history.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + */ + public Builder mergeUserProvidedDataSettings( + com.google.analytics.admin.v1alpha.UserProvidedDataSettings value) { + if (userProvidedDataSettingsBuilder_ == null) { + if (resourceCase_ == 35 + && resource_ + != com.google.analytics.admin.v1alpha.UserProvidedDataSettings + .getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.UserProvidedDataSettings.newBuilder( + (com.google.analytics.admin.v1alpha.UserProvidedDataSettings) resource_) + .mergeFrom(value) + .buildPartial(); + } else { + resource_ = value; + } + onChanged(); + } else { + if (resourceCase_ == 35) { + userProvidedDataSettingsBuilder_.mergeFrom(value); + } else { + userProvidedDataSettingsBuilder_.setMessage(value); + } + } + resourceCase_ = 35; + return this; + } + + /** + * + * + *
+       * A snapshot of a UserProvidedDataSettings resource in change history.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + */ + public Builder clearUserProvidedDataSettings() { + if (userProvidedDataSettingsBuilder_ == null) { + if (resourceCase_ == 35) { + resourceCase_ = 0; + resource_ = null; + onChanged(); + } + } else { + if (resourceCase_ == 35) { + resourceCase_ = 0; + resource_ = null; + } + userProvidedDataSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * A snapshot of a UserProvidedDataSettings resource in change history.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + */ + public com.google.analytics.admin.v1alpha.UserProvidedDataSettings.Builder + getUserProvidedDataSettingsBuilder() { + return internalGetUserProvidedDataSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * A snapshot of a UserProvidedDataSettings resource in change history.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.UserProvidedDataSettingsOrBuilder + getUserProvidedDataSettingsOrBuilder() { + if ((resourceCase_ == 35) && (userProvidedDataSettingsBuilder_ != null)) { + return userProvidedDataSettingsBuilder_.getMessageOrBuilder(); + } else { + if (resourceCase_ == 35) { + return (com.google.analytics.admin.v1alpha.UserProvidedDataSettings) resource_; + } + return com.google.analytics.admin.v1alpha.UserProvidedDataSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+       * A snapshot of a UserProvidedDataSettings resource in change history.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.analytics.admin.v1alpha.UserProvidedDataSettings, + com.google.analytics.admin.v1alpha.UserProvidedDataSettings.Builder, + com.google.analytics.admin.v1alpha.UserProvidedDataSettingsOrBuilder> + internalGetUserProvidedDataSettingsFieldBuilder() { + if (userProvidedDataSettingsBuilder_ == null) { + if (!(resourceCase_ == 35)) { + resource_ = + com.google.analytics.admin.v1alpha.UserProvidedDataSettings.getDefaultInstance(); + } + userProvidedDataSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.analytics.admin.v1alpha.UserProvidedDataSettings, + com.google.analytics.admin.v1alpha.UserProvidedDataSettings.Builder, + com.google.analytics.admin.v1alpha.UserProvidedDataSettingsOrBuilder>( + (com.google.analytics.admin.v1alpha.UserProvidedDataSettings) resource_, + getParentForChildren(), + isClean()); + resource_ = null; + } + resourceCase_ = 35; + onChanged(); + return userProvidedDataSettingsBuilder_; + } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java index 9a16be4b6dd1..172dfbd8a34c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java @@ -331,6 +331,16 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes * REPORTING_IDENTITY_SETTINGS = 34; */ REPORTING_IDENTITY_SETTINGS(34), + /** + * + * + *
+   * UserProvidedDataSettings resource
+   * 
+ * + * USER_PROVIDED_DATA_SETTINGS = 35; + */ + USER_PROVIDED_DATA_SETTINGS(35), UNRECOGNIZED(-1), ; @@ -674,6 +684,17 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int REPORTING_IDENTITY_SETTINGS_VALUE = 34; + /** + * + * + *
+   * UserProvidedDataSettings resource
+   * 
+ * + * USER_PROVIDED_DATA_SETTINGS = 35; + */ + public static final int USER_PROVIDED_DATA_SETTINGS_VALUE = 35; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -758,6 +779,8 @@ public static ChangeHistoryResourceType forNumber(int value) { return SUBPROPERTY_SYNC_CONFIG; case 34: return REPORTING_IDENTITY_SETTINGS; + case 35: + return USER_PROVIDED_DATA_SETTINGS; default: return null; } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java index 1f673258a0e6..13888a94abf3 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java @@ -1154,11 +1154,11 @@ public com.google.protobuf.Parser getParserForType() { * * *
-   * Output only. Resource name of this conversion event.
+   * Identifier. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1179,11 +1179,11 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name of this conversion event.
+   * Identifier. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1959,11 +1959,11 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name of this conversion event.
+     * Identifier. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1983,11 +1983,11 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name of this conversion event.
+     * Identifier. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -2007,11 +2007,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name of this conversion event.
+     * Identifier. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -2030,11 +2030,11 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name of this conversion event.
+     * Identifier. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -2049,11 +2049,11 @@ public Builder clearName() { * * *
-     * Output only. Resource name of this conversion event.
+     * Identifier. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java index 9575c5e330e5..0a983ee5f9fb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java @@ -30,11 +30,11 @@ public interface ConversionEventOrBuilder * * *
-   * Output only. Resource name of this conversion event.
+   * Identifier. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -44,11 +44,11 @@ public interface ConversionEventOrBuilder * * *
-   * Output only. Resource name of this conversion event.
+   * Identifier. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java index 77e66f2c06a4..0b27443dd5c1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java @@ -277,11 +277,11 @@ private DimensionScope(int value) { * * *
-   * Output only. Resource name for this CustomDimension resource.
+   * Identifier. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -302,11 +302,11 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name for this CustomDimension resource.
+   * Identifier. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1021,11 +1021,11 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name for this CustomDimension resource.
+     * Identifier. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1045,11 +1045,11 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name for this CustomDimension resource.
+     * Identifier. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1069,11 +1069,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name for this CustomDimension resource.
+     * Identifier. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1092,11 +1092,11 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name for this CustomDimension resource.
+     * Identifier. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1111,11 +1111,11 @@ public Builder clearName() { * * *
-     * Output only. Resource name for this CustomDimension resource.
+     * Identifier. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java index 1337e3301930..2abac1e0bb99 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java @@ -30,11 +30,11 @@ public interface CustomDimensionOrBuilder * * *
-   * Output only. Resource name for this CustomDimension resource.
+   * Identifier. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -44,11 +44,11 @@ public interface CustomDimensionOrBuilder * * *
-   * Output only. Resource name for this CustomDimension resource.
+   * Identifier. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java index 6a5a651ad973..a749e2b71af6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java @@ -762,11 +762,11 @@ private RestrictedMetricType(int value) { * * *
-   * Output only. Resource name for this CustomMetric resource.
+   * Identifier. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -787,11 +787,11 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name for this CustomMetric resource.
+   * Identifier. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1712,11 +1712,11 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name for this CustomMetric resource.
+     * Identifier. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1736,11 +1736,11 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name for this CustomMetric resource.
+     * Identifier. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1760,11 +1760,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name for this CustomMetric resource.
+     * Identifier. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1783,11 +1783,11 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name for this CustomMetric resource.
+     * Identifier. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1802,11 +1802,11 @@ public Builder clearName() { * * *
-     * Output only. Resource name for this CustomMetric resource.
+     * Identifier. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java index 7c98547cc35c..3e956263a45e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java @@ -30,11 +30,11 @@ public interface CustomMetricOrBuilder * * *
-   * Output only. Resource name for this CustomMetric resource.
+   * Identifier. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -44,11 +44,11 @@ public interface CustomMetricOrBuilder * * *
-   * Output only. Resource name for this CustomMetric resource.
+   * Identifier. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java index 068a41e44bb4..16667f06ec7b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java @@ -330,11 +330,11 @@ private RetentionDuration(int value) { * * *
-   * Output only. Resource name for this DataRetentionSetting resource.
+   * Identifier. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -355,11 +355,11 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name for this DataRetentionSetting resource.
+   * Identifier. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -881,11 +881,11 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name for this DataRetentionSetting resource.
+     * Identifier. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -905,11 +905,11 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name for this DataRetentionSetting resource.
+     * Identifier. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -929,11 +929,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name for this DataRetentionSetting resource.
+     * Identifier. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -952,11 +952,11 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name for this DataRetentionSetting resource.
+     * Identifier. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -971,11 +971,11 @@ public Builder clearName() { * * *
-     * Output only. Resource name for this DataRetentionSetting resource.
+     * Identifier. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java index e279c4ef640a..5acbb17f4226 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java @@ -30,11 +30,11 @@ public interface DataRetentionSettingsOrBuilder * * *
-   * Output only. Resource name for this DataRetentionSetting resource.
+   * Identifier. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -44,11 +44,11 @@ public interface DataRetentionSettingsOrBuilder * * *
-   * Output only. Resource name for this DataRetentionSetting resource.
+   * Identifier. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java index ef70ef5b05ed..2c5b9ccafb76 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java @@ -80,12 +80,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. Resource name.
+   * Identifier. Resource name.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -106,12 +106,12 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name.
+   * Identifier. Resource name.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -193,7 +193,7 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { * * @deprecated * google.analytics.admin.v1alpha.DataSharingSettings.sharing_with_google_any_sales_enabled is - * deprecated. See google/analytics/admin/v1alpha/resources.proto;l=707 + * deprecated. See google/analytics/admin/v1alpha/resources.proto;l=724 * @return The sharingWithGoogleAnySalesEnabled. */ @java.lang.Override @@ -698,12 +698,12 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name.
+     * Identifier. Resource name.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -723,12 +723,12 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name.
+     * Identifier. Resource name.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -748,12 +748,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name.
+     * Identifier. Resource name.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -772,12 +772,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name.
+     * Identifier. Resource name.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -792,12 +792,12 @@ public Builder clearName() { * * *
-     * Output only. Resource name.
+     * Identifier. Resource name.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -977,7 +977,7 @@ public Builder clearSharingWithGoogleAssignedSalesEnabled() { * * @deprecated * google.analytics.admin.v1alpha.DataSharingSettings.sharing_with_google_any_sales_enabled - * is deprecated. See google/analytics/admin/v1alpha/resources.proto;l=707 + * is deprecated. See google/analytics/admin/v1alpha/resources.proto;l=724 * @return The sharingWithGoogleAnySalesEnabled. */ @java.lang.Override @@ -997,7 +997,7 @@ public boolean getSharingWithGoogleAnySalesEnabled() { * * @deprecated * google.analytics.admin.v1alpha.DataSharingSettings.sharing_with_google_any_sales_enabled - * is deprecated. See google/analytics/admin/v1alpha/resources.proto;l=707 + * is deprecated. See google/analytics/admin/v1alpha/resources.proto;l=724 * @param value The sharingWithGoogleAnySalesEnabled to set. * @return This builder for chaining. */ @@ -1021,7 +1021,7 @@ public Builder setSharingWithGoogleAnySalesEnabled(boolean value) { * * @deprecated * google.analytics.admin.v1alpha.DataSharingSettings.sharing_with_google_any_sales_enabled - * is deprecated. See google/analytics/admin/v1alpha/resources.proto;l=707 + * is deprecated. See google/analytics/admin/v1alpha/resources.proto;l=724 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java index 8858717e54dc..54a1a46e0309 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java @@ -30,12 +30,12 @@ public interface DataSharingSettingsOrBuilder * * *
-   * Output only. Resource name.
+   * Identifier. Resource name.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -45,12 +45,12 @@ public interface DataSharingSettingsOrBuilder * * *
-   * Output only. Resource name.
+   * Identifier. Resource name.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -106,7 +106,7 @@ public interface DataSharingSettingsOrBuilder * * @deprecated * google.analytics.admin.v1alpha.DataSharingSettings.sharing_with_google_any_sales_enabled is - * deprecated. See google/analytics/admin/v1alpha/resources.proto;l=707 + * deprecated. See google/analytics/admin/v1alpha/resources.proto;l=724 * @return The sharingWithGoogleAnySalesEnabled. */ @java.lang.Deprecated diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java index 324023042a48..ae0976b77f78 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java @@ -3307,12 +3307,12 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getIosAppS * * *
-   * Output only. Resource name of this Data Stream.
+   * Identifier. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
    * Example: "properties/1000/dataStreams/2000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -3333,12 +3333,12 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name of this Data Stream.
+   * Identifier. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
    * Example: "properties/1000/dataStreams/2000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -4881,12 +4881,12 @@ public Builder clearIosAppStreamData() { * * *
-     * Output only. Resource name of this Data Stream.
+     * Identifier. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
      * Example: "properties/1000/dataStreams/2000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -4906,12 +4906,12 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name of this Data Stream.
+     * Identifier. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
      * Example: "properties/1000/dataStreams/2000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -4931,12 +4931,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name of this Data Stream.
+     * Identifier. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
      * Example: "properties/1000/dataStreams/2000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -4955,12 +4955,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name of this Data Stream.
+     * Identifier. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
      * Example: "properties/1000/dataStreams/2000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -4975,12 +4975,12 @@ public Builder clearName() { * * *
-     * Output only. Resource name of this Data Stream.
+     * Identifier. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
      * Example: "properties/1000/dataStreams/2000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java index 405cbf2873e8..4c8af3e40600 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java @@ -161,12 +161,12 @@ public interface DataStreamOrBuilder * * *
-   * Output only. Resource name of this Data Stream.
+   * Identifier. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
    * Example: "properties/1000/dataStreams/2000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -176,12 +176,12 @@ public interface DataStreamOrBuilder * * *
-   * Output only. Resource name of this Data Stream.
+   * Identifier. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
    * Example: "properties/1000/dataStreams/2000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java index be9514468c9c..e35d4f858256 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java @@ -83,14 +83,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLink
+   * Identifier. The resource name for this DisplayVideo360AdvertiserLink
    * resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
    *
    * Note: linkId is not the Display & Video 360 Advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -111,14 +111,14 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLink
+   * Identifier. The resource name for this DisplayVideo360AdvertiserLink
    * resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
    *
    * Note: linkId is not the Display & Video 360 Advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -937,14 +937,14 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLink
+     * Identifier. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      *
      * Note: linkId is not the Display & Video 360 Advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -964,14 +964,14 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLink
+     * Identifier. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      *
      * Note: linkId is not the Display & Video 360 Advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -991,14 +991,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLink
+     * Identifier. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      *
      * Note: linkId is not the Display & Video 360 Advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1017,14 +1017,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLink
+     * Identifier. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      *
      * Note: linkId is not the Display & Video 360 Advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1039,14 +1039,14 @@ public Builder clearName() { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLink
+     * Identifier. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      *
      * Note: linkId is not the Display & Video 360 Advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java index 94f0bda0af0d..3cb060160990 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java @@ -30,14 +30,14 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLink
+   * Identifier. The resource name for this DisplayVideo360AdvertiserLink
    * resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
    *
    * Note: linkId is not the Display & Video 360 Advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -47,14 +47,14 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLink
+   * Identifier. The resource name for this DisplayVideo360AdvertiserLink
    * resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
    *
    * Note: linkId is not the Display & Video 360 Advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java index beeda1de1baa..74f151e99256 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java @@ -90,14 +90,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. The resource name for this
+   * Identifier. The resource name for this
    * DisplayVideo360AdvertiserLinkProposal resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
    *
    * Note: proposalId is not the Display & Video 360 Advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -118,14 +118,14 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name for this
+   * Identifier. The resource name for this
    * DisplayVideo360AdvertiserLinkProposal resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
    *
    * Note: proposalId is not the Display & Video 360 Advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1141,14 +1141,14 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name for this
+     * Identifier. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
      *
      * Note: proposalId is not the Display & Video 360 Advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1168,14 +1168,14 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name for this
+     * Identifier. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
      *
      * Note: proposalId is not the Display & Video 360 Advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1195,14 +1195,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name for this
+     * Identifier. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
      *
      * Note: proposalId is not the Display & Video 360 Advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1221,14 +1221,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name for this
+     * Identifier. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
      *
      * Note: proposalId is not the Display & Video 360 Advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1243,14 +1243,14 @@ public Builder clearName() { * * *
-     * Output only. The resource name for this
+     * Identifier. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
      *
      * Note: proposalId is not the Display & Video 360 Advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java index 79a10b46a4b0..ea01e3732d76 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java @@ -30,14 +30,14 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder * * *
-   * Output only. The resource name for this
+   * Identifier. The resource name for this
    * DisplayVideo360AdvertiserLinkProposal resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
    *
    * Note: proposalId is not the Display & Video 360 Advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -47,14 +47,14 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder * * *
-   * Output only. The resource name for this
+   * Identifier. The resource name for this
    * DisplayVideo360AdvertiserLinkProposal resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
    *
    * Note: proposalId is not the Display & Video 360 Advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java index d58948b2782c..2321bc3a6bf6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java @@ -81,10 +81,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. Example format: properties/1234/firebaseLinks/5678
+   * Identifier. Example format: properties/1234/firebaseLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -105,10 +105,10 @@ public java.lang.String getName() { * * *
-   * Output only. Example format: properties/1234/firebaseLinks/5678
+   * Identifier. Example format: properties/1234/firebaseLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -626,10 +626,10 @@ public Builder mergeFrom( * * *
-     * Output only. Example format: properties/1234/firebaseLinks/5678
+     * Identifier. Example format: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -649,10 +649,10 @@ public java.lang.String getName() { * * *
-     * Output only. Example format: properties/1234/firebaseLinks/5678
+     * Identifier. Example format: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -672,10 +672,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Example format: properties/1234/firebaseLinks/5678
+     * Identifier. Example format: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -694,10 +694,10 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Example format: properties/1234/firebaseLinks/5678
+     * Identifier. Example format: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -712,10 +712,10 @@ public Builder clearName() { * * *
-     * Output only. Example format: properties/1234/firebaseLinks/5678
+     * Identifier. Example format: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java index a8259ba0a54f..67e36aa653e8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java @@ -30,10 +30,10 @@ public interface FirebaseLinkOrBuilder * * *
-   * Output only. Example format: properties/1234/firebaseLinks/5678
+   * Identifier. Example format: properties/1234/firebaseLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -43,10 +43,10 @@ public interface FirebaseLinkOrBuilder * * *
-   * Output only. Example format: properties/1234/firebaseLinks/5678
+   * Identifier. Example format: properties/1234/firebaseLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserProvidedDataSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserProvidedDataSettingsRequest.java new file mode 100644 index 000000000000..2dbff56557c9 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserProvidedDataSettingsRequest.java @@ -0,0 +1,630 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/analytics/admin/v1alpha/analytics_admin.proto +// Protobuf Java Version: 4.33.2 + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * Request message for GetUserProvidedDataSettings RPC
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest} + */ +@com.google.protobuf.Generated +public final class GetUserProvidedDataSettingsRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest) + GetUserProvidedDataSettingsRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "GetUserProvidedDataSettingsRequest"); + } + + // Use GetUserProvidedDataSettingsRequest.newBuilder() to construct. + private GetUserProvidedDataSettingsRequest( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GetUserProvidedDataSettingsRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserProvidedDataSettingsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserProvidedDataSettingsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Required. The name of the user provided data settings to retrieve.
+   * Format: properties/{property}/userProvidedDataSettings
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The name of the user provided data settings to retrieve.
+   * Format: properties/{property}/userProvidedDataSettings
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest other = + (com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest 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.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Request message for GetUserProvidedDataSettings RPC
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest) + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserProvidedDataSettingsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserProvidedDataSettingsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest.Builder.class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserProvidedDataSettingsRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest build() { + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest buildPartial() { + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest result = + new com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest + .getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * Required. The name of the user provided data settings to retrieve.
+     * Format: properties/{property}/userProvidedDataSettings
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The name of the user provided data settings to retrieve.
+     * Format: properties/{property}/userProvidedDataSettings
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The name of the user provided data settings to retrieve.
+     * Format: properties/{property}/userProvidedDataSettings
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The name of the user provided data settings to retrieve.
+     * Format: properties/{property}/userProvidedDataSettings
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The name of the user provided data settings to retrieve.
+     * Format: properties/{property}/userProvidedDataSettings
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest) + private static final com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest(); + } + + public static com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUserProvidedDataSettingsRequest 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.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserProvidedDataSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserProvidedDataSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..db2c62b73b6a --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserProvidedDataSettingsRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/analytics/admin/v1alpha/analytics_admin.proto +// Protobuf Java Version: 4.33.2 + +package com.google.analytics.admin.v1alpha; + +@com.google.protobuf.Generated +public interface GetUserProvidedDataSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the user provided data settings to retrieve.
+   * Format: properties/{property}/userProvidedDataSettings
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Required. The name of the user provided data settings to retrieve.
+   * Format: properties/{property}/userProvidedDataSettings
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java index d896ec6a3099..79a997aa1ae0 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java @@ -81,12 +81,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. Resource name for this GlobalSiteTag resource.
+   * Identifier. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -107,12 +107,12 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name for this GlobalSiteTag resource.
+   * Identifier. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -525,12 +525,12 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name for this GlobalSiteTag resource.
+     * Identifier. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -550,12 +550,12 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name for this GlobalSiteTag resource.
+     * Identifier. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -575,12 +575,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name for this GlobalSiteTag resource.
+     * Identifier. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -599,12 +599,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name for this GlobalSiteTag resource.
+     * Identifier. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -619,12 +619,12 @@ public Builder clearName() { * * *
-     * Output only. Resource name for this GlobalSiteTag resource.
+     * Identifier. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java index f41680b667ec..71d582d6f38b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java @@ -30,12 +30,12 @@ public interface GlobalSiteTagOrBuilder * * *
-   * Output only. Resource name for this GlobalSiteTag resource.
+   * Identifier. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -45,12 +45,12 @@ public interface GlobalSiteTagOrBuilder * * *
-   * Output only. Resource name for this GlobalSiteTag resource.
+   * Identifier. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java index 04a623e5a4dc..ed0e88c71f53 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java @@ -82,13 +82,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. Format:
+   * Identifier. Format:
    * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    *
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -109,13 +109,13 @@ public java.lang.String getName() { * * *
-   * Output only. Format:
+   * Identifier. Format:
    * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    *
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -930,13 +930,13 @@ public Builder mergeFrom( * * *
-     * Output only. Format:
+     * Identifier. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      *
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -956,13 +956,13 @@ public java.lang.String getName() { * * *
-     * Output only. Format:
+     * Identifier. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      *
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -982,13 +982,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Format:
+     * Identifier. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      *
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1007,13 +1007,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Format:
+     * Identifier. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      *
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1028,13 +1028,13 @@ public Builder clearName() { * * *
-     * Output only. Format:
+     * Identifier. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      *
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java index 47fae2ce0c3d..242521f3e7d8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java @@ -30,13 +30,13 @@ public interface GoogleAdsLinkOrBuilder * * *
-   * Output only. Format:
+   * Identifier. Format:
    * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    *
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -46,13 +46,13 @@ public interface GoogleAdsLinkOrBuilder * * *
-   * Output only. Format:
+   * Identifier. Format:
    * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    *
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java index 7091dc8b91f8..acc46060be03 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java @@ -77,13 +77,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The maximum number of AccountSummary resources to return. The service may
-   * return fewer than this value, even if there are additional pages.
-   * If unspecified, at most 50 resources will be returned.
-   * The maximum value is 200; (higher values will be coerced to the maximum)
+   * Optional. The maximum number of AccountSummary resources to return. The
+   * service may return fewer than this value, even if there are additional
+   * pages. If unspecified, at most 50 resources will be returned. The maximum
+   * value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 1; + * int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -101,13 +101,13 @@ public int getPageSize() { * * *
-   * A page token, received from a previous `ListAccountSummaries` call.
-   * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListAccountSummaries`
-   * must match the call that provided the page token.
+   * Optional. A page token, received from a previous `ListAccountSummaries`
+   * call. Provide this to retrieve the subsequent page. When paginating, all
+   * other parameters provided to `ListAccountSummaries` must match the call
+   * that provided the page token.
    * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -128,13 +128,13 @@ public java.lang.String getPageToken() { * * *
-   * A page token, received from a previous `ListAccountSummaries` call.
-   * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListAccountSummaries`
-   * must match the call that provided the page token.
+   * Optional. A page token, received from a previous `ListAccountSummaries`
+   * call. Provide this to retrieve the subsequent page. When paginating, all
+   * other parameters provided to `ListAccountSummaries` must match the call
+   * that provided the page token.
    * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -493,13 +493,13 @@ public Builder mergeFrom( * * *
-     * The maximum number of AccountSummary resources to return. The service may
-     * return fewer than this value, even if there are additional pages.
-     * If unspecified, at most 50 resources will be returned.
-     * The maximum value is 200; (higher values will be coerced to the maximum)
+     * Optional. The maximum number of AccountSummary resources to return. The
+     * service may return fewer than this value, even if there are additional
+     * pages. If unspecified, at most 50 resources will be returned. The maximum
+     * value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 1; + * int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -512,13 +512,13 @@ public int getPageSize() { * * *
-     * The maximum number of AccountSummary resources to return. The service may
-     * return fewer than this value, even if there are additional pages.
-     * If unspecified, at most 50 resources will be returned.
-     * The maximum value is 200; (higher values will be coerced to the maximum)
+     * Optional. The maximum number of AccountSummary resources to return. The
+     * service may return fewer than this value, even if there are additional
+     * pages. If unspecified, at most 50 resources will be returned. The maximum
+     * value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 1; + * int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageSize to set. * @return This builder for chaining. @@ -535,13 +535,13 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of AccountSummary resources to return. The service may
-     * return fewer than this value, even if there are additional pages.
-     * If unspecified, at most 50 resources will be returned.
-     * The maximum value is 200; (higher values will be coerced to the maximum)
+     * Optional. The maximum number of AccountSummary resources to return. The
+     * service may return fewer than this value, even if there are additional
+     * pages. If unspecified, at most 50 resources will be returned. The maximum
+     * value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 1; + * int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -558,13 +558,13 @@ public Builder clearPageSize() { * * *
-     * A page token, received from a previous `ListAccountSummaries` call.
-     * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListAccountSummaries`
-     * must match the call that provided the page token.
+     * Optional. A page token, received from a previous `ListAccountSummaries`
+     * call. Provide this to retrieve the subsequent page. When paginating, all
+     * other parameters provided to `ListAccountSummaries` must match the call
+     * that provided the page token.
      * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -584,13 +584,13 @@ public java.lang.String getPageToken() { * * *
-     * A page token, received from a previous `ListAccountSummaries` call.
-     * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListAccountSummaries`
-     * must match the call that provided the page token.
+     * Optional. A page token, received from a previous `ListAccountSummaries`
+     * call. Provide this to retrieve the subsequent page. When paginating, all
+     * other parameters provided to `ListAccountSummaries` must match the call
+     * that provided the page token.
      * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -610,13 +610,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * A page token, received from a previous `ListAccountSummaries` call.
-     * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListAccountSummaries`
-     * must match the call that provided the page token.
+     * Optional. A page token, received from a previous `ListAccountSummaries`
+     * call. Provide this to retrieve the subsequent page. When paginating, all
+     * other parameters provided to `ListAccountSummaries` must match the call
+     * that provided the page token.
      * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageToken to set. * @return This builder for chaining. @@ -635,13 +635,13 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * A page token, received from a previous `ListAccountSummaries` call.
-     * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListAccountSummaries`
-     * must match the call that provided the page token.
+     * Optional. A page token, received from a previous `ListAccountSummaries`
+     * call. Provide this to retrieve the subsequent page. When paginating, all
+     * other parameters provided to `ListAccountSummaries` must match the call
+     * that provided the page token.
      * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -656,13 +656,13 @@ public Builder clearPageToken() { * * *
-     * A page token, received from a previous `ListAccountSummaries` call.
-     * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListAccountSummaries`
-     * must match the call that provided the page token.
+     * Optional. A page token, received from a previous `ListAccountSummaries`
+     * call. Provide this to retrieve the subsequent page. When paginating, all
+     * other parameters provided to `ListAccountSummaries` must match the call
+     * that provided the page token.
      * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for pageToken to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java index 12164fb85e20..5a7ca5687ac1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java @@ -30,13 +30,13 @@ public interface ListAccountSummariesRequestOrBuilder * * *
-   * The maximum number of AccountSummary resources to return. The service may
-   * return fewer than this value, even if there are additional pages.
-   * If unspecified, at most 50 resources will be returned.
-   * The maximum value is 200; (higher values will be coerced to the maximum)
+   * Optional. The maximum number of AccountSummary resources to return. The
+   * service may return fewer than this value, even if there are additional
+   * pages. If unspecified, at most 50 resources will be returned. The maximum
+   * value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 1; + * int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -46,13 +46,13 @@ public interface ListAccountSummariesRequestOrBuilder * * *
-   * A page token, received from a previous `ListAccountSummaries` call.
-   * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListAccountSummaries`
-   * must match the call that provided the page token.
+   * Optional. A page token, received from a previous `ListAccountSummaries`
+   * call. Provide this to retrieve the subsequent page. When paginating, all
+   * other parameters provided to `ListAccountSummaries` must match the call
+   * that provided the page token.
    * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -62,13 +62,13 @@ public interface ListAccountSummariesRequestOrBuilder * * *
-   * A page token, received from a previous `ListAccountSummaries` call.
-   * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListAccountSummaries`
-   * must match the call that provided the page token.
+   * Optional. A page token, received from a previous `ListAccountSummaries`
+   * call. Provide this to retrieve the subsequent page. When paginating, all
+   * other parameters provided to `ListAccountSummaries` must match the call
+   * that provided the page token.
    * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java index cd61e4c739ce..cd076da61d93 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java @@ -77,13 +77,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The maximum number of resources to return. The service may return
+   * Optional. The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 1; + * int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -101,13 +101,13 @@ public int getPageSize() { * * *
-   * A page token, received from a previous `ListAccounts` call.
+   * Optional. A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListAccounts` must
    * match the call that provided the page token.
    * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -128,13 +128,13 @@ public java.lang.String getPageToken() { * * *
-   * A page token, received from a previous `ListAccounts` call.
+   * Optional. A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListAccounts` must
    * match the call that provided the page token.
    * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -533,13 +533,13 @@ public Builder mergeFrom( * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 1; + * int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -552,13 +552,13 @@ public int getPageSize() { * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 1; + * int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageSize to set. * @return This builder for chaining. @@ -575,13 +575,13 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 1; + * int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -598,13 +598,13 @@ public Builder clearPageSize() { * * *
-     * A page token, received from a previous `ListAccounts` call.
+     * Optional. A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListAccounts` must
      * match the call that provided the page token.
      * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -624,13 +624,13 @@ public java.lang.String getPageToken() { * * *
-     * A page token, received from a previous `ListAccounts` call.
+     * Optional. A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListAccounts` must
      * match the call that provided the page token.
      * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -650,13 +650,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * A page token, received from a previous `ListAccounts` call.
+     * Optional. A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListAccounts` must
      * match the call that provided the page token.
      * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageToken to set. * @return This builder for chaining. @@ -675,13 +675,13 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * A page token, received from a previous `ListAccounts` call.
+     * Optional. A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListAccounts` must
      * match the call that provided the page token.
      * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -696,13 +696,13 @@ public Builder clearPageToken() { * * *
-     * A page token, received from a previous `ListAccounts` call.
+     * Optional. A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListAccounts` must
      * match the call that provided the page token.
      * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for pageToken to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java index 8ae99637d287..7e9c309b07de 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java @@ -30,13 +30,13 @@ public interface ListAccountsRequestOrBuilder * * *
-   * The maximum number of resources to return. The service may return
+   * Optional. The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 1; + * int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -46,13 +46,13 @@ public interface ListAccountsRequestOrBuilder * * *
-   * A page token, received from a previous `ListAccounts` call.
+   * Optional. A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListAccounts` must
    * match the call that provided the page token.
    * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -62,13 +62,13 @@ public interface ListAccountsRequestOrBuilder * * *
-   * A page token, received from a previous `ListAccounts` call.
+   * Optional. A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListAccounts` must
    * match the call that provided the page token.
    * 
* - * string page_token = 2; + * string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java index 87683fff40e2..50827d73a2c7 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java @@ -137,12 +137,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of resources to return.
+   * Optional. The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -160,13 +160,13 @@ public int getPageSize() { * * *
-   * A page token, received from a previous `ListConversionEvents` call.
-   * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListConversionEvents`
-   * must match the call that provided the page token.
+   * Optional. A page token, received from a previous `ListConversionEvents`
+   * call. Provide this to retrieve the subsequent page. When paginating, all
+   * other parameters provided to `ListConversionEvents` must match the call
+   * that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -187,13 +187,13 @@ public java.lang.String getPageToken() { * * *
-   * A page token, received from a previous `ListConversionEvents` call.
-   * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListConversionEvents`
-   * must match the call that provided the page token.
+   * Optional. A page token, received from a previous `ListConversionEvents`
+   * call. Provide this to retrieve the subsequent page. When paginating, all
+   * other parameters provided to `ListConversionEvents` must match the call
+   * that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -702,12 +702,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -720,12 +720,12 @@ public int getPageSize() { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageSize to set. * @return This builder for chaining. @@ -742,12 +742,12 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -764,13 +764,13 @@ public Builder clearPageSize() { * * *
-     * A page token, received from a previous `ListConversionEvents` call.
-     * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListConversionEvents`
-     * must match the call that provided the page token.
+     * Optional. A page token, received from a previous `ListConversionEvents`
+     * call. Provide this to retrieve the subsequent page. When paginating, all
+     * other parameters provided to `ListConversionEvents` must match the call
+     * that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -790,13 +790,13 @@ public java.lang.String getPageToken() { * * *
-     * A page token, received from a previous `ListConversionEvents` call.
-     * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListConversionEvents`
-     * must match the call that provided the page token.
+     * Optional. A page token, received from a previous `ListConversionEvents`
+     * call. Provide this to retrieve the subsequent page. When paginating, all
+     * other parameters provided to `ListConversionEvents` must match the call
+     * that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -816,13 +816,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * A page token, received from a previous `ListConversionEvents` call.
-     * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListConversionEvents`
-     * must match the call that provided the page token.
+     * Optional. A page token, received from a previous `ListConversionEvents`
+     * call. Provide this to retrieve the subsequent page. When paginating, all
+     * other parameters provided to `ListConversionEvents` must match the call
+     * that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageToken to set. * @return This builder for chaining. @@ -841,13 +841,13 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * A page token, received from a previous `ListConversionEvents` call.
-     * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListConversionEvents`
-     * must match the call that provided the page token.
+     * Optional. A page token, received from a previous `ListConversionEvents`
+     * call. Provide this to retrieve the subsequent page. When paginating, all
+     * other parameters provided to `ListConversionEvents` must match the call
+     * that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -862,13 +862,13 @@ public Builder clearPageToken() { * * *
-     * A page token, received from a previous `ListConversionEvents` call.
-     * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListConversionEvents`
-     * must match the call that provided the page token.
+     * Optional. A page token, received from a previous `ListConversionEvents`
+     * call. Provide this to retrieve the subsequent page. When paginating, all
+     * other parameters provided to `ListConversionEvents` must match the call
+     * that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for pageToken to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java index 9ed717d1ce44..fcd239328a18 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java @@ -62,12 +62,12 @@ public interface ListConversionEventsRequestOrBuilder * * *
-   * The maximum number of resources to return.
+   * Optional. The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -77,13 +77,13 @@ public interface ListConversionEventsRequestOrBuilder * * *
-   * A page token, received from a previous `ListConversionEvents` call.
-   * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListConversionEvents`
-   * must match the call that provided the page token.
+   * Optional. A page token, received from a previous `ListConversionEvents`
+   * call. Provide this to retrieve the subsequent page. When paginating, all
+   * other parameters provided to `ListConversionEvents` must match the call
+   * that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -93,13 +93,13 @@ public interface ListConversionEventsRequestOrBuilder * * *
-   * A page token, received from a previous `ListConversionEvents` call.
-   * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListConversionEvents`
-   * must match the call that provided the page token.
+   * Optional. A page token, received from a previous `ListConversionEvents`
+   * call. Provide this to retrieve the subsequent page. When paginating, all
+   * other parameters provided to `ListConversionEvents` must match the call
+   * that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java index 36ef26e47dfc..7ad90efbe643 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java @@ -135,12 +135,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of resources to return.
+   * Optional. The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200 (higher values will be coerced to the maximum).
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -158,14 +158,14 @@ public int getPageSize() { * * *
-   * A page token, received from a previous `ListCustomDimensions` call.
-   * Provide this to retrieve the subsequent page.
+   * Optional. A page token, received from a previous `ListCustomDimensions`
+   * call. Provide this to retrieve the subsequent page.
    *
    * When paginating, all other parameters provided to `ListCustomDimensions`
    * must match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -186,14 +186,14 @@ public java.lang.String getPageToken() { * * *
-   * A page token, received from a previous `ListCustomDimensions` call.
-   * Provide this to retrieve the subsequent page.
+   * Optional. A page token, received from a previous `ListCustomDimensions`
+   * call. Provide this to retrieve the subsequent page.
    *
    * When paginating, all other parameters provided to `ListCustomDimensions`
    * must match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -697,12 +697,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200 (higher values will be coerced to the maximum).
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -715,12 +715,12 @@ public int getPageSize() { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200 (higher values will be coerced to the maximum).
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageSize to set. * @return This builder for chaining. @@ -737,12 +737,12 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200 (higher values will be coerced to the maximum).
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -759,14 +759,14 @@ public Builder clearPageSize() { * * *
-     * A page token, received from a previous `ListCustomDimensions` call.
-     * Provide this to retrieve the subsequent page.
+     * Optional. A page token, received from a previous `ListCustomDimensions`
+     * call. Provide this to retrieve the subsequent page.
      *
      * When paginating, all other parameters provided to `ListCustomDimensions`
      * must match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -786,14 +786,14 @@ public java.lang.String getPageToken() { * * *
-     * A page token, received from a previous `ListCustomDimensions` call.
-     * Provide this to retrieve the subsequent page.
+     * Optional. A page token, received from a previous `ListCustomDimensions`
+     * call. Provide this to retrieve the subsequent page.
      *
      * When paginating, all other parameters provided to `ListCustomDimensions`
      * must match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -813,14 +813,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * A page token, received from a previous `ListCustomDimensions` call.
-     * Provide this to retrieve the subsequent page.
+     * Optional. A page token, received from a previous `ListCustomDimensions`
+     * call. Provide this to retrieve the subsequent page.
      *
      * When paginating, all other parameters provided to `ListCustomDimensions`
      * must match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageToken to set. * @return This builder for chaining. @@ -839,14 +839,14 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * A page token, received from a previous `ListCustomDimensions` call.
-     * Provide this to retrieve the subsequent page.
+     * Optional. A page token, received from a previous `ListCustomDimensions`
+     * call. Provide this to retrieve the subsequent page.
      *
      * When paginating, all other parameters provided to `ListCustomDimensions`
      * must match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -861,14 +861,14 @@ public Builder clearPageToken() { * * *
-     * A page token, received from a previous `ListCustomDimensions` call.
-     * Provide this to retrieve the subsequent page.
+     * Optional. A page token, received from a previous `ListCustomDimensions`
+     * call. Provide this to retrieve the subsequent page.
      *
      * When paginating, all other parameters provided to `ListCustomDimensions`
      * must match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for pageToken to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java index 713a9ce8adc6..42648b8c213d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java @@ -60,12 +60,12 @@ public interface ListCustomDimensionsRequestOrBuilder * * *
-   * The maximum number of resources to return.
+   * Optional. The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200 (higher values will be coerced to the maximum).
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -75,14 +75,14 @@ public interface ListCustomDimensionsRequestOrBuilder * * *
-   * A page token, received from a previous `ListCustomDimensions` call.
-   * Provide this to retrieve the subsequent page.
+   * Optional. A page token, received from a previous `ListCustomDimensions`
+   * call. Provide this to retrieve the subsequent page.
    *
    * When paginating, all other parameters provided to `ListCustomDimensions`
    * must match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -92,14 +92,14 @@ public interface ListCustomDimensionsRequestOrBuilder * * *
-   * A page token, received from a previous `ListCustomDimensions` call.
-   * Provide this to retrieve the subsequent page.
+   * Optional. A page token, received from a previous `ListCustomDimensions`
+   * call. Provide this to retrieve the subsequent page.
    *
    * When paginating, all other parameters provided to `ListCustomDimensions`
    * must match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java index 87050a994bc0..f022be577ea7 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java @@ -139,13 +139,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of resources to return. The service may return
+   * Optional. The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -163,13 +163,13 @@ public int getPageSize() { * * *
-   * A page token, received from a previous `ListFirebaseLinks` call.
+   * Optional. A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListFirebaseLinks` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -190,13 +190,13 @@ public java.lang.String getPageToken() { * * *
-   * A page token, received from a previous `ListFirebaseLinks` call.
+   * Optional. A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListFirebaseLinks` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -707,13 +707,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -726,13 +726,13 @@ public int getPageSize() { * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageSize to set. * @return This builder for chaining. @@ -749,13 +749,13 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -772,13 +772,13 @@ public Builder clearPageSize() { * * *
-     * A page token, received from a previous `ListFirebaseLinks` call.
+     * Optional. A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListFirebaseLinks` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -798,13 +798,13 @@ public java.lang.String getPageToken() { * * *
-     * A page token, received from a previous `ListFirebaseLinks` call.
+     * Optional. A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListFirebaseLinks` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -824,13 +824,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * A page token, received from a previous `ListFirebaseLinks` call.
+     * Optional. A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListFirebaseLinks` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageToken to set. * @return This builder for chaining. @@ -849,13 +849,13 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * A page token, received from a previous `ListFirebaseLinks` call.
+     * Optional. A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListFirebaseLinks` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -870,13 +870,13 @@ public Builder clearPageToken() { * * *
-     * A page token, received from a previous `ListFirebaseLinks` call.
+     * Optional. A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListFirebaseLinks` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for pageToken to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java index d8586049f9d7..82fd5a3f2333 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java @@ -64,13 +64,13 @@ public interface ListFirebaseLinksRequestOrBuilder * * *
-   * The maximum number of resources to return. The service may return
+   * Optional. The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -80,13 +80,13 @@ public interface ListFirebaseLinksRequestOrBuilder * * *
-   * A page token, received from a previous `ListFirebaseLinks` call.
+   * Optional. A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListFirebaseLinks` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -96,13 +96,13 @@ public interface ListFirebaseLinksRequestOrBuilder * * *
-   * A page token, received from a previous `ListFirebaseLinks` call.
+   * Optional. A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListFirebaseLinks` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java index 650a36c4c05c..f5e0597e561a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java @@ -135,12 +135,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of resources to return.
+   * Optional. The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200 (higher values will be coerced to the maximum).
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -158,14 +158,14 @@ public int getPageSize() { * * *
-   * A page token, received from a previous `ListGoogleAdsLinks` call.
+   * Optional. A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
    *
    * When paginating, all other parameters provided to `ListGoogleAdsLinks` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -186,14 +186,14 @@ public java.lang.String getPageToken() { * * *
-   * A page token, received from a previous `ListGoogleAdsLinks` call.
+   * Optional. A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
    *
    * When paginating, all other parameters provided to `ListGoogleAdsLinks` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -697,12 +697,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200 (higher values will be coerced to the maximum).
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -715,12 +715,12 @@ public int getPageSize() { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200 (higher values will be coerced to the maximum).
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageSize to set. * @return This builder for chaining. @@ -737,12 +737,12 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200 (higher values will be coerced to the maximum).
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -759,14 +759,14 @@ public Builder clearPageSize() { * * *
-     * A page token, received from a previous `ListGoogleAdsLinks` call.
+     * Optional. A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
      *
      * When paginating, all other parameters provided to `ListGoogleAdsLinks` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -786,14 +786,14 @@ public java.lang.String getPageToken() { * * *
-     * A page token, received from a previous `ListGoogleAdsLinks` call.
+     * Optional. A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
      *
      * When paginating, all other parameters provided to `ListGoogleAdsLinks` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -813,14 +813,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * A page token, received from a previous `ListGoogleAdsLinks` call.
+     * Optional. A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
      *
      * When paginating, all other parameters provided to `ListGoogleAdsLinks` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageToken to set. * @return This builder for chaining. @@ -839,14 +839,14 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * A page token, received from a previous `ListGoogleAdsLinks` call.
+     * Optional. A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
      *
      * When paginating, all other parameters provided to `ListGoogleAdsLinks` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -861,14 +861,14 @@ public Builder clearPageToken() { * * *
-     * A page token, received from a previous `ListGoogleAdsLinks` call.
+     * Optional. A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
      *
      * When paginating, all other parameters provided to `ListGoogleAdsLinks` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for pageToken to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java index 1921be1fde52..ea250220031b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java @@ -60,12 +60,12 @@ public interface ListGoogleAdsLinksRequestOrBuilder * * *
-   * The maximum number of resources to return.
+   * Optional. The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200 (higher values will be coerced to the maximum).
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -75,14 +75,14 @@ public interface ListGoogleAdsLinksRequestOrBuilder * * *
-   * A page token, received from a previous `ListGoogleAdsLinks` call.
+   * Optional. A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
    *
    * When paginating, all other parameters provided to `ListGoogleAdsLinks` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -92,14 +92,14 @@ public interface ListGoogleAdsLinksRequestOrBuilder * * *
-   * A page token, received from a previous `ListGoogleAdsLinks` call.
+   * Optional. A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
    *
    * When paginating, all other parameters provided to `ListGoogleAdsLinks` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListKeyEventsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListKeyEventsRequest.java index 826bda5e9cb2..5ea3b9c6f2ca 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListKeyEventsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListKeyEventsRequest.java @@ -137,12 +137,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of resources to return.
+   * Optional. The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -160,13 +160,13 @@ public int getPageSize() { * * *
-   * A page token, received from a previous `ListKeyEvents` call.
+   * Optional. A page token, received from a previous `ListKeyEvents` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListKeyEvents`
    * must match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -187,13 +187,13 @@ public java.lang.String getPageToken() { * * *
-   * A page token, received from a previous `ListKeyEvents` call.
+   * Optional. A page token, received from a previous `ListKeyEvents` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListKeyEvents`
    * must match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -699,12 +699,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -717,12 +717,12 @@ public int getPageSize() { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageSize to set. * @return This builder for chaining. @@ -739,12 +739,12 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -761,13 +761,13 @@ public Builder clearPageSize() { * * *
-     * A page token, received from a previous `ListKeyEvents` call.
+     * Optional. A page token, received from a previous `ListKeyEvents` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListKeyEvents`
      * must match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -787,13 +787,13 @@ public java.lang.String getPageToken() { * * *
-     * A page token, received from a previous `ListKeyEvents` call.
+     * Optional. A page token, received from a previous `ListKeyEvents` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListKeyEvents`
      * must match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -813,13 +813,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * A page token, received from a previous `ListKeyEvents` call.
+     * Optional. A page token, received from a previous `ListKeyEvents` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListKeyEvents`
      * must match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageToken to set. * @return This builder for chaining. @@ -838,13 +838,13 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * A page token, received from a previous `ListKeyEvents` call.
+     * Optional. A page token, received from a previous `ListKeyEvents` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListKeyEvents`
      * must match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -859,13 +859,13 @@ public Builder clearPageToken() { * * *
-     * A page token, received from a previous `ListKeyEvents` call.
+     * Optional. A page token, received from a previous `ListKeyEvents` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListKeyEvents`
      * must match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for pageToken to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListKeyEventsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListKeyEventsRequestOrBuilder.java index 32266d6c0379..2547f33f280a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListKeyEventsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListKeyEventsRequestOrBuilder.java @@ -62,12 +62,12 @@ public interface ListKeyEventsRequestOrBuilder * * *
-   * The maximum number of resources to return.
+   * Optional. The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -77,13 +77,13 @@ public interface ListKeyEventsRequestOrBuilder * * *
-   * A page token, received from a previous `ListKeyEvents` call.
+   * Optional. A page token, received from a previous `ListKeyEvents` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListKeyEvents`
    * must match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -93,13 +93,13 @@ public interface ListKeyEventsRequestOrBuilder * * *
-   * A page token, received from a previous `ListKeyEvents` call.
+   * Optional. A page token, received from a previous `ListKeyEvents` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListKeyEvents`
    * must match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java index 6b82ed2404eb..6d487a8a52ae 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java @@ -141,12 +141,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of resources to return.
+   * Optional. The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
    * The maximum value is 10. Higher values will be coerced to the maximum.
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -164,13 +164,14 @@ public int getPageSize() { * * *
-   * A page token, received from a previous `ListMeasurementProtocolSecrets`
-   * call. Provide this to retrieve the subsequent page. When paginating, all
-   * other parameters provided to `ListMeasurementProtocolSecrets` must match
-   * the call that provided the page token.
+   * Optional. A page token, received from a previous
+   * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the
+   * subsequent page. When paginating, all other parameters provided to
+   * `ListMeasurementProtocolSecrets` must match the call that provided the page
+   * token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -191,13 +192,14 @@ public java.lang.String getPageToken() { * * *
-   * A page token, received from a previous `ListMeasurementProtocolSecrets`
-   * call. Provide this to retrieve the subsequent page. When paginating, all
-   * other parameters provided to `ListMeasurementProtocolSecrets` must match
-   * the call that provided the page token.
+   * Optional. A page token, received from a previous
+   * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the
+   * subsequent page. When paginating, all other parameters provided to
+   * `ListMeasurementProtocolSecrets` must match the call that provided the page
+   * token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -720,12 +722,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
      * The maximum value is 10. Higher values will be coerced to the maximum.
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -738,12 +740,12 @@ public int getPageSize() { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
      * The maximum value is 10. Higher values will be coerced to the maximum.
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageSize to set. * @return This builder for chaining. @@ -760,12 +762,12 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of resources to return.
+     * Optional. The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
      * The maximum value is 10. Higher values will be coerced to the maximum.
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -782,13 +784,14 @@ public Builder clearPageSize() { * * *
-     * A page token, received from a previous `ListMeasurementProtocolSecrets`
-     * call. Provide this to retrieve the subsequent page. When paginating, all
-     * other parameters provided to `ListMeasurementProtocolSecrets` must match
-     * the call that provided the page token.
+     * Optional. A page token, received from a previous
+     * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the
+     * subsequent page. When paginating, all other parameters provided to
+     * `ListMeasurementProtocolSecrets` must match the call that provided the page
+     * token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -808,13 +811,14 @@ public java.lang.String getPageToken() { * * *
-     * A page token, received from a previous `ListMeasurementProtocolSecrets`
-     * call. Provide this to retrieve the subsequent page. When paginating, all
-     * other parameters provided to `ListMeasurementProtocolSecrets` must match
-     * the call that provided the page token.
+     * Optional. A page token, received from a previous
+     * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the
+     * subsequent page. When paginating, all other parameters provided to
+     * `ListMeasurementProtocolSecrets` must match the call that provided the page
+     * token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -834,13 +838,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * A page token, received from a previous `ListMeasurementProtocolSecrets`
-     * call. Provide this to retrieve the subsequent page. When paginating, all
-     * other parameters provided to `ListMeasurementProtocolSecrets` must match
-     * the call that provided the page token.
+     * Optional. A page token, received from a previous
+     * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the
+     * subsequent page. When paginating, all other parameters provided to
+     * `ListMeasurementProtocolSecrets` must match the call that provided the page
+     * token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageToken to set. * @return This builder for chaining. @@ -859,13 +864,14 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * A page token, received from a previous `ListMeasurementProtocolSecrets`
-     * call. Provide this to retrieve the subsequent page. When paginating, all
-     * other parameters provided to `ListMeasurementProtocolSecrets` must match
-     * the call that provided the page token.
+     * Optional. A page token, received from a previous
+     * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the
+     * subsequent page. When paginating, all other parameters provided to
+     * `ListMeasurementProtocolSecrets` must match the call that provided the page
+     * token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -880,13 +886,14 @@ public Builder clearPageToken() { * * *
-     * A page token, received from a previous `ListMeasurementProtocolSecrets`
-     * call. Provide this to retrieve the subsequent page. When paginating, all
-     * other parameters provided to `ListMeasurementProtocolSecrets` must match
-     * the call that provided the page token.
+     * Optional. A page token, received from a previous
+     * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the
+     * subsequent page. When paginating, all other parameters provided to
+     * `ListMeasurementProtocolSecrets` must match the call that provided the page
+     * token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for pageToken to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java index 1a7f4dcc9ae8..0ea903f34503 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java @@ -64,12 +64,12 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder * * *
-   * The maximum number of resources to return.
+   * Optional. The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
    * The maximum value is 10. Higher values will be coerced to the maximum.
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -79,13 +79,14 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder * * *
-   * A page token, received from a previous `ListMeasurementProtocolSecrets`
-   * call. Provide this to retrieve the subsequent page. When paginating, all
-   * other parameters provided to `ListMeasurementProtocolSecrets` must match
-   * the call that provided the page token.
+   * Optional. A page token, received from a previous
+   * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the
+   * subsequent page. When paginating, all other parameters provided to
+   * `ListMeasurementProtocolSecrets` must match the call that provided the page
+   * token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -95,13 +96,14 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder * * *
-   * A page token, received from a previous `ListMeasurementProtocolSecrets`
-   * call. Provide this to retrieve the subsequent page. When paginating, all
-   * other parameters provided to `ListMeasurementProtocolSecrets` must match
-   * the call that provided the page token.
+   * Optional. A page token, received from a previous
+   * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the
+   * subsequent page. When paginating, all other parameters provided to
+   * `ListMeasurementProtocolSecrets` must match the call that provided the page
+   * token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java index 6fdc8c9dd776..1af15f0e326b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java @@ -161,13 +161,13 @@ public com.google.protobuf.ByteString getFilterBytes() { * * *
-   * The maximum number of resources to return. The service may return
+   * Optional. The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -185,13 +185,13 @@ public int getPageSize() { * * *
-   * A page token, received from a previous `ListProperties` call.
+   * Optional. A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListProperties` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -212,13 +212,13 @@ public java.lang.String getPageToken() { * * *
-   * A page token, received from a previous `ListProperties` call.
+   * Optional. A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListProperties` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -827,13 +827,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -846,13 +846,13 @@ public int getPageSize() { * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageSize to set. * @return This builder for chaining. @@ -869,13 +869,13 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -892,13 +892,13 @@ public Builder clearPageSize() { * * *
-     * A page token, received from a previous `ListProperties` call.
+     * Optional. A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListProperties` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -918,13 +918,13 @@ public java.lang.String getPageToken() { * * *
-     * A page token, received from a previous `ListProperties` call.
+     * Optional. A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListProperties` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -944,13 +944,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * A page token, received from a previous `ListProperties` call.
+     * Optional. A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListProperties` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageToken to set. * @return This builder for chaining. @@ -969,13 +969,13 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * A page token, received from a previous `ListProperties` call.
+     * Optional. A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListProperties` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -990,13 +990,13 @@ public Builder clearPageToken() { * * *
-     * A page token, received from a previous `ListProperties` call.
+     * Optional. A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListProperties` must
      * match the call that provided the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for pageToken to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java index 96505ae09a56..97c85f547ab4 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java @@ -86,13 +86,13 @@ public interface ListPropertiesRequestOrBuilder * * *
-   * The maximum number of resources to return. The service may return
+   * Optional. The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -102,13 +102,13 @@ public interface ListPropertiesRequestOrBuilder * * *
-   * A page token, received from a previous `ListProperties` call.
+   * Optional. A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListProperties` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -118,13 +118,13 @@ public interface ListPropertiesRequestOrBuilder * * *
-   * A page token, received from a previous `ListProperties` call.
+   * Optional. A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListProperties` must
    * match the call that provided the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequest.java index 4a473bf954cd..f194113bfd66 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequest.java @@ -144,13 +144,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of resources to return. The service may return
+   * Optional. The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -168,14 +168,14 @@ public int getPageSize() { * * *
-   * A page token, received from a previous
+   * Optional. A page token, received from a previous
    * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
    * subsequent page. When paginating, all other parameters provided to
    * `ListSKAdNetworkConversionValueSchema` must match the call that provided
    * the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -196,14 +196,14 @@ public java.lang.String getPageToken() { * * *
-   * A page token, received from a previous
+   * Optional. A page token, received from a previous
    * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
    * subsequent page. When paginating, all other parameters provided to
    * `ListSKAdNetworkConversionValueSchema` must match the call that provided
    * the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -741,13 +741,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -760,13 +760,13 @@ public int getPageSize() { * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageSize to set. * @return This builder for chaining. @@ -783,13 +783,13 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of resources to return. The service may return
+     * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
      * If unspecified, at most 50 resources will be returned.
      * The maximum value is 200; (higher values will be coerced to the maximum)
      * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -806,14 +806,14 @@ public Builder clearPageSize() { * * *
-     * A page token, received from a previous
+     * Optional. A page token, received from a previous
      * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
      * subsequent page. When paginating, all other parameters provided to
      * `ListSKAdNetworkConversionValueSchema` must match the call that provided
      * the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -833,14 +833,14 @@ public java.lang.String getPageToken() { * * *
-     * A page token, received from a previous
+     * Optional. A page token, received from a previous
      * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
      * subsequent page. When paginating, all other parameters provided to
      * `ListSKAdNetworkConversionValueSchema` must match the call that provided
      * the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ @@ -860,14 +860,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * A page token, received from a previous
+     * Optional. A page token, received from a previous
      * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
      * subsequent page. When paginating, all other parameters provided to
      * `ListSKAdNetworkConversionValueSchema` must match the call that provided
      * the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The pageToken to set. * @return This builder for chaining. @@ -886,14 +886,14 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * A page token, received from a previous
+     * Optional. A page token, received from a previous
      * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
      * subsequent page. When paginating, all other parameters provided to
      * `ListSKAdNetworkConversionValueSchema` must match the call that provided
      * the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -908,14 +908,14 @@ public Builder clearPageToken() { * * *
-     * A page token, received from a previous
+     * Optional. A page token, received from a previous
      * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
      * subsequent page. When paginating, all other parameters provided to
      * `ListSKAdNetworkConversionValueSchema` must match the call that provided
      * the page token.
      * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for pageToken to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequestOrBuilder.java index ad86ee7b9ea4..a11788fe61ab 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequestOrBuilder.java @@ -66,13 +66,13 @@ public interface ListSKAdNetworkConversionValueSchemasRequestOrBuilder * * *
-   * The maximum number of resources to return. The service may return
+   * Optional. The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
    * If unspecified, at most 50 resources will be returned.
    * The maximum value is 200; (higher values will be coerced to the maximum)
    * 
* - * int32 page_size = 2; + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageSize. */ @@ -82,14 +82,14 @@ public interface ListSKAdNetworkConversionValueSchemasRequestOrBuilder * * *
-   * A page token, received from a previous
+   * Optional. A page token, received from a previous
    * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
    * subsequent page. When paginating, all other parameters provided to
    * `ListSKAdNetworkConversionValueSchema` must match the call that provided
    * the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The pageToken. */ @@ -99,14 +99,14 @@ public interface ListSKAdNetworkConversionValueSchemasRequestOrBuilder * * *
-   * A page token, received from a previous
+   * Optional. A page token, received from a previous
    * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
    * subsequent page. When paginating, all other parameters provided to
    * `ListSKAdNetworkConversionValueSchema` must match the call that provided
    * the page token.
    * 
* - * string page_token = 3; + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for pageToken. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java index 9c4c465fd807..c7b48a2501c0 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java @@ -81,12 +81,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. Resource name of this secret. This secret may be a child of
-   * any type of stream. Format:
+   * Identifier. Resource name of this secret. This secret may be a child of any
+   * type of stream. Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -107,12 +107,12 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name of this secret. This secret may be a child of
-   * any type of stream. Format:
+   * Identifier. Resource name of this secret. This secret may be a child of any
+   * type of stream. Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -607,12 +607,12 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name of this secret. This secret may be a child of
-     * any type of stream. Format:
+     * Identifier. Resource name of this secret. This secret may be a child of any
+     * type of stream. Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -632,12 +632,12 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name of this secret. This secret may be a child of
-     * any type of stream. Format:
+     * Identifier. Resource name of this secret. This secret may be a child of any
+     * type of stream. Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -657,12 +657,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name of this secret. This secret may be a child of
-     * any type of stream. Format:
+     * Identifier. Resource name of this secret. This secret may be a child of any
+     * type of stream. Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -681,12 +681,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name of this secret. This secret may be a child of
-     * any type of stream. Format:
+     * Identifier. Resource name of this secret. This secret may be a child of any
+     * type of stream. Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -701,12 +701,12 @@ public Builder clearName() { * * *
-     * Output only. Resource name of this secret. This secret may be a child of
-     * any type of stream. Format:
+     * Identifier. Resource name of this secret. This secret may be a child of any
+     * type of stream. Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java index c908a2424a22..76e195d5f658 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java @@ -30,12 +30,12 @@ public interface MeasurementProtocolSecretOrBuilder * * *
-   * Output only. Resource name of this secret. This secret may be a child of
-   * any type of stream. Format:
+   * Identifier. Resource name of this secret. This secret may be a child of any
+   * type of stream. Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -45,12 +45,12 @@ public interface MeasurementProtocolSecretOrBuilder * * *
-   * Output only. Resource name of this secret. This secret may be a child of
-   * any type of stream. Format:
+   * Identifier. Resource name of this secret. This secret may be a child of any
+   * type of stream. Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java index 2a494ee7dc17..325084e5d3b5 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java @@ -88,12 +88,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. Resource name of this property.
+   * Identifier. Resource name of this property.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -114,12 +114,12 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name of this property.
+   * Identifier. Resource name of this property.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1446,12 +1446,12 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name of this property.
+     * Identifier. Resource name of this property.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1471,12 +1471,12 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name of this property.
+     * Identifier. Resource name of this property.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1496,12 +1496,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name of this property.
+     * Identifier. Resource name of this property.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1520,12 +1520,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name of this property.
+     * Identifier. Resource name of this property.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1540,12 +1540,12 @@ public Builder clearName() { * * *
-     * Output only. Resource name of this property.
+     * Identifier. Resource name of this property.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java index 7a12596a9e5c..96ddb55c3668 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java @@ -30,12 +30,12 @@ public interface PropertyOrBuilder * * *
-   * Output only. Resource name of this property.
+   * Identifier. Resource name of this property.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -45,12 +45,12 @@ public interface PropertyOrBuilder * * *
-   * Output only. Resource name of this property.
+   * Identifier. Resource name of this property.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java index b926361f7953..c9088665a89c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java @@ -216,6 +216,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_analytics_admin_v1alpha_ReportingIdentitySettings_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_analytics_admin_v1alpha_ReportingIdentitySettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UserProvidedDataSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UserProvidedDataSettings_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -232,9 +236,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "6google/analytics/admin/v1alpha/expanded_data_set.proto\032\037google/api/field_behavi" + "or.proto\032\031google/api/resource.proto\032\037goo" + "gle/protobuf/timestamp.proto\032\036google/pro" - + "tobuf/wrappers.proto\032\026google/type/date.proto\"\344\002\n" + + "tobuf/wrappers.proto\032\026google/type/date.proto\"\367\002\n" + "\007Account\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\0224\n" + + "\004name\030\001 \001(\tB\003\340A\010\0224\n" + "\013create_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + "\013update_time\030\003" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\031\n" @@ -242,19 +246,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013region_code\030\005 \001(\t\022\024\n" + "\007deleted\030\006 \001(\010B\003\340A\003\022T\n" + "\020gmp_organization\030\007 \001(\tB:\340A\003\372A4\n" - + "2marketingplatformadmin.googleapis.com/Organization:>\352A;\n" - + "%analyticsadmin.googleapis.com/Account\022\022accounts/{account}\"\271\005\n" + + "2marketingplatformadmin.googleapis.com/Organization:Q\352AN\n" + + "%analyticsadmin" + + ".googleapis.com/Account\022\022accounts/{account}*\010accounts2\007account\"\317\005\n" + "\010Property\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022H\n\r" - + "property_type\030\016" - + " \001(\0162,.google.analytics.admin.v1alpha.PropertyTypeB\003\340A\005\0224\n" + + "\004name\030\001 \001(\tB\003\340A\010\022H\n\r" + + "property_type\030\016 \001(\0162,." + + "google.analytics.admin.v1alpha.PropertyTypeB\003\340A\005\0224\n" + "\013create_time\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + "\013update_time\030\004" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\023\n" + "\006parent\030\002 \001(\tB\003\340A\005\022\031\n" + "\014display_name\030\005 \001(\tB\003\340A\002\022K\n" - + "\021industry_category\030\006" - + " \001(\01620.google.analytics.admin.v1alpha.IndustryCategory\022\026\n" + + "\021industry_category\030\006 \001(\01620.google" + + ".analytics.admin.v1alpha.IndustryCategory\022\026\n" + "\ttime_zone\030\007 \001(\tB\003\340A\002\022\025\n\r" + "currency_code\030\010 \001(\t\022H\n\r" + "service_level\030\n" @@ -263,18 +268,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013expire_time\030\014 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022>\n" + "\007account\030\r" + " \001(\tB-\340A\005\372A\'\n" - + "%analyticsadmin.googleapis.com/Account:B\352A?\n" - + "&analyticsadmin.googleapis.com/Property\022\025properties/{property}\"\364\007\n\n" + + "%analyticsadmin.googleapis.com/Account:X\352AU\n" + + "&analyticsadmin.googleapis.com/Property\022\025properties/{property}*\n" + + "properties2\010property\"\215\010\n\n" + "DataStream\022S\n" - + "\017web_stream_data\030\006 \001(\01328.google.analyti" - + "cs.admin.v1alpha.DataStream.WebStreamDataH\000\022b\n" - + "\027android_app_stream_data\030\007 \001(\0132?.g" - + "oogle.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataH\000\022Z\n" + + "\017web_stream_data\030\006 \001(\01328.google.analyt" + + "ics.admin.v1alpha.DataStream.WebStreamDataH\000\022b\n" + + "\027android_app_stream_data\030\007 \001(\0132?." + + "google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataH\000\022Z\n" + "\023ios_app_stream_data\030\010" + " \001(\0132;.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataH\000\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022O\n" - + "\004type\030\002 \001(\01629.google.an" - + "alytics.admin.v1alpha.DataStream.DataStreamTypeB\006\340A\005\340A\002\022\024\n" + + "\004name\030\001 \001(\tB\003\340A\010\022O\n" + + "\004type\030\002 \001(\01629.google.a" + + "nalytics.admin.v1alpha.DataStream.DataStreamTypeB\006\340A\005\340A\002\022\024\n" + "\014display_name\030\003 \001(\t\0224\n" + "\013create_time\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + "\013update_time\030\005" @@ -293,80 +299,86 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\034DATA_STREAM_TYPE_UNSPECIFIED\020\000\022\023\n" + "\017WEB_DATA_STREAM\020\001\022\033\n" + "\027ANDROID_APP_DATA_STREAM\020\002\022\027\n" - + "\023IOS_APP_DATA_STREAM\020\003:^\352A[\n" - + "(analyticsadmin.googleapis." - + "com/DataStream\022/properties/{property}/dataStreams/{data_stream}B\r\n" - + "\013stream_data\"\323\001\n" + + "\023IOS_APP_DATA_STREAM\020\003:w\352At\n" + + "(analyticsadmin.googleapis" + + ".com/DataStream\022/properties/{property}/dataStreams/{data_stream}*\013dataStreams2\n" + + "dataStreamB\r\n" + + "\013stream_data\"\361\001\n" + "\014FirebaseLink\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\024\n" + + "\004name\030\001 \001(\tB\003\340A\010\022\024\n" + "\007project\030\002 \001(\tB\003\340A\005\0224\n" + "\013create_time\030\003" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003:d\352Aa\n" - + "*analyticsadmin.googleapis.com/FirebaseLink\022" - + "3properties/{property}/firebaseLinks/{firebase_link}\"\251\001\n\r" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003:\201\001\352A~\n" + + "*analyticsadmin.googleapis.com/FirebaseLink\0223properties/{" + + "property}/firebaseLinks/{firebase_link}*\r" + + "firebaseLinks2\014firebaseLink\"\312\001\n\r" + "GlobalSiteTag\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\024\n" - + "\007snippet\030\002 \001(\tB\003\340A\005:o\352Al\n" - + "+analyticsadmin.googleapis.com/GlobalSiteTa" - + "g\022=properties/{property}/dataStreams/{data_stream}/globalSiteTag\"\230\003\n\r" + + "\004name\030\001 \001(\tB\003\340A\010\022\024\n" + + "\007snippet\030\002 \001(\tB\003\340A\005:\217\001\352A\213\001\n" + + "+analyticsadmin.googleapis.com/GlobalSiteTag\022=properties/{propert" + + "y}/dataStreams/{data_stream}/globalSiteTag*\016globalSiteTags2\r" + + "globalSiteTag\"\271\003\n\r" + "GoogleAdsLink\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\030\n" + + "\004name\030\001 \001(\tB\003\340A\010\022\030\n" + "\013customer_id\030\003 \001(\tB\003\340A\005\022\037\n" + "\022can_manage_clients\030\004 \001(\010B\003\340A\003\022?\n" + "\033ads_personalization_enabled\030\005" + " \001(\0132\032.google.protobuf.BoolValue\0224\n" + "\013create_time\030\007 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + "\013update_time\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\"\n" - + "\025creator_email_address\030\t \001(\tB\003\340A\003:h\352Ae\n" - + "+analyticsadmin.googleapi" - + "s.com/GoogleAdsLink\0226properties/{property}/googleAdsLinks/{google_ads_link}\"\357\002\n" + + "\025creator_email_address\030\t \001(\tB\003\340A\003:\210\001\352A\204\001\n" + + "+analyticsadmin.googleapis.com/GoogleAdsLink\0226properti" + + "es/{property}/googleAdsLinks/{google_ads_link}*\016googleAdsLinks2\r" + + "googleAdsLink\"\233\003\n" + "\023DataSharingSettings\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022+\n" + + "\004name\030\001 \001(\tB\003\340A\010\022+\n" + "#sharing_with_google_support_enabled\030\002 \001(\010\0222\n" + "*sharing_with_google_assigned_sales_enabled\030\003 \001(\010\0221\n" + "%sharing_with_google_any_sales_enabled\030\004 \001(\010B\002\030\001\022,\n" + "$sharing_with_google_products_enabled\030\005 \001(\010\022#\n" - + "\033sharing_with_others_enabled\030\006 \001(\010:^\352A[\n" - + "1analyticsadmin.googleapis.com/DataSharingSet" - + "tings\022&accounts/{account}/dataSharingSettings\"\225\002\n" - + "\016AccountSummary\022\014\n" - + "\004name\030\001 \001(\t\022;\n" + + "\033sharing_with_others_enabled\030\006 \001(\010:\211\001\352A\205\001\n" + + "1analyticsadmin.googleapis.com/DataSharingSettings\022&accounts/{account}/dataSharin" + + "gSettings*\023dataSharingSettings2\023dataSharingSettings\"\274\002\n" + + "\016AccountSummary\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\010\022;\n" + "\007account\030\002 \001(\tB*\372A\'\n" + "%analyticsadmin.googleapis.com/Account\022\024\n" + "\014display_name\030\003 \001(\t\022K\n" - + "\022property_summaries\030\004 \003(\0132/.google.a" - + "nalytics.admin.v1alpha.PropertySummary:U\352AR\n" - + ",analyticsadmin.googleapis.com/Accou" - + "ntSummary\022\"accountSummaries/{account_summary}\"\273\001\n" + + "\022property_summaries\030\004 \003(\013" + + "2/.google.analytics.admin.v1alpha.PropertySummary:w\352At\n" + + ",analyticsadmin.googleapis.com/AccountSummary\022\"accountSummaries/{" + + "account_summary}*\020accountSummaries2\016accountSummary\"\273\001\n" + "\017PropertySummary\022=\n" + "\010property\030\001 \001(\tB+\372A(\n" + "&analyticsadmin.googleapis.com/Property\022\024\n" + "\014display_name\030\002 \001(\t\022C\n\r" + "property_type\030\003" + " \001(\0162,.google.analytics.admin.v1alpha.PropertyType\022\016\n" - + "\006parent\030\004 \001(\t\"\216\002\n" + + "\006parent\030\004 \001(\t\"\305\002\n" + "\031MeasurementProtocolSecret\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\031\n" + + "\004name\030\001 \001(\tB\003\340A\010\022\031\n" + "\014display_name\030\002 \001(\tB\003\340A\002\022\031\n" - + "\014secret_value\030\003 \001(\tB\003\340A\003:\247\001\352A\243\001\n" - + "7analyticsadmin.googleapis.com/MeasurementProtocolSecr" - + "et\022hproperties/{property}/dataStreams/{d" - + "ata_stream}/measurementProtocolSecrets/{measurement_protocol_secret}\"\203\004\n" + + "\014secret_value\030\003 \001(\tB\003\340A\003:\336\001\352A\332\001\n" + + "7analyticsadmin.googleapis.com/MeasurementProtoco" + + "lSecret\022hproperties/{property}/dataStreams/{data_stream}/measurementProtocolSecr" + + "ets/{measurement_protocol_secret}*\032measu" + + "rementProtocolSecrets2\031measurementProtocolSecret\"\310\004\n" + " SKAdNetworkConversionValueSchema\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022P\n" - + "\023postback_window_one\030\002 \001(\0132..goog" - + "le.analytics.admin.v1alpha.PostbackWindowB\003\340A\002\022K\n" - + "\023postback_window_two\030\003 \001(\0132..go" - + "ogle.analytics.admin.v1alpha.PostbackWindow\022M\n" - + "\025postback_window_three\030\004 \001(\0132..goo" - + "gle.analytics.admin.v1alpha.PostbackWindow\022\037\n" - + "\027apply_conversion_values\030\005 \001(\010:\274\001\352A\270\001\n" - + ">analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\022vproperties/{" - + "property}/dataStreams/{data_stream}/sKAd" - + "NetworkConversionValueSchema/{skadnetwork_conversion_value_schema}\"\207\001\n" + + "\004name\030\001 \001(\tB\003\340A\010\022P\n" + + "\023postback_window_one\030\002" + + " \001(\0132..google.analytics.admin.v1alpha.PostbackWindowB\003\340A\002\022K\n" + + "\023postback_window_two\030\003" + + " \001(\0132..google.analytics.admin.v1alpha.PostbackWindow\022M\n" + + "\025postback_window_three\030\004" + + " \001(\0132..google.analytics.admin.v1alpha.PostbackWindow\022\037\n" + + "\027apply_conversion_values\030\005 \001(\010:\201\002\352A\375\001\n" + + ">analyticsadmin.googleapis.com/SKAdNetworkConversionValue" + + "Schema\022vproperties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionVal" + + "ueSchema/{skadnetwork_conversion_value_schema}*!skAdNetworkConversionValueSchemas2" + + " skAdNetworkConversionValueSchema\"\207\001\n" + "\016PostbackWindow\022K\n" - + "\021conversion_values\030\001 \003(\01320.googl" - + "e.analytics.admin.v1alpha.ConversionValues\022(\n" + + "\021conversion_values\030\001 \003(" + + "\01320.google.analytics.admin.v1alpha.ConversionValues\022(\n" + " postback_window_settings_enabled\030\002 \001(\010\"\364\001\n" + "\020ConversionValues\022\024\n" + "\014display_name\030\001 \001(\t\022\027\n\n" @@ -377,7 +389,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\0132,.google.analytics.admin.v1alpha.EventMapping\022\024\n" + "\014lock_enabled\030\005 \001(\010B\r\n" + "\013_fine_value\"\357\001\n" - + "\014EventMapping\022\027\n\n" + + "\014EventMapping\022\027\n" + + "\n" + "event_name\030\001 \001(\tB\003\340A\002\022\034\n" + "\017min_event_count\030\002 \001(\003H\000\210\001\001\022\034\n" + "\017max_event_count\030\003 \001(\003H\001\210\001\001\022\034\n" @@ -393,31 +406,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "actor_type\030\003 \001(\0162).google.analytics.admin.v1alpha.ActorType\022\030\n" + "\020user_actor_email\030\004 \001(\t\022\030\n" + "\020changes_filtered\030\005 \001(\010\022D\n" - + "\007changes\030\006 \003(\01323.google.a" - + "nalytics.admin.v1alpha.ChangeHistoryChange\"\270\025\n" + + "\007changes\030\006 \003(\01323" + + ".google.analytics.admin.v1alpha.ChangeHistoryChange\"\231\026\n" + "\023ChangeHistoryChange\022\020\n" + "\010resource\030\001 \001(\t\022:\n" + "\006action\030\002 \001(\0162*.google.analytics.admin.v1alpha.ActionType\022i\n" - + "\026resource_before_change\030\003 \001(\0132I.google.analytics.admi" - + "n.v1alpha.ChangeHistoryChange.ChangeHistoryResource\022h\n" - + "\025resource_after_change\030\004 \001(\0132I.google.analytics.admin.v1alpha.Chan" - + "geHistoryChange.ChangeHistoryResource\032\375\022\n" + + "\026resource_before_change\030\003 \001(\0132I.google.analy" + + "tics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource\022h\n" + + "\025resource_after_change\030\004 \001(\0132I.google.analytics.admin.v1a" + + "lpha.ChangeHistoryChange.ChangeHistoryResource\032\336\023\n" + "\025ChangeHistoryResource\022:\n" + "\007account\030\001 \001(\0132\'.google.analytics.admin.v1alpha.AccountH\000\022<\n" + "\010property\030\002 \001(\0132(.google.analytics.admin.v1alpha.PropertyH\000\022E\n\r" + "firebase_link\030\006" + " \001(\0132,.google.analytics.admin.v1alpha.FirebaseLinkH\000\022H\n" - + "\017google_ads_link\030\007 \001(" - + "\0132-.google.analytics.admin.v1alpha.GoogleAdsLinkH\000\022X\n" - + "\027google_signals_settings\030\010 " - + "\001(\01325.google.analytics.admin.v1alpha.GoogleSignalsSettingsH\000\022j\n" - + "!display_video_360_advertiser_link\030\t \001(\0132=.google.analyti" - + "cs.admin.v1alpha.DisplayVideo360AdvertiserLinkH\000\022{\n" + + "\017google_ads_link\030\007" + + " \001(\0132-.google.analytics.admin.v1alpha.GoogleAdsLinkH\000\022X\n" + + "\027google_signals_settings\030\010" + + " \001(\01325.google.analytics.admin.v1alpha.GoogleSignalsSettingsH\000\022j\n" + + "!display_video_360_advertiser_link\030\t \001(\0132=.googl" + + "e.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkH\000\022{\n" + "*display_video_360_advertiser_link_proposal\030\n" - + " \001(\0132E.google.analytics." - + "admin.v1alpha.DisplayVideo360AdvertiserLinkProposalH\000\022K\n" - + "\020conversion_event\030\013 \001(\0132" - + "/.google.analytics.admin.v1alpha.ConversionEventH\000\022`\n" + + " \001(\0132E.google.a" + + "nalytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalH\000\022K\n" + + "\020conversion_event\030\013" + + " \001(\0132/.google.analytics.admin.v1alpha.ConversionEventH\000\022`\n" + "\033measurement_protocol_secret\030\014" + " \001(\01329.google.analytics.admin.v1alpha.MeasurementProtocolSecretH\000\022K\n" + "\020custom_dimension\030\r" @@ -434,48 +447,52 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\01323.google.analytics.admin.v1alpha.AttributionSettingsH\000\022L\n" + "\021expanded_data_set\030\025" + " \001(\0132/.google.analytics.admin.v1alpha.ExpandedDataSetH\000\022E\n\r" - + "channel_group\030\026 \001(\013" - + "2,.google.analytics.admin.v1alpha.ChannelGroupH\000\022E\n\r" - + "bigquery_link\030\027 \001(\0132,.google" - + ".analytics.admin.v1alpha.BigQueryLinkH\000\022d\n" - + "\035enhanced_measurement_settings\030\030 \001(\0132;" - + ".google.analytics.admin.v1alpha.EnhancedMeasurementSettingsH\000\022X\n" - + "\027data_redaction_settings\030\031" - + " \001(\01325.google.analytics.admin.v1alpha.DataRedactionSettingsH\000\022o\n" - + "#skadnetwork_conversion_value_schema\030\032 \001(\0132@.g" - + "oogle.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaH\000\022C\n" + + "channel_group\030\026" + + " \001(\0132,.google.analytics.admin.v1alpha.ChannelGroupH\000\022E\n\r" + + "bigquery_link\030\027 \001(\013" + + "2,.google.analytics.admin.v1alpha.BigQueryLinkH\000\022d\n" + + "\035enhanced_measurement_settings\030\030" + + " \001(\0132;.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsH\000\022X\n" + + "\027data_redaction_settings\030\031 \001(\01325.google.analyti" + + "cs.admin.v1alpha.DataRedactionSettingsH\000\022o\n" + + "#skadnetwork_conversion_value_schema\030\032" + + " \001(\0132@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaH\000\022C\n" + "\014adsense_link\030\033" + " \001(\0132+.google.analytics.admin.v1alpha.AdSenseLinkH\000\022<\n" + "\010audience\030\034 \001(\0132(.google.analytics.admin.v1alpha.AudienceH\000\022L\n" - + "\021event_create_rule\030\035" - + " \001(\0132/.google.analytics.admin.v1alpha.EventCreateRuleH\000\022=\n" + + "\021event_create_rule\030\035 \001(\0132/.google" + + ".analytics.admin.v1alpha.EventCreateRuleH\000\022=\n" + "\tkey_event\030\036 \001(\0132(.google.analytics.admin.v1alpha.KeyEventH\000\022M\n" - + "\021calculated_metric\030\037 " - + "\001(\01320.google.analytics.admin.v1alpha.CalculatedMetricH\000\022\\\n" - + "\031reporting_data_annotation\030 " - + " \001(\01327.google.analytics.admin.v1alpha.ReportingDataAnnotationH\000\022X\n" - + "\027subproperty_sync_config\030! \001(\01325.google.analytic" - + "s.admin.v1alpha.SubpropertySyncConfigH\000\022`\n" - + "\033reporting_identity_settings\030\" \001(\01329.g" - + "oogle.analytics.admin.v1alpha.ReportingIdentitySettingsH\000B\n\n" - + "\010resource\"\337\003\n" + + "\021calculated_metric\030\037" + + " \001(\01320.google.analytics.admin.v1alpha.CalculatedMetricH\000\022\\\n" + + "\031reporting_data_annotation\030 \001(\01327.google.analytics.a" + + "dmin.v1alpha.ReportingDataAnnotationH\000\022X\n" + + "\027subproperty_sync_config\030! \001(\01325.google" + + ".analytics.admin.v1alpha.SubpropertySyncConfigH\000\022`\n" + + "\033reporting_identity_settings\030\"" + + " \001(\01329.google.analytics.admin.v1alpha.ReportingIdentitySettingsH\000\022_\n" + + "\033user_provided_data_settings\030# \001(\01328.google.analyti" + + "cs.admin.v1alpha.UserProvidedDataSettingsH\000B\n\n" + + "\010resource\"\236\004\n" + "\035DisplayVideo360AdvertiserLink\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\032\n\r" + + "\004name\030\001 \001(\tB\003\340A\010\022\032\n\r" + "advertiser_id\030\002 \001(\tB\003\340A\005\022$\n" + "\027advertiser_display_name\030\003 \001(\tB\003\340A\003\022?\n" + "\033ads_personalization_enabled\030\004" + " \001(\0132\032.google.protobuf.BoolValue\022F\n" + "\035campaign_data_sharing_enabled\030\005" + " \001(\0132\032.google.protobuf.BoolValueB\003\340A\005\022B\n" - + "\031cost_data_sharing_enabled\030\006 \001(\013" - + "2\032.google.protobuf.BoolValueB\003\340A\005:\233\001\352A\227\001\n" - + ";analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\022Xproperties/{prope" - + "rty}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}\"\212\005\n" + + "\031cost_data_sharing_enabled\030\006" + + " \001(\0132\032.google.protobuf.BoolValueB\003\340A\005:\332\001\352A\326\001\n" + + ";analyticsadmin.googleapis.com/DisplayVideo360Adverti" + + "serLink\022Xproperties/{property}/displayVideo360AdvertiserLinks/{display_video_360" + + "_advertiser_link}*\036displayVideo360Advert" + + "iserLinks2\035displayVideo360AdvertiserLink\"\331\005\n" + "%DisplayVideo360AdvertiserLinkProposal\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\032\n\r" + + "\004name\030\001 \001(\tB\003\340A\010\022\032\n\r" + "advertiser_id\030\002 \001(\tB\003\340A\005\022d\n" - + "\034link_proposal_status_details\030\003 \001(\01329" - + ".google.analytics.admin.v1alpha.LinkProposalStatusDetailsB\003\340A\003\022$\n" + + "\034link_proposal_status_details\030\003" + + " \001(\01329.google.analytics.admin.v1alpha.LinkProposalStatusDetailsB\003\340A\003\022$\n" + "\027advertiser_display_name\030\004 \001(\tB\003\340A\003\022\035\n" + "\020validation_email\030\005 \001(\tB\003\340A\004\022D\n" + "\033ads_personalization_enabled\030\006" @@ -483,12 +500,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\035campaign_data_sharing_enabled\030\007" + " \001(\0132\032.google.protobuf.BoolValueB\003\340A\005\022B\n" + "\031cost_data_sharing_enabled\030\010" - + " \001(\0132\032.google.protobuf.BoolValueB\003\340A\005:\264\001\352A\260\001\n" - + "Canalyticsadmin.googleapis.com/DisplayVideo360Adver" - + "tiserLinkProposal\022iproperties/{property}/displayVideo360AdvertiserLinkProposals/" - + "{display_video_360_advertiser_link_proposal}\"\350\003\n" + + " \001(\0132\032.google.protobuf.BoolValueB\003\340A\005:\203\002\352A\377\001\n" + + "Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\022iproperties/{" + + "property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_l" + + "ink_proposal}*&displayVideo360Advertiser" + + "LinkProposals2%displayVideo360AdvertiserLinkProposal\"\217\004\n" + "\020SearchAds360Link\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\032\n\r" + + "\004name\030\001 \001(\tB\003\340A\010\022\032\n\r" + "advertiser_id\030\002 \001(\tB\003\340A\005\022F\n" + "\035campaign_data_sharing_enabled\030\003" + " \001(\0132\032.google.protobuf.BoolValueB\003\340A\005\022B\n" @@ -498,26 +516,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\033ads_personalization_enabled\030\006" + " \001(\0132\032.google.protobuf.BoolValue\022>\n" + "\032site_stats_sharing_enabled\030\007" - + " \001(\0132\032.google.protobuf.BoolValue:r\352Ao\n" - + ".analyticsadmin.googleapis.com/SearchAds360Link\022=proper" - + "ties/{property}/searchAds360Links/{search_ads_360_link}\"\374\001\n" + + " \001(\0132\032.google.protobuf.BoolValue:\230\001\352A\224\001\n" + + ".analyticsadmin.googleapis.com/SearchAds360Li" + + "nk\022=properties/{property}/searchAds360Li" + + "nks/{search_ads_360_link}*\021searchAds360Links2\020searchAds360Link\"\374\001\n" + "\031LinkProposalStatusDetails\022l\n" - + " link_proposal_initiating_product\030\001" - + " \001(\0162=.google.analytics.admin.v1alpha.LinkProposalInitiatingProductB\003\340A\003\022\034\n" + + " link_proposal_initiating_product\030\001 \001(\0162=.google.analytics.admin." + + "v1alpha.LinkProposalInitiatingProductB\003\340A\003\022\034\n" + "\017requestor_email\030\002 \001(\tB\003\340A\003\022S\n" - + "\023link_proposal_state\030\003" - + " \001(\01621.google.analytics.admin.v1alpha.LinkProposalStateB\003\340A\003\"\340\005\n" + + "\023link_proposal_state\030\003 \001(\01621.google.analytics" + + ".admin.v1alpha.LinkProposalStateB\003\340A\003\"\205\006\n" + "\017ConversionEvent\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\027\n\n" + + "\004name\030\001 \001(\tB\003\340A\010\022\027\n\n" + "event_name\030\002 \001(\tB\003\340A\005\0224\n" + "\013create_time\030\003" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\026\n" + "\tdeletable\030\004 \001(\010B\003\340A\003\022\023\n" + "\006custom\030\005 \001(\010B\003\340A\003\022f\n" - + "\017counting_method\030\006 \001(\0162H.google.analytics.ad" - + "min.v1alpha.ConversionEvent.ConversionCountingMethodB\003\340A\001\022r\n" - + "\030default_conversion_value\030\007 \001(\0132F.google.analytics.admin.v1a" - + "lpha.ConversionEvent.DefaultConversionValueB\003\340A\001H\000\210\001\001\032d\n" + + "\017counting_method\030\006 \001(\0162H.google.analy" + + "tics.admin.v1alpha.ConversionEvent.ConversionCountingMethodB\003\340A\001\022r\n" + + "\030default_conversion_value\030\007 \001(\0132F.google.analytics.ad" + + "min.v1alpha.ConversionEvent.DefaultConversionValueB\003\340A\001H\000\210\001\001\032d\n" + "\026DefaultConversionValue\022\022\n" + "\005value\030\001 \001(\001H\000\210\001\001\022\032\n\r" + "currency_code\030\002 \001(\tH\001\210\001\001B\010\n" @@ -526,9 +545,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030ConversionCountingMethod\022*\n" + "&CONVERSION_COUNTING_METHOD_UNSPECIFIED\020\000\022\022\n" + "\016ONCE_PER_EVENT\020\001\022\024\n" - + "\020ONCE_PER_SESSION\020\002:m\352Aj\n" - + "-analyticsadmin.googleapis.com/ConversionEven" - + "t\0229properties/{property}/conversionEvents/{conversion_event}B\033\n" + + "\020ONCE_PER_SESSION\020\002:\221\001\352A\215\001\n" + + "-analyticsadmin.googleapis.com/ConversionEvent\0229properties/{property}/conver" + + "sionEvents/{conversion_event}*\020conversionEvents2\017conversionEventB\033\n" + "\031_default_conversion_value\"\327\004\n" + "\010KeyEvent\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\027\n\n" @@ -537,10 +556,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\026\n" + "\tdeletable\030\004 \001(\010B\003\340A\003\022\023\n" + "\006custom\030\005 \001(\010B\003\340A\003\022U\n" - + "\017counting_method\030\006 \001(\01627.google." - + "analytics.admin.v1alpha.KeyEvent.CountingMethodB\003\340A\002\022Q\n\r" - + "default_value\030\007 \001(\01325.go" - + "ogle.analytics.admin.v1alpha.KeyEvent.DefaultValueB\003\340A\001\032F\n" + + "\017counting_method\030\006 \001(\01627.goo" + + "gle.analytics.admin.v1alpha.KeyEvent.CountingMethodB\003\340A\002\022Q\n\r" + + "default_value\030\007 \001(\0132" + + "5.google.analytics.admin.v1alpha.KeyEvent.DefaultValueB\003\340A\001\032F\n" + "\014DefaultValue\022\032\n\r" + "numeric_value\030\001 \001(\001B\003\340A\002\022\032\n\r" + "currency_code\030\002 \001(\tB\003\340A\002\"[\n" @@ -548,42 +567,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\033COUNTING_METHOD_UNSPECIFIED\020\000\022\022\n" + "\016ONCE_PER_EVENT\020\001\022\024\n" + "\020ONCE_PER_SESSION\020\002:m\352Aj\n" - + "&analyticsadmi" - + "n.googleapis.com/KeyEvent\022+properties/{property}/keyEvents/{key_event}*" + + "&analytics" + + "admin.googleapis.com/KeyEvent\022+properties/{property}/keyEvents/{key_event}*" + "\tkeyEvents2\010keyEvent\"\240\002\n" + "\025GoogleSignalsSettings\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022A\n" + "\005state\030\003 \001(\01622.google.analytics.admin.v1alpha.GoogleSignalsState\022J\n" - + "\007consent\030\004 \001(\01624.google.analytics." - + "admin.v1alpha.GoogleSignalsConsentB\003\340A\003:e\352Ab\n" - + "3analyticsadmin.googleapis.com/Goog" - + "leSignalsSettings\022+properties/{property}/googleSignalsSettings\"\274\003\n" + + "\007consent\030\004 \001(\01624.google.analyt" + + "ics.admin.v1alpha.GoogleSignalsConsentB\003\340A\003:e\352Ab\n" + + "3analyticsadmin.googleapis.com/" + + "GoogleSignalsSettings\022+properties/{property}/googleSignalsSettings\"\341\003\n" + "\017CustomDimension\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\036\n" + + "\004name\030\001 \001(\tB\003\340A\010\022\036\n" + "\016parameter_name\030\002 \001(\tB\006\340A\002\340A\005\022\031\n" + "\014display_name\030\003 \001(\tB\003\340A\002\022\030\n" + "\013description\030\004 \001(\tB\003\340A\001\022U\n" - + "\005scope\030\005 \001(" - + "\0162>.google.analytics.admin.v1alpha.CustomDimension.DimensionScopeB\006\340A\002\340A\005\022)\n" + + "\005scope\030\005" + + " \001(\0162>.google.analytics.admin.v1alpha.CustomDimension.DimensionScopeB\006\340A\002\340A\005\022)\n" + "\034disallow_ads_personalization\030\006 \001(\010B\003\340A\001\"P\n" + "\016DimensionScope\022\037\n" + "\033DIMENSION_SCOPE_UNSPECIFIED\020\000\022\t\n" + "\005EVENT\020\001\022\010\n" + "\004USER\020\002\022\010\n" - + "\004ITEM\020\003:m\352Aj\n" - + "-analyticsadmin.googleapis.com/Custo" - + "mDimension\0229properties/{property}/customDimensions/{custom_dimension}\"\305\006\n" + + "\004ITEM\020\003:\221\001\352A\215\001\n" + + "-analyticsadmin.googleapis.com/CustomDimension\0229properties/{property}/" + + "customDimensions/{custom_dimension}*\020customDimensions2\017customDimension\"\343\006\n" + "\014CustomMetric\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\036\n" + + "\004name\030\001 \001(\tB\003\340A\010\022\036\n" + "\016parameter_name\030\002 \001(\tB\006\340A\002\340A\005\022\031\n" + "\014display_name\030\003 \001(\tB\003\340A\002\022\030\n" + "\013description\030\004 \001(\tB\003\340A\001\022[\n" - + "\020measurement_unit\030\005 \001(\0162<.google.analytics.admi" - + "n.v1alpha.CustomMetric.MeasurementUnitB\003\340A\002\022O\n" - + "\005scope\030\006 \001(\01628.google.analytics.ad" - + "min.v1alpha.CustomMetric.MetricScopeB\006\340A\002\340A\005\022f\n" - + "\026restricted_metric_type\030\010 \003(\0162A.g" - + "oogle.analytics.admin.v1alpha.CustomMetric.RestrictedMetricTypeB\003\340A\001\"\267\001\n" + + "\020measurement_unit\030\005 \001(\0162<.google.analytics.adm" + + "in.v1alpha.CustomMetric.MeasurementUnitB\003\340A\002\022O\n" + + "\005scope\030\006 \001(\01628.google.analytics.a" + + "dmin.v1alpha.CustomMetric.MetricScopeB\006\340A\002\340A\005\022f\n" + + "\026restricted_metric_type\030\010 \003(\0162A." + + "google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricTypeB\003\340A\001\"\267\001\n" + "\017MeasurementUnit\022 \n" + "\034MEASUREMENT_UNIT_UNSPECIFIED\020\000\022\014\n" + "\010STANDARD\020\001\022\014\n" @@ -603,18 +622,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\024RestrictedMetricType\022&\n" + "\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\020\000\022\r\n" + "\tCOST_DATA\020\001\022\020\n" - + "\014REVENUE_DATA\020\002:d\352Aa\n" - + "*analyticsadmin.googleapis." - + "com/CustomMetric\0223properties/{property}/customMetrics/{custom_metric}\"\247\006\n" + + "\014REVENUE_DATA\020\002:\201\001\352A~\n" + + "*analyticsadmin.googleapi" + + "s.com/CustomMetric\0223properties/{property}/customMetrics/{custom_metric}*\r" + + "customMetrics2\014customMetric\"\247\006\n" + "\020CalculatedMetric\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\030\n" + + "\004name\030\001 \001(\tB\003\340A\010\022\030\n" + "\013description\030\002 \001(\tB\003\340A\001\022\031\n" + "\014display_name\030\003 \001(\tB\003\340A\002\022!\n" + "\024calculated_metric_id\030\004 \001(\tB\003\340A\003\022U\n" - + "\013metric_unit\030\005 \001(\0162;.google.analytics.ad" - + "min.v1alpha.CalculatedMetric.MetricUnitB\003\340A\002\022j\n" - + "\026restricted_metric_type\030\006 \003(\0162E.g" - + "oogle.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricTypeB\003\340A\003\022\024\n" + + "\013metric_unit\030\005" + + " \001(\0162;.google.analytics.admin.v1alpha.CalculatedMetric.MetricUnitB\003\340A\002\022j\n" + + "\026restricted_metric_type\030\006 \003(\0162E.google.ana" + + "lytics.admin.v1alpha.CalculatedMetric.RestrictedMetricTypeB\003\340A\003\022\024\n" + "\007formula\030\007 \001(\tB\003\340A\002\022%\n" + "\030invalid_metric_reference\030\t \001(\010B\003\340A\003\"\255\001\n\n" + "MetricUnit\022\033\n" @@ -634,15 +654,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\020\000\022\r\n" + "\tCOST_DATA\020\001\022\020\n" + "\014REVENUE_DATA\020\002:\226\001\352A\222\001\n" - + ".analyticsadmin.googleapis.com/CalculatedMetric\022;properties/{prope" - + "rty}/calculatedMetrics/{calculated_metri" - + "c}*\021calculatedMetrics2\020calculatedMetric\"\262\004\n" + + ".analyticsadmin.googleapis.com/CalculatedMetric\022;properties/{property}/calc" + + "ulatedMetrics/{calculated_metric}*\021calculatedMetrics2\020calculatedMetric\"\342\004\n" + "\025DataRetentionSettings\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022j\n" - + "\024event_data_retention\030\002 \001(\0162G.goo" - + "gle.analytics.admin.v1alpha.DataRetentionSettings.RetentionDurationB\003\340A\002\022i\n" - + "\023user_data_retention\030\004 \001(\0162G.google.analytics" - + ".admin.v1alpha.DataRetentionSettings.RetentionDurationB\003\340A\002\022\'\n" + + "\004name\030\001 \001(\tB\003\340A\010\022j\n" + + "\024event_data_retention\030\002 \001(\0162G.google.analy" + + "tics.admin.v1alpha.DataRetentionSettings.RetentionDurationB\003\340A\002\022i\n" + + "\023user_data_retention\030\004 \001(\0162G.google.analytics.admin.v1" + + "alpha.DataRetentionSettings.RetentionDurationB\003\340A\002\022\'\n" + "\037reset_user_data_on_new_activity\030\003 \001(\010\"\236\001\n" + "\021RetentionDuration\022\"\n" + "\036RETENTION_DURATION_UNSPECIFIED\020\000\022\016\n\n" @@ -650,22 +669,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017FOURTEEN_MONTHS\020\003\022\025\n" + "\021TWENTY_SIX_MONTHS\020\004\022\027\n" + "\023THIRTY_EIGHT_MONTHS\020\005\022\020\n" - + "\014FIFTY_MONTHS\020\006:e\352Ab\n" - + "3analyticsadmin.googleapis.com/DataRetentionSettings\022" - + "+properties/{property}/dataRetentionSettings\"\374\013\n" + + "\014FIFTY_MONTHS\020\006:\224\001\352A\220\001\n" + + "3analyticsadmin.googleapis.com/DataRetentionSettings\022+proper" + + "ties/{property}/dataRetentionSettings*\025d" + + "ataRetentionSettings2\025dataRetentionSettings\"\374\013\n" + "\023AttributionSettings\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\227\001\n" - + ",acquisition_conversion_event_lookback_window\030\002 \001(\0162\\.google.analytic" - + "s.admin.v1alpha.AttributionSettings.Acqu" - + "isitionConversionEventLookbackWindowB\003\340A\002\022\213\001\n" + + ",acquisition_conversion_event_lookback_window\030\002 \001(\0162\\.google.analytics" + + ".admin.v1alpha.AttributionSettings.Acqui" + + "sitionConversionEventLookbackWindowB\003\340A\002\022\213\001\n" + "&other_conversion_event_lookback_window\030\003" - + " \001(\0162V.google.analytics.admin.v1al" - + "pha.AttributionSettings.OtherConversionEventLookbackWindowB\003\340A\002\022w\n" - + "\033reporting_attribution_model\030\004 \001(\0162M.google.analytics." - + "admin.v1alpha.AttributionSettings.ReportingAttributionModelB\003\340A\002\022\206\001\n" - + "$ads_web_conversion_data_export_scope\030\005 \001(\0162S.google" - + ".analytics.admin.v1alpha.AttributionSett" - + "ings.AdsWebConversionDataExportScopeB\003\340A\002\"\333\001\n" + + " \001(\0162V.google.analytics.admin.v1alp" + + "ha.AttributionSettings.OtherConversionEventLookbackWindowB\003\340A\002\022w\n" + + "\033reporting_attribution_model\030\004 \001(\0162M.google.analytics.a" + + "dmin.v1alpha.AttributionSettings.Reporti", + "ngAttributionModelB\003\340A\002\022\206\001\n" + + "$ads_web_conversion_data_export_scope\030\005 \001(\0162S.google." + + "analytics.admin.v1alpha.AttributionSetti" + + "ngs.AdsWebConversionDataExportScopeB\003\340A\002\"\333\001\n" + "(AcquisitionConversionEventLookbackWindow\022<\n" + "8ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\020\000\0227\n" + "3ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS\020\001\0228\n" @@ -679,22 +700,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\'REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED\020\000\022)\n" + "%PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN\020\001\022(\n" + "$PAID_AND_ORGANIC_CHANNELS_LAST_CLICK\020\002\022#\n" - + "\037GO", - "OGLE_PAID_CHANNELS_LAST_CLICK\020\007\"\246\001\n" + + "\037GOOGLE_PAID_CHANNELS_LAST_CLICK\020\007\"\246\001\n" + "\037AdsWebConversionDataExportScope\0224\n" + "0ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED\020\000\022\024\n" + "\020NOT_SELECTED_YET\020\001\022\035\n" + "\031PAID_AND_ORGANIC_CHANNELS\020\002\022\030\n" + "\024GOOGLE_PAID_CHANNELS\020\003:a\352A^\n" - + "1analyticsadmin.googleapis.com/Att" - + "ributionSettings\022)properties/{property}/attributionSettings\"\361\001\n\r" + + "1analyticsadmin.googleapis.com/Attr" + + "ibutionSettings\022)properties/{property}/attributionSettings\"\361\001\n\r" + "AccessBinding\022\016\n" + "\004user\030\002 \001(\tH\000\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\r\n" + "\005roles\030\003 \003(\t:\234\001\352A\230\001\n" - + "+analyticsadmin.googleapis.com/AccessBinding\0222accounts/{account}/" - + "accessBindings/{access_binding}\0225propert" - + "ies/{property}/accessBindings/{access_binding}B\017\n\r" + + "+analyticsadmin.googleapis.com/AccessBinding\0222accounts/{account}/a" + + "ccessBindings/{access_binding}\0225properti" + + "es/{property}/accessBindings/{access_binding}B\017\n\r" + "access_target\"\252\003\n" + "\014BigQueryLink\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\024\n" @@ -709,8 +729,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017excluded_events\030\010 \003(\t\022 \n" + "\020dataset_location\030\n" + " \001(\tB\006\340A\005\340A\002:d\352Aa\n" - + "*analyticsadmin.googleapis.com/BigQueryLink\022" - + "3properties/{property}/bigQueryLinks/{bigquery_link}\"\363\003\n" + + "*analyticsadmin.googleapis.com/BigQueryLink\0223" + + "properties/{property}/bigQueryLinks/{bigquery_link}\"\363\003\n" + "\033EnhancedMeasurementSettings\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\026\n" + "\016stream_enabled\030\002 \001(\010\022\027\n" @@ -724,30 +744,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026search_query_parameter\030\n" + " \001(\tB\003\340A\002\022\033\n" + "\023uri_query_parameter\030\013 \001(\t:\214\001\352A\210\001\n" - + "9analyticsadmin.googleapis.com/EnhancedMeasurementSettings\022Kp" - + "roperties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings\"\225\002\n" + + "9analyticsadmin.googleapis.com/EnhancedMeasurementSettings\022Kpr" + + "operties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings\"\225\002\n" + "\025DataRedactionSettings\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\037\n" + "\027email_redaction_enabled\030\002 \001(\010\022)\n" + "!query_parameter_redaction_enabled\030\003 \001(\010\022\034\n" + "\024query_parameter_keys\030\004 \003(\t:\177\352A|\n" - + "3analyticsadmin.googleapis.com/DataRedactionSetti" - + "ngs\022Eproperties/{property}/dataStreams/{data_stream}/dataRedactionSettings\"\240\001\n" + + "3analyticsadmin.googleapis.com/DataRedactionSettin" + + "gs\022Eproperties/{property}/dataStreams/{data_stream}/dataRedactionSettings\"\240\001\n" + "\013AdSenseLink\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\033\n" + "\016ad_client_code\030\002 \001(\tB\003\340A\005:a\352A^\n" - + ")analyticsadmin.googleapis.com/AdSenseLink\0221properties/{" - + "property}/adSenseLinks/{adsense_link}\"\216\002\n" + + ")analyticsadmin.g" + + "oogleapis.com/AdSenseLink\0221properties/{property}/adSenseLinks/{adsense_link}\"\216\002\n" + "\030RollupPropertySourceLink\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\034\n" + "\017source_property\030\002 \001(\tB\003\340A\005:\300\001\352A\274\001\n" - + "6analyticsadmin.googleapis.com/RollupPropertySourceLink\022Mproperties/{property" - + "}/rollupPropertySourceLinks/{rollup_prop" - + "erty_source_link}*\031rollupPropertySourceLinks2\030rollupPropertySourceLink\"\366\005\n" + + "6analyticsadmin.googleapis.com/RollupPropertySourceLink\022Mproperties/{property}" + + "/rollupPropertySourceLinks/{rollup_prope" + + "rty_source_link}*\031rollupPropertySourceLinks2\030rollupPropertySourceLink\"\366\005\n" + "\027ReportingDataAnnotation\022,\n" + "\017annotation_date\030\004 \001(\0132\021.google.type.DateH\000\022b\n" - + "\025annotation_date_range\030\005 \001(\0132A.google.analytics.admin" - + ".v1alpha.ReportingDataAnnotation.DateRangeH\000\022\024\n" + + "\025annotation_date_range\030\005 \001(\0132A.google.analytics.admin." + + "v1alpha.ReportingDataAnnotation.DateRangeH\000\022\024\n" + "\004name\030\001 \001(\tB\006\340A\010\340A\002\022\022\n" + "\005title\030\002 \001(\tB\003\340A\002\022\030\n" + "\013description\030\003 \001(\tB\003\340A\001\022Q\n" @@ -766,35 +786,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003RED\020\005\022\010\n" + "\004CYAN\020\006\022\n\n" + "\006ORANGE\020\007:\272\001\352A\266\001\n" - + "5analyticsadmin.googleapis.com/ReportingDataAnnotation\022Jproperties/{property}/re" - + "portingDataAnnotations/{reporting_data_a" - + "nnotation}*\030reportingDataAnnotations2\027reportingDataAnnotationB\010\n" + + "5analyticsadmin.googleapis.com/ReportingDataAnnotation\022Jproperties/{property}/rep" + + "ortingDataAnnotations/{reporting_data_an" + + "notation}*\030reportingDataAnnotations2\027reportingDataAnnotationB\010\n" + "\006target\"\322\003\n" + "\025SubpropertySyncConfig\022\024\n" + "\004name\030\001 \001(\tB\006\340A\010\340A\003\022!\n" + "\021apply_to_property\030\002 \001(\tB\006\340A\005\340A\003\022}\n" - + "%custom_dimension_and_metric_sync_mode\030\003 \001(" - + "\0162I.google.analytics.admin.v1alpha.Subpr" - + "opertySyncConfig.SynchronizationModeB\003\340A\002\"N\n" + + "%custom_dimension_and_metric_sync_mode\030\003 \001(\016" + + "2I.google.analytics.admin.v1alpha.Subpro" + + "pertySyncConfig.SynchronizationModeB\003\340A\002\"N\n" + "\023SynchronizationMode\022$\n" + " SYNCHRONIZATION_MODE_UNSPECIFIED\020\000\022\010\n" + "\004NONE\020\001\022\007\n" + "\003ALL\020\002:\260\001\352A\254\001\n" - + "3analyticsadmin.googleapis.com/SubpropertySyncConfig\022Fproperties/{prope" - + "rty}/subpropertySyncConfigs/{subproperty" - + "_sync_config}*\026subpropertySyncConfigs2\025subpropertySyncConfig\"\257\003\n" + + "3analyticsadmin.googleapis.com/SubpropertySyncConfig\022Fproperties/{proper" + + "ty}/subpropertySyncConfigs/{subproperty_" + + "sync_config}*\026subpropertySyncConfigs2\025subpropertySyncConfig\"\257\003\n" + "\031ReportingIdentitySettings\022\024\n" + "\004name\030\001 \001(\tB\006\340A\010\340A\003\022g\n" - + "\022reporting_identity\030\002 \001(\0162K.google.analytics." - + "admin.v1alpha.ReportingIdentitySettings.ReportingIdentity\"l\n" + + "\022reporting_identity\030\002 \001(\0162K.google.analytics.a" + + "dmin.v1alpha.ReportingIdentitySettings.ReportingIdentity\"l\n" + "\021ReportingIdentity\022*\n" + "&IDENTITY_BLENDING_STRATEGY_UNSPECIFIED\020\000\022\013\n" + "\007BLENDED\020\001\022\014\n" + "\010OBSERVED\020\002\022\020\n" + "\014DEVICE_BASED\020\003:\244\001\352A\240\001\n" - + "7analyticsadmin.googleapis.com/ReportingIdentitySettings\022/propert" - + "ies/{property}/reportingIdentitySettings" - + "*\031reportingIdentitySettings2\031reportingIdentitySettings*\252\004\n" + + "7analyticsadmin.googleapis.com/ReportingIdentitySettings\022/properti" + + "es/{property}/reportingIdentitySettings*" + + "\031reportingIdentitySettings2\031reportingIdentitySettings\"\301\002\n" + + "\030UserProvidedDataSettings\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\010\0222\n" + + "%user_provided_data_collection_enabled\030\002 \001(\010B\003\340A\001\022;\n" + + ".automatically_detected_data_collection_enabled\030\003" + + " \001(\010B\003\340A\001:\240\001\352A\234\001\n" + + "6analyticsadmin.googleapis.com/UserProvidedDataSettings\022.p" + + "roperties/{property}/userProvidedDataSet" + + "tings*\030userProvidedDataSettings2\030userProvidedDataSettings*\252\004\n" + "\020IndustryCategory\022!\n" + "\035INDUSTRY_CATEGORY_UNSPECIFIED\020\000\022\016\n\n" + "AUTOMOTIVE\020\001\022#\n" @@ -838,7 +866,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\027ACTION_TYPE_UNSPECIFIED\020\000\022\013\n" + "\007CREATED\020\001\022\013\n" + "\007UPDATED\020\002\022\013\n" - + "\007DELETED\020\003*\241\006\n" + + "\007DELETED\020\003*\302\006\n" + "\031ChangeHistoryResourceType\022,\n" + "(CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED\020\000\022\013\n" + "\007ACCOUNT\020\001\022\014\n" @@ -871,7 +899,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021CALCULATED_METRIC\020\037\022\035\n" + "\031REPORTING_DATA_ANNOTATION\020 \022\033\n" + "\027SUBPROPERTY_SYNC_CONFIG\020!\022\037\n" - + "\033REPORTING_IDENTITY_SETTINGS\020\"*s\n" + + "\033REPORTING_IDENTITY_SETTINGS\020\"\022\037\n" + + "\033USER_PROVIDED_DATA_SETTINGS\020#*s\n" + "\022GoogleSignalsState\022$\n" + " GOOGLE_SIGNALS_STATE_UNSPECIFIED\020\000\022\032\n" + "\026GOOGLE_SIGNALS_ENABLED\020\001\022\033\n" @@ -902,10 +931,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020COARSE_VALUE_LOW\020\001\022\027\n" + "\023COARSE_VALUE_MEDIUM\020\002\022\025\n" + "\021COARSE_VALUE_HIGH\020\003B\313\001\n" - + "\"com.google.analytics.admin.v1alphaB\016Resource" - + "sProtoP\001Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb\352AR\n" - + "2marketingplatformadmin.googleapis.com/Organ" - + "ization\022\034organizations/{organization}b\006proto3" + + "\"com.google.analytics.admin.v1alphaB\016ResourcesPro" + + "toP\001Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb\352AR\n" + + "2marketingplatformadmin.googleapis.com/Organizat" + + "ion\022\034organizations/{organization}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1150,6 +1179,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReportingDataAnnotation", "SubpropertySyncConfig", "ReportingIdentitySettings", + "UserProvidedDataSettings", "Resource", }); internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = @@ -1426,6 +1456,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", "ReportingIdentity", }); + internal_static_google_analytics_admin_v1alpha_UserProvidedDataSettings_descriptor = + getDescriptor().getMessageType(37); + internal_static_google_analytics_admin_v1alpha_UserProvidedDataSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UserProvidedDataSettings_descriptor, + new java.lang.String[] { + "Name", + "UserProvidedDataCollectionEnabled", + "AutomaticallyDetectedDataCollectionEnabled", + }); descriptor.resolveAllFeaturesImmutable(); com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(); com.google.analytics.admin.v1alpha.ChannelGroupProto.getDescriptor(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchema.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchema.java index c597dc2f25e9..8c7275fc5e6c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchema.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchema.java @@ -81,13 +81,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. Resource name of the schema. This will be child of ONLY an iOS
+   * Identifier. Resource name of the schema. This will be child of ONLY an iOS
    * stream, and there can be at most one such child under an iOS stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -108,13 +108,13 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name of the schema. This will be child of ONLY an iOS
+   * Identifier. Resource name of the schema. This will be child of ONLY an iOS
    * stream, and there can be at most one such child under an iOS stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -840,13 +840,13 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name of the schema. This will be child of ONLY an iOS
+     * Identifier. Resource name of the schema. This will be child of ONLY an iOS
      * stream, and there can be at most one such child under an iOS stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -866,13 +866,13 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name of the schema. This will be child of ONLY an iOS
+     * Identifier. Resource name of the schema. This will be child of ONLY an iOS
      * stream, and there can be at most one such child under an iOS stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -892,13 +892,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name of the schema. This will be child of ONLY an iOS
+     * Identifier. Resource name of the schema. This will be child of ONLY an iOS
      * stream, and there can be at most one such child under an iOS stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -917,13 +917,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name of the schema. This will be child of ONLY an iOS
+     * Identifier. Resource name of the schema. This will be child of ONLY an iOS
      * stream, and there can be at most one such child under an iOS stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -938,13 +938,13 @@ public Builder clearName() { * * *
-     * Output only. Resource name of the schema. This will be child of ONLY an iOS
+     * Identifier. Resource name of the schema. This will be child of ONLY an iOS
      * stream, and there can be at most one such child under an iOS stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchemaOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchemaOrBuilder.java index cef791be5f25..6e1cedcc2c86 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchemaOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchemaOrBuilder.java @@ -30,13 +30,13 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder * * *
-   * Output only. Resource name of the schema. This will be child of ONLY an iOS
+   * Identifier. Resource name of the schema. This will be child of ONLY an iOS
    * stream, and there can be at most one such child under an iOS stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -46,13 +46,13 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder * * *
-   * Output only. Resource name of the schema. This will be child of ONLY an iOS
+   * Identifier. Resource name of the schema. This will be child of ONLY an iOS
    * stream, and there can be at most one such child under an iOS stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java index 6b0445615fe6..f3d4e99f8a61 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java @@ -82,13 +82,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. The resource name for this SearchAds360Link resource.
+   * Identifier. The resource name for this SearchAds360Link resource.
    * Format: properties/{propertyId}/searchAds360Links/{linkId}
    *
    * Note: linkId is not the Search Ads 360 advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -109,13 +109,13 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name for this SearchAds360Link resource.
+   * Identifier. The resource name for this SearchAds360Link resource.
    * Format: properties/{propertyId}/searchAds360Links/{linkId}
    *
    * Note: linkId is not the Search Ads 360 advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1027,13 +1027,13 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name for this SearchAds360Link resource.
+     * Identifier. The resource name for this SearchAds360Link resource.
      * Format: properties/{propertyId}/searchAds360Links/{linkId}
      *
      * Note: linkId is not the Search Ads 360 advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1053,13 +1053,13 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name for this SearchAds360Link resource.
+     * Identifier. The resource name for this SearchAds360Link resource.
      * Format: properties/{propertyId}/searchAds360Links/{linkId}
      *
      * Note: linkId is not the Search Ads 360 advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1079,13 +1079,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name for this SearchAds360Link resource.
+     * Identifier. The resource name for this SearchAds360Link resource.
      * Format: properties/{propertyId}/searchAds360Links/{linkId}
      *
      * Note: linkId is not the Search Ads 360 advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1104,13 +1104,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name for this SearchAds360Link resource.
+     * Identifier. The resource name for this SearchAds360Link resource.
      * Format: properties/{propertyId}/searchAds360Links/{linkId}
      *
      * Note: linkId is not the Search Ads 360 advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1125,13 +1125,13 @@ public Builder clearName() { * * *
-     * Output only. The resource name for this SearchAds360Link resource.
+     * Identifier. The resource name for this SearchAds360Link resource.
      * Format: properties/{propertyId}/searchAds360Links/{linkId}
      *
      * Note: linkId is not the Search Ads 360 advertiser ID
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java index 1e763c2bcce8..392bb835ef27 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java @@ -30,13 +30,13 @@ public interface SearchAds360LinkOrBuilder * * *
-   * Output only. The resource name for this SearchAds360Link resource.
+   * Identifier. The resource name for this SearchAds360Link resource.
    * Format: properties/{propertyId}/searchAds360Links/{linkId}
    *
    * Note: linkId is not the Search Ads 360 advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -46,13 +46,13 @@ public interface SearchAds360LinkOrBuilder * * *
-   * Output only. The resource name for this SearchAds360Link resource.
+   * Identifier. The resource name for this SearchAds360Link resource.
    * Format: properties/{propertyId}/searchAds360Links/{linkId}
    *
    * Note: linkId is not the Search Ads 360 advertiser ID
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettings.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettings.java new file mode 100644 index 000000000000..9e9537d1e85e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettings.java @@ -0,0 +1,843 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/analytics/admin/v1alpha/resources.proto +// Protobuf Java Version: 4.33.2 + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * Configuration for user-provided data collection. This is a singleton resource
+ * for a Google Analytics property.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.UserProvidedDataSettings} + */ +@com.google.protobuf.Generated +public final class UserProvidedDataSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UserProvidedDataSettings) + UserProvidedDataSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "UserProvidedDataSettings"); + } + + // Use UserProvidedDataSettings.newBuilder() to construct. + private UserProvidedDataSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private UserProvidedDataSettings() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_UserProvidedDataSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_UserProvidedDataSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.UserProvidedDataSettings.class, + com.google.analytics.admin.v1alpha.UserProvidedDataSettings.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Identifier. Resource name of this setting.
+   * Format: properties/{property}/userProvidedDataSettings
+   * Example: "properties/1000/userProvidedDataSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Identifier. Resource name of this setting.
+   * Format: properties/{property}/userProvidedDataSettings
+   * Example: "properties/1000/userProvidedDataSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int USER_PROVIDED_DATA_COLLECTION_ENABLED_FIELD_NUMBER = 2; + private boolean userProvidedDataCollectionEnabled_ = false; + + /** + * + * + *
+   * Optional. Whether this property accepts user-provided data sent to it.
+   * 
+ * + * bool user_provided_data_collection_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The userProvidedDataCollectionEnabled. + */ + @java.lang.Override + public boolean getUserProvidedDataCollectionEnabled() { + return userProvidedDataCollectionEnabled_; + } + + public static final int AUTOMATICALLY_DETECTED_DATA_COLLECTION_ENABLED_FIELD_NUMBER = 3; + private boolean automaticallyDetectedDataCollectionEnabled_ = false; + + /** + * + * + *
+   * Optional. Whether this property allows a Google Tag to automatically
+   * collect user-provided data from your website. This setting only takes
+   * effect if `user_provided_data_collection_enabled` is also true.
+   * 
+ * + * + * bool automatically_detected_data_collection_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The automaticallyDetectedDataCollectionEnabled. + */ + @java.lang.Override + public boolean getAutomaticallyDetectedDataCollectionEnabled() { + return automaticallyDetectedDataCollectionEnabled_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (userProvidedDataCollectionEnabled_ != false) { + output.writeBool(2, userProvidedDataCollectionEnabled_); + } + if (automaticallyDetectedDataCollectionEnabled_ != false) { + output.writeBool(3, automaticallyDetectedDataCollectionEnabled_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (userProvidedDataCollectionEnabled_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 2, userProvidedDataCollectionEnabled_); + } + if (automaticallyDetectedDataCollectionEnabled_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 3, automaticallyDetectedDataCollectionEnabled_); + } + 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.analytics.admin.v1alpha.UserProvidedDataSettings)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.UserProvidedDataSettings other = + (com.google.analytics.admin.v1alpha.UserProvidedDataSettings) obj; + + if (!getName().equals(other.getName())) return false; + if (getUserProvidedDataCollectionEnabled() != other.getUserProvidedDataCollectionEnabled()) + return false; + if (getAutomaticallyDetectedDataCollectionEnabled() + != other.getAutomaticallyDetectedDataCollectionEnabled()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + USER_PROVIDED_DATA_COLLECTION_ENABLED_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getUserProvidedDataCollectionEnabled()); + hash = (37 * hash) + AUTOMATICALLY_DETECTED_DATA_COLLECTION_ENABLED_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean( + getAutomaticallyDetectedDataCollectionEnabled()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings 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.analytics.admin.v1alpha.UserProvidedDataSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UserProvidedDataSettings prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Configuration for user-provided data collection. This is a singleton resource
+   * for a Google Analytics property.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.UserProvidedDataSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UserProvidedDataSettings) + com.google.analytics.admin.v1alpha.UserProvidedDataSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_UserProvidedDataSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_UserProvidedDataSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.UserProvidedDataSettings.class, + com.google.analytics.admin.v1alpha.UserProvidedDataSettings.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.UserProvidedDataSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + userProvidedDataCollectionEnabled_ = false; + automaticallyDetectedDataCollectionEnabled_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_UserProvidedDataSettings_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.UserProvidedDataSettings getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UserProvidedDataSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.UserProvidedDataSettings build() { + com.google.analytics.admin.v1alpha.UserProvidedDataSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.UserProvidedDataSettings buildPartial() { + com.google.analytics.admin.v1alpha.UserProvidedDataSettings result = + new com.google.analytics.admin.v1alpha.UserProvidedDataSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.UserProvidedDataSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.userProvidedDataCollectionEnabled_ = userProvidedDataCollectionEnabled_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.automaticallyDetectedDataCollectionEnabled_ = + automaticallyDetectedDataCollectionEnabled_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.UserProvidedDataSettings) { + return mergeFrom((com.google.analytics.admin.v1alpha.UserProvidedDataSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.UserProvidedDataSettings other) { + if (other == com.google.analytics.admin.v1alpha.UserProvidedDataSettings.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getUserProvidedDataCollectionEnabled() != false) { + setUserProvidedDataCollectionEnabled(other.getUserProvidedDataCollectionEnabled()); + } + if (other.getAutomaticallyDetectedDataCollectionEnabled() != false) { + setAutomaticallyDetectedDataCollectionEnabled( + other.getAutomaticallyDetectedDataCollectionEnabled()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + userProvidedDataCollectionEnabled_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + automaticallyDetectedDataCollectionEnabled_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * Identifier. Resource name of this setting.
+     * Format: properties/{property}/userProvidedDataSettings
+     * Example: "properties/1000/userProvidedDataSettings"
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Identifier. Resource name of this setting.
+     * Format: properties/{property}/userProvidedDataSettings
+     * Example: "properties/1000/userProvidedDataSettings"
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Identifier. Resource name of this setting.
+     * Format: properties/{property}/userProvidedDataSettings
+     * Example: "properties/1000/userProvidedDataSettings"
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Identifier. Resource name of this setting.
+     * Format: properties/{property}/userProvidedDataSettings
+     * Example: "properties/1000/userProvidedDataSettings"
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Identifier. Resource name of this setting.
+     * Format: properties/{property}/userProvidedDataSettings
+     * Example: "properties/1000/userProvidedDataSettings"
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean userProvidedDataCollectionEnabled_; + + /** + * + * + *
+     * Optional. Whether this property accepts user-provided data sent to it.
+     * 
+ * + * + * bool user_provided_data_collection_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The userProvidedDataCollectionEnabled. + */ + @java.lang.Override + public boolean getUserProvidedDataCollectionEnabled() { + return userProvidedDataCollectionEnabled_; + } + + /** + * + * + *
+     * Optional. Whether this property accepts user-provided data sent to it.
+     * 
+ * + * + * bool user_provided_data_collection_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The userProvidedDataCollectionEnabled to set. + * @return This builder for chaining. + */ + public Builder setUserProvidedDataCollectionEnabled(boolean value) { + + userProvidedDataCollectionEnabled_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Whether this property accepts user-provided data sent to it.
+     * 
+ * + * + * bool user_provided_data_collection_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearUserProvidedDataCollectionEnabled() { + bitField0_ = (bitField0_ & ~0x00000002); + userProvidedDataCollectionEnabled_ = false; + onChanged(); + return this; + } + + private boolean automaticallyDetectedDataCollectionEnabled_; + + /** + * + * + *
+     * Optional. Whether this property allows a Google Tag to automatically
+     * collect user-provided data from your website. This setting only takes
+     * effect if `user_provided_data_collection_enabled` is also true.
+     * 
+ * + * + * bool automatically_detected_data_collection_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The automaticallyDetectedDataCollectionEnabled. + */ + @java.lang.Override + public boolean getAutomaticallyDetectedDataCollectionEnabled() { + return automaticallyDetectedDataCollectionEnabled_; + } + + /** + * + * + *
+     * Optional. Whether this property allows a Google Tag to automatically
+     * collect user-provided data from your website. This setting only takes
+     * effect if `user_provided_data_collection_enabled` is also true.
+     * 
+ * + * + * bool automatically_detected_data_collection_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The automaticallyDetectedDataCollectionEnabled to set. + * @return This builder for chaining. + */ + public Builder setAutomaticallyDetectedDataCollectionEnabled(boolean value) { + + automaticallyDetectedDataCollectionEnabled_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Whether this property allows a Google Tag to automatically
+     * collect user-provided data from your website. This setting only takes
+     * effect if `user_provided_data_collection_enabled` is also true.
+     * 
+ * + * + * bool automatically_detected_data_collection_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearAutomaticallyDetectedDataCollectionEnabled() { + bitField0_ = (bitField0_ & ~0x00000004); + automaticallyDetectedDataCollectionEnabled_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UserProvidedDataSettings) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UserProvidedDataSettings) + private static final com.google.analytics.admin.v1alpha.UserProvidedDataSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UserProvidedDataSettings(); + } + + public static com.google.analytics.admin.v1alpha.UserProvidedDataSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserProvidedDataSettings 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.analytics.admin.v1alpha.UserProvidedDataSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettingsName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettingsName.java new file mode 100644 index 000000000000..b59c5571dc64 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettingsName.java @@ -0,0 +1,169 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class UserProvidedDataSettingsName implements ResourceName { + private static final PathTemplate PROPERTY = + PathTemplate.createWithoutUrlEncoding("properties/{property}/userProvidedDataSettings"); + private volatile Map fieldValuesMap; + private final String property; + + @Deprecated + protected UserProvidedDataSettingsName() { + property = null; + } + + private UserProvidedDataSettingsName(Builder builder) { + property = Preconditions.checkNotNull(builder.getProperty()); + } + + public String getProperty() { + return property; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static UserProvidedDataSettingsName of(String property) { + return newBuilder().setProperty(property).build(); + } + + public static String format(String property) { + return newBuilder().setProperty(property).build().toString(); + } + + public static UserProvidedDataSettingsName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROPERTY.validatedMatch( + formattedString, + "UserProvidedDataSettingsName.parse: formattedString not in valid format"); + return of(matchMap.get("property")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (UserProvidedDataSettingsName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROPERTY.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (property != null) { + fieldMapBuilder.put("property", property); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROPERTY.instantiate("property", property); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + UserProvidedDataSettingsName that = ((UserProvidedDataSettingsName) o); + return Objects.equals(this.property, that.property); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(property); + return h; + } + + /** Builder for properties/{property}/userProvidedDataSettings. */ + public static class Builder { + private String property; + + protected Builder() {} + + public String getProperty() { + return property; + } + + public Builder setProperty(String property) { + this.property = property; + return this; + } + + private Builder(UserProvidedDataSettingsName userProvidedDataSettingsName) { + this.property = userProvidedDataSettingsName.property; + } + + public UserProvidedDataSettingsName build() { + return new UserProvidedDataSettingsName(this); + } + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettingsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettingsOrBuilder.java new file mode 100644 index 000000000000..ef042c9d9ea1 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserProvidedDataSettingsOrBuilder.java @@ -0,0 +1,89 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/analytics/admin/v1alpha/resources.proto +// Protobuf Java Version: 4.33.2 + +package com.google.analytics.admin.v1alpha; + +@com.google.protobuf.Generated +public interface UserProvidedDataSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UserProvidedDataSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Identifier. Resource name of this setting.
+   * Format: properties/{property}/userProvidedDataSettings
+   * Example: "properties/1000/userProvidedDataSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Identifier. Resource name of this setting.
+   * Format: properties/{property}/userProvidedDataSettings
+   * Example: "properties/1000/userProvidedDataSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. Whether this property accepts user-provided data sent to it.
+   * 
+ * + * bool user_provided_data_collection_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The userProvidedDataCollectionEnabled. + */ + boolean getUserProvidedDataCollectionEnabled(); + + /** + * + * + *
+   * Optional. Whether this property allows a Google Tag to automatically
+   * collect user-provided data from your website. This setting only takes
+   * effect if `user_provided_data_collection_enabled` is also true.
+   * 
+ * + * + * bool automatically_detected_data_collection_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The automaticallyDetectedDataCollectionEnabled. + */ + boolean getAutomaticallyDetectedDataCollectionEnabled(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto index a1d497d16ada..567686a65507 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto index 2b5ea77d99de..af2055300082 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -1602,7 +1602,7 @@ service AnalyticsAdminService { option (google.api.method_signature) = "name"; } - // Returns the singleton data retention settings for this property. + // Returns the reporting identity settings for this property. rpc GetReportingIdentitySettings(GetReportingIdentitySettingsRequest) returns (ReportingIdentitySettings) { option (google.api.http) = { @@ -1610,6 +1610,15 @@ service AnalyticsAdminService { }; option (google.api.method_signature) = "name"; } + + // Looks up settings related to user-provided data for a property. + rpc GetUserProvidedDataSettings(GetUserProvidedDataSettingsRequest) + returns (UserProvidedDataSettings) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/userProvidedDataSettings}" + }; + option (google.api.method_signature) = "name"; + } } // The request for a Data Access Record Report. @@ -1750,17 +1759,17 @@ message GetAccountRequest { // Request message for ListAccounts RPC. message ListAccountsRequest { - // The maximum number of resources to return. The service may return + // Optional. The maximum number of resources to return. The service may return // fewer than this value, even if there are additional pages. // If unspecified, at most 50 resources will be returned. // The maximum value is 200; (higher values will be coerced to the maximum) - int32 page_size = 1; + int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL]; - // A page token, received from a previous `ListAccounts` call. + // Optional. A page token, received from a previous `ListAccounts` call. // Provide this to retrieve the subsequent page. // When paginating, all other parameters provided to `ListAccounts` must // match the call that provided the page token. - string page_token = 2; + string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; // Whether to include soft-deleted (ie: "trashed") Accounts in the // results. Accounts can be inspected to determine whether they are deleted or @@ -1854,17 +1863,17 @@ message ListPropertiesRequest { // ``` string filter = 1 [(google.api.field_behavior) = REQUIRED]; - // The maximum number of resources to return. The service may return + // Optional. The maximum number of resources to return. The service may return // fewer than this value, even if there are additional pages. // If unspecified, at most 50 resources will be returned. // The maximum value is 200; (higher values will be coerced to the maximum) - int32 page_size = 2; + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // A page token, received from a previous `ListProperties` call. + // Optional. A page token, received from a previous `ListProperties` call. // Provide this to retrieve the subsequent page. // When paginating, all other parameters provided to `ListProperties` must // match the call that provided the page token. - string page_token = 3; + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; // Whether to include soft-deleted (ie: "trashed") Properties in the // results. Properties can be inspected to determine whether they are deleted @@ -1958,17 +1967,17 @@ message ListFirebaseLinksRequest { } ]; - // The maximum number of resources to return. The service may return + // Optional. The maximum number of resources to return. The service may return // fewer than this value, even if there are additional pages. // If unspecified, at most 50 resources will be returned. // The maximum value is 200; (higher values will be coerced to the maximum) - int32 page_size = 2; + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // A page token, received from a previous `ListFirebaseLinks` call. + // Optional. A page token, received from a previous `ListFirebaseLinks` call. // Provide this to retrieve the subsequent page. // When paginating, all other parameters provided to `ListFirebaseLinks` must // match the call that provided the page token. - string page_token = 3; + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListFirebaseLinks RPC @@ -2046,17 +2055,17 @@ message ListGoogleAdsLinksRequest { } ]; - // The maximum number of resources to return. + // Optional. The maximum number of resources to return. // If unspecified, at most 50 resources will be returned. // The maximum value is 200 (higher values will be coerced to the maximum). - int32 page_size = 2; + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // A page token, received from a previous `ListGoogleAdsLinks` call. + // Optional. A page token, received from a previous `ListGoogleAdsLinks` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListGoogleAdsLinks` must // match the call that provided the page token. - string page_token = 3; + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListGoogleAdsLinks RPC. @@ -2085,17 +2094,17 @@ message GetDataSharingSettingsRequest { // Request message for ListAccountSummaries RPC. message ListAccountSummariesRequest { - // The maximum number of AccountSummary resources to return. The service may - // return fewer than this value, even if there are additional pages. - // If unspecified, at most 50 resources will be returned. - // The maximum value is 200; (higher values will be coerced to the maximum) - int32 page_size = 1; + // Optional. The maximum number of AccountSummary resources to return. The + // service may return fewer than this value, even if there are additional + // pages. If unspecified, at most 50 resources will be returned. The maximum + // value is 200; (higher values will be coerced to the maximum) + int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL]; - // A page token, received from a previous `ListAccountSummaries` call. - // Provide this to retrieve the subsequent page. - // When paginating, all other parameters provided to `ListAccountSummaries` - // must match the call that provided the page token. - string page_token = 2; + // Optional. A page token, received from a previous `ListAccountSummaries` + // call. Provide this to retrieve the subsequent page. When paginating, all + // other parameters provided to `ListAccountSummaries` must match the call + // that provided the page token. + string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListAccountSummaries RPC. @@ -2273,16 +2282,17 @@ message ListMeasurementProtocolSecretsRequest { } ]; - // The maximum number of resources to return. + // Optional. The maximum number of resources to return. // If unspecified, at most 10 resources will be returned. // The maximum value is 10. Higher values will be coerced to the maximum. - int32 page_size = 2; + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // A page token, received from a previous `ListMeasurementProtocolSecrets` - // call. Provide this to retrieve the subsequent page. When paginating, all - // other parameters provided to `ListMeasurementProtocolSecrets` must match - // the call that provided the page token. - string page_token = 3; + // Optional. A page token, received from a previous + // `ListMeasurementProtocolSecrets` call. Provide this to retrieve the + // subsequent page. When paginating, all other parameters provided to + // `ListMeasurementProtocolSecrets` must match the call that provided the page + // token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListMeasurementProtocolSecret RPC @@ -2362,18 +2372,18 @@ message ListSKAdNetworkConversionValueSchemasRequest { } ]; - // The maximum number of resources to return. The service may return + // Optional. The maximum number of resources to return. The service may return // fewer than this value, even if there are additional pages. // If unspecified, at most 50 resources will be returned. // The maximum value is 200; (higher values will be coerced to the maximum) - int32 page_size = 2; + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // A page token, received from a previous + // Optional. A page token, received from a previous // `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the // subsequent page. When paginating, all other parameters provided to // `ListSKAdNetworkConversionValueSchema` must match the call that provided // the page token. - string page_token = 3; + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListSKAdNetworkConversionValueSchemas RPC @@ -2484,16 +2494,16 @@ message ListConversionEventsRequest { } ]; - // The maximum number of resources to return. + // Optional. The maximum number of resources to return. // If unspecified, at most 50 resources will be returned. // The maximum value is 200; (higher values will be coerced to the maximum) - int32 page_size = 2; + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // A page token, received from a previous `ListConversionEvents` call. - // Provide this to retrieve the subsequent page. - // When paginating, all other parameters provided to `ListConversionEvents` - // must match the call that provided the page token. - string page_token = 3; + // Optional. A page token, received from a previous `ListConversionEvents` + // call. Provide this to retrieve the subsequent page. When paginating, all + // other parameters provided to `ListConversionEvents` must match the call + // that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListConversionEvents RPC. @@ -2572,16 +2582,16 @@ message ListKeyEventsRequest { } ]; - // The maximum number of resources to return. + // Optional. The maximum number of resources to return. // If unspecified, at most 50 resources will be returned. // The maximum value is 200; (higher values will be coerced to the maximum) - int32 page_size = 2; + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // A page token, received from a previous `ListKeyEvents` call. + // Optional. A page token, received from a previous `ListKeyEvents` call. // Provide this to retrieve the subsequent page. // When paginating, all other parameters provided to `ListKeyEvents` // must match the call that provided the page token. - string page_token = 3; + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListKeyEvents RPC. @@ -2907,17 +2917,17 @@ message ListCustomDimensionsRequest { } ]; - // The maximum number of resources to return. + // Optional. The maximum number of resources to return. // If unspecified, at most 50 resources will be returned. // The maximum value is 200 (higher values will be coerced to the maximum). - int32 page_size = 2; + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // A page token, received from a previous `ListCustomDimensions` call. - // Provide this to retrieve the subsequent page. + // Optional. A page token, received from a previous `ListCustomDimensions` + // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListCustomDimensions` // must match the call that provided the page token. - string page_token = 3; + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListCustomDimensions RPC. @@ -4625,3 +4635,15 @@ message GetReportingIdentitySettingsRequest { } ]; } + +// Request message for GetUserProvidedDataSettings RPC +message GetUserProvidedDataSettingsRequest { + // Required. The name of the user provided data settings to retrieve. + // Format: properties/{property}/userProvidedDataSettings + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/UserProvidedDataSettings" + } + ]; +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto index c17562fb6a9f..39497c2c2b60 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/channel_group.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/channel_group.proto index 61862f7fde25..2c1a3b932b5a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/channel_group.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/channel_group.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/event_create_and_edit.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/event_create_and_edit.proto index 9dbbe1bf0cc1..f96a8d57c119 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/event_create_and_edit.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/event_create_and_edit.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto index a31eb4cb1330..12481d71591c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto index d666b945c24b..d253a61e5c84 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -253,6 +253,9 @@ enum ChangeHistoryResourceType { // ReportingIdentitySettings resource REPORTING_IDENTITY_SETTINGS = 34; + + // UserProvidedDataSettings resource + USER_PROVIDED_DATA_SETTINGS = 35; } // Status of the Google Signals settings. @@ -365,12 +368,14 @@ message Account { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/Account" pattern: "accounts/{account}" + plural: "accounts" + singular: "account" }; - // Output only. Resource name of this account. + // Identifier. Resource name of this account. // Format: accounts/{account} // Example: "accounts/100" - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Output only. Time when this account was originally created. google.protobuf.Timestamp create_time = 2 @@ -406,12 +411,14 @@ message Property { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/Property" pattern: "properties/{property}" + plural: "properties" + singular: "property" }; - // Output only. Resource name of this property. + // Identifier. Resource name of this property. // Format: properties/{property_id} // Example: "properties/1000" - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Immutable. The property type for this Property resource. When creating a // property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then @@ -491,6 +498,8 @@ message DataStream { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/DataStream" pattern: "properties/{property}/dataStreams/{data_stream}" + plural: "dataStreams" + singular: "dataStream" }; // Data specific to web streams. @@ -565,10 +574,10 @@ message DataStream { IosAppStreamData ios_app_stream_data = 8; } - // Output only. Resource name of this Data Stream. + // Identifier. Resource name of this Data Stream. // Format: properties/{property_id}/dataStreams/{stream_id} // Example: "properties/1000/dataStreams/2000" - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Required. Immutable. The type of this DataStream resource. DataStreamType type = 2 [ @@ -597,10 +606,12 @@ message FirebaseLink { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/FirebaseLink" pattern: "properties/{property}/firebaseLinks/{firebase_link}" + plural: "firebaseLinks" + singular: "firebaseLink" }; - // Output only. Example format: properties/1234/firebaseLinks/5678 - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Identifier. Example format: properties/1234/firebaseLinks/5678 + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Immutable. Firebase project resource name. When creating a FirebaseLink, // you may provide this resource name using either a project number or project @@ -622,12 +633,14 @@ message GlobalSiteTag { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/GlobalSiteTag" pattern: "properties/{property}/dataStreams/{data_stream}/globalSiteTag" + plural: "globalSiteTags" + singular: "globalSiteTag" }; - // Output only. Resource name for this GlobalSiteTag resource. + // Identifier. Resource name for this GlobalSiteTag resource. // Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag // Example: "properties/123/dataStreams/456/globalSiteTag" - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Immutable. JavaScript code snippet to be pasted as the first item into the // head tag of every webpage to measure. @@ -639,13 +652,15 @@ message GoogleAdsLink { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/GoogleAdsLink" pattern: "properties/{property}/googleAdsLinks/{google_ads_link}" + plural: "googleAdsLinks" + singular: "googleAdsLink" }; - // Output only. Format: + // Identifier. Format: // properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} // // Note: googleAdsLinkId is not the Google Ads customer ID. - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Immutable. Google Ads customer ID. string customer_id = 3 [(google.api.field_behavior) = IMMUTABLE]; @@ -678,12 +693,14 @@ message DataSharingSettings { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/DataSharingSettings" pattern: "accounts/{account}/dataSharingSettings" + plural: "dataSharingSettings" + singular: "dataSharingSettings" }; - // Output only. Resource name. + // Identifier. Resource name. // Format: accounts/{account}/dataSharingSettings // Example: "accounts/1000/dataSharingSettings" - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Allows Google technical support representatives access to your Google // Analytics data and account when necessary to provide service and find @@ -730,12 +747,14 @@ message AccountSummary { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/AccountSummary" pattern: "accountSummaries/{account_summary}" + plural: "accountSummaries" + singular: "accountSummary" }; - // Resource name for this account summary. + // Identifier. Resource name for this account summary. // Format: accountSummaries/{account_id} // Example: "accountSummaries/1000" - string name = 1; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Resource name of account referred to by this account summary // Format: accounts/{account_id} @@ -779,12 +798,14 @@ message MeasurementProtocolSecret { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/MeasurementProtocolSecret" pattern: "properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}" + plural: "measurementProtocolSecrets" + singular: "measurementProtocolSecret" }; - // Output only. Resource name of this secret. This secret may be a child of - // any type of stream. Format: + // Identifier. Resource name of this secret. This secret may be a child of any + // type of stream. Format: // properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Required. Human-readable display name for this secret. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; @@ -800,13 +821,15 @@ message SKAdNetworkConversionValueSchema { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema" pattern: "properties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}" + plural: "skAdNetworkConversionValueSchemas" + singular: "skAdNetworkConversionValueSchema" }; - // Output only. Resource name of the schema. This will be child of ONLY an iOS + // Identifier. Resource name of the schema. This will be child of ONLY an iOS // stream, and there can be at most one such child under an iOS stream. // Format: // properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Required. The conversion value settings for the first postback window. // These differ from values for postback window two and three in that they @@ -1042,6 +1065,9 @@ message ChangeHistoryChange { // A snapshot of a ReportingIdentitySettings resource in change history. ReportingIdentitySettings reporting_identity_settings = 34; + + // A snapshot of a UserProvidedDataSettings resource in change history. + UserProvidedDataSettings user_provided_data_settings = 35; } } @@ -1066,14 +1092,16 @@ message DisplayVideo360AdvertiserLink { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink" pattern: "properties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}" + plural: "displayVideo360AdvertiserLinks" + singular: "displayVideo360AdvertiserLink" }; - // Output only. The resource name for this DisplayVideo360AdvertiserLink + // Identifier. The resource name for this DisplayVideo360AdvertiserLink // resource. Format: // properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} // // Note: linkId is not the Display & Video 360 Advertiser ID - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Immutable. The Display & Video 360 Advertiser's advertiser ID. string advertiser_id = 2 [(google.api.field_behavior) = IMMUTABLE]; @@ -1112,14 +1140,16 @@ message DisplayVideo360AdvertiserLinkProposal { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal" pattern: "properties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal}" + plural: "displayVideo360AdvertiserLinkProposals" + singular: "displayVideo360AdvertiserLinkProposal" }; - // Output only. The resource name for this + // Identifier. The resource name for this // DisplayVideo360AdvertiserLinkProposal resource. Format: // properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} // // Note: proposalId is not the Display & Video 360 Advertiser ID - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Immutable. The Display & Video 360 Advertiser's advertiser ID. string advertiser_id = 2 [(google.api.field_behavior) = IMMUTABLE]; @@ -1163,13 +1193,15 @@ message SearchAds360Link { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/SearchAds360Link" pattern: "properties/{property}/searchAds360Links/{search_ads_360_link}" + plural: "searchAds360Links" + singular: "searchAds360Link" }; - // Output only. The resource name for this SearchAds360Link resource. + // Identifier. The resource name for this SearchAds360Link resource. // Format: properties/{propertyId}/searchAds360Links/{linkId} // // Note: linkId is not the Search Ads 360 advertiser ID - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Immutable. This field represents the Advertiser ID of the Search Ads 360 // Advertiser. that has been linked. @@ -1223,6 +1255,8 @@ message ConversionEvent { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/ConversionEvent" pattern: "properties/{property}/conversionEvents/{conversion_event}" + plural: "conversionEvents" + singular: "conversionEvent" }; // Defines a default value/currency for a conversion event. Both value and @@ -1253,9 +1287,9 @@ message ConversionEvent { ONCE_PER_SESSION = 2; } - // Output only. Resource name of this conversion event. + // Identifier. Resource name of this conversion event. // Format: properties/{property}/conversionEvents/{conversion_event} - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Immutable. The event name for this conversion event. // Examples: 'click', 'purchase' @@ -1381,6 +1415,8 @@ message CustomDimension { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/CustomDimension" pattern: "properties/{property}/customDimensions/{custom_dimension}" + plural: "customDimensions" + singular: "customDimension" }; // Valid values for the scope of this dimension. @@ -1398,9 +1434,9 @@ message CustomDimension { ITEM = 3; } - // Output only. Resource name for this CustomDimension resource. + // Identifier. Resource name for this CustomDimension resource. // Format: properties/{property}/customDimensions/{customDimension} - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Required. Immutable. Tagging parameter name for this custom dimension. // @@ -1449,6 +1485,8 @@ message CustomMetric { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/CustomMetric" pattern: "properties/{property}/customMetrics/{custom_metric}" + plural: "customMetrics" + singular: "customMetric" }; // Possible types of representing the custom metric's value. @@ -1512,9 +1550,9 @@ message CustomMetric { REVENUE_DATA = 2; } - // Output only. Resource name for this CustomMetric resource. + // Identifier. Resource name for this CustomMetric resource. // Format: properties/{property}/customMetrics/{customMetric} - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Required. Immutable. Tagging name for this custom metric. // @@ -1613,9 +1651,9 @@ message CalculatedMetric { REVENUE_DATA = 2; } - // Output only. Resource name for this CalculatedMetric. + // Identifier. Resource name for this CalculatedMetric. // Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Optional. Description for this calculated metric. // Max length of 4096 characters. @@ -1659,6 +1697,8 @@ message DataRetentionSettings { option (google.api.resource) = { type: "analyticsadmin.googleapis.com/DataRetentionSettings" pattern: "properties/{property}/dataRetentionSettings" + plural: "dataRetentionSettings" + singular: "dataRetentionSettings" }; // Valid values for the data retention duration. @@ -1685,9 +1725,9 @@ message DataRetentionSettings { FIFTY_MONTHS = 6; } - // Output only. Resource name for this DataRetentionSetting resource. + // Identifier. Resource name for this DataRetentionSetting resource. // Format: properties/{property}/dataRetentionSettings - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Required. The length of time that event-level data is retained. RetentionDuration event_data_retention = 2 @@ -2220,3 +2260,29 @@ message ReportingIdentitySettings { // The strategy used for identifying user identities in reports. ReportingIdentity reporting_identity = 2; } + +// Configuration for user-provided data collection. This is a singleton resource +// for a Google Analytics property. +message UserProvidedDataSettings { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/UserProvidedDataSettings" + pattern: "properties/{property}/userProvidedDataSettings" + plural: "userProvidedDataSettings" + singular: "userProvidedDataSettings" + }; + + // Identifier. Resource name of this setting. + // Format: properties/{property}/userProvidedDataSettings + // Example: "properties/1000/userProvidedDataSettings" + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Optional. Whether this property accepts user-provided data sent to it. + bool user_provided_data_collection_enabled = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether this property allows a Google Tag to automatically + // collect user-provided data from your website. This setting only takes + // effect if `user_provided_data_collection_enabled` is also true. + bool automatically_detected_data_collection_enabled = 3 + [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/subproperty_event_filter.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/subproperty_event_filter.proto index 89e062a890a8..4a2e00a5103c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/subproperty_event_filter.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/subproperty_event_filter.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/AsyncGetUserProvidedDataSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/AsyncGetUserProvidedDataSettings.java new file mode 100644 index 000000000000..2d032e31bfff --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/AsyncGetUserProvidedDataSettings.java @@ -0,0 +1,51 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetUserProvidedDataSettings_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettings; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettingsName; +import com.google.api.core.ApiFuture; + +public class AsyncGetUserProvidedDataSettings { + + public static void main(String[] args) throws Exception { + asyncGetUserProvidedDataSettings(); + } + + public static void asyncGetUserProvidedDataSettings() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + GetUserProvidedDataSettingsRequest request = + GetUserProvidedDataSettingsRequest.newBuilder() + .setName(UserProvidedDataSettingsName.of("[PROPERTY]").toString()) + .build(); + ApiFuture future = + analyticsAdminServiceClient.getUserProvidedDataSettingsCallable().futureCall(request); + // Do something. + UserProvidedDataSettings response = future.get(); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetUserProvidedDataSettings_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettings.java new file mode 100644 index 000000000000..21e3fd38ef6a --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettings.java @@ -0,0 +1,48 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetUserProvidedDataSettings_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettings; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettingsName; + +public class SyncGetUserProvidedDataSettings { + + public static void main(String[] args) throws Exception { + syncGetUserProvidedDataSettings(); + } + + public static void syncGetUserProvidedDataSettings() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + GetUserProvidedDataSettingsRequest request = + GetUserProvidedDataSettingsRequest.newBuilder() + .setName(UserProvidedDataSettingsName.of("[PROPERTY]").toString()) + .build(); + UserProvidedDataSettings response = + analyticsAdminServiceClient.getUserProvidedDataSettings(request); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetUserProvidedDataSettings_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettingsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettingsString.java new file mode 100644 index 000000000000..b0422d15e677 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettingsString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetUserProvidedDataSettings_String_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettings; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettingsName; + +public class SyncGetUserProvidedDataSettingsString { + + public static void main(String[] args) throws Exception { + syncGetUserProvidedDataSettingsString(); + } + + public static void syncGetUserProvidedDataSettingsString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + String name = UserProvidedDataSettingsName.of("[PROPERTY]").toString(); + UserProvidedDataSettings response = + analyticsAdminServiceClient.getUserProvidedDataSettings(name); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetUserProvidedDataSettings_String_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettingsUserprovideddatasettingsname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettingsUserprovideddatasettingsname.java new file mode 100644 index 000000000000..02814ee08767 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserprovideddatasettings/SyncGetUserProvidedDataSettingsUserprovideddatasettingsname.java @@ -0,0 +1,45 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetUserProvidedDataSettings_Userprovideddatasettingsname_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettings; +import com.google.analytics.admin.v1alpha.UserProvidedDataSettingsName; + +public class SyncGetUserProvidedDataSettingsUserprovideddatasettingsname { + + public static void main(String[] args) throws Exception { + syncGetUserProvidedDataSettingsUserprovideddatasettingsname(); + } + + public static void syncGetUserProvidedDataSettingsUserprovideddatasettingsname() + throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + UserProvidedDataSettingsName name = UserProvidedDataSettingsName.of("[PROPERTY]"); + UserProvidedDataSettings response = + analyticsAdminServiceClient.getUserProvidedDataSettings(name); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetUserProvidedDataSettings_Userprovideddatasettingsname_sync] diff --git a/java-analytics-data/README.md b/java-analytics-data/README.md index c38ec30abfd4..908620a0b824 100644 --- a/java-analytics-data/README.md +++ b/java-analytics-data/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-analyticshub/README.md b/java-analyticshub/README.md index b45371ee3d6c..1cc1ff085593 100644 --- a/java-analyticshub/README.md +++ b/java-analyticshub/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-api-gateway/README.md b/java-api-gateway/README.md index fac5fb8d8ae7..8f01050170f9 100644 --- a/java-api-gateway/README.md +++ b/java-api-gateway/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-apigee-connect/README.md b/java-apigee-connect/README.md index 0d7437589ea0..a0b1e4c7c4e8 100644 --- a/java-apigee-connect/README.md +++ b/java-apigee-connect/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-apigee-registry/README.md b/java-apigee-registry/README.md index a13b6a9294e2..829fe3e3eed7 100644 --- a/java-apigee-registry/README.md +++ b/java-apigee-registry/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-apihub/README.md b/java-apihub/README.md index eb73556ce53a..f8acf14b653d 100644 --- a/java-apihub/README.md +++ b/java-apihub/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-apikeys/README.md b/java-apikeys/README.md index dc21161168f9..b274b68670ec 100644 --- a/java-apikeys/README.md +++ b/java-apikeys/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-appengine-admin/README.md b/java-appengine-admin/README.md index 7b1201143554..7f668e24a7ca 100644 --- a/java-appengine-admin/README.md +++ b/java-appengine-admin/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-apphub/README.md b/java-apphub/README.md index 3176244a316d..88b68719f9e7 100644 --- a/java-apphub/README.md +++ b/java-apphub/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-appoptimize/README.md b/java-appoptimize/README.md index 35e12307b610..d9592030a629 100644 --- a/java-appoptimize/README.md +++ b/java-appoptimize/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-area120-tables/README.md b/java-area120-tables/README.md index 3e55c1bb10c1..12610a297235 100644 --- a/java-area120-tables/README.md +++ b/java-area120-tables/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-artifact-registry/README.md b/java-artifact-registry/README.md index 4db8ccad4cbe..0354d450f988 100644 --- a/java-artifact-registry/README.md +++ b/java-artifact-registry/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-asset/README.md b/java-asset/README.md index 9b38f390e0c8..f7d8115c34c8 100644 --- a/java-asset/README.md +++ b/java-asset/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-assured-workloads/README.md b/java-assured-workloads/README.md index e91de4f6cc30..784c144c8e24 100644 --- a/java-assured-workloads/README.md +++ b/java-assured-workloads/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-auditmanager/README.md b/java-auditmanager/README.md index ddcd1cc4aa3a..734c9e445ebf 100644 --- a/java-auditmanager/README.md +++ b/java-auditmanager/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-automl/README.md b/java-automl/README.md index 4a957969499e..a1355b6902c1 100644 --- a/java-automl/README.md +++ b/java-automl/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-backupdr/README.md b/java-backupdr/README.md index 9ab3ce10dd1f..3ca5060bd558 100644 --- a/java-backupdr/README.md +++ b/java-backupdr/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-bare-metal-solution/README.md b/java-bare-metal-solution/README.md index 4e5970dadf7e..a3548973bf3e 100644 --- a/java-bare-metal-solution/README.md +++ b/java-bare-metal-solution/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-batch/README.md b/java-batch/README.md index 6987826e935d..d15c268c6dc7 100644 --- a/java-batch/README.md +++ b/java-batch/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-beyondcorp-appconnections/README.md b/java-beyondcorp-appconnections/README.md index 16d6d31e641f..dd6cf83583de 100644 --- a/java-beyondcorp-appconnections/README.md +++ b/java-beyondcorp-appconnections/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-beyondcorp-appconnectors/README.md b/java-beyondcorp-appconnectors/README.md index a67eed159e2c..4a821b6ed2a7 100644 --- a/java-beyondcorp-appconnectors/README.md +++ b/java-beyondcorp-appconnectors/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-beyondcorp-appgateways/README.md b/java-beyondcorp-appgateways/README.md index c4094dbe1d1d..026f67dfcc9a 100644 --- a/java-beyondcorp-appgateways/README.md +++ b/java-beyondcorp-appgateways/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-beyondcorp-clientconnectorservices/README.md b/java-beyondcorp-clientconnectorservices/README.md index 9d61d9ecc37f..2a4e88f795dc 100644 --- a/java-beyondcorp-clientconnectorservices/README.md +++ b/java-beyondcorp-clientconnectorservices/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-beyondcorp-clientgateways/README.md b/java-beyondcorp-clientgateways/README.md index 13b70c13fdb9..5f389e984d86 100644 --- a/java-beyondcorp-clientgateways/README.md +++ b/java-beyondcorp-clientgateways/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-biglake/README.md b/java-biglake/README.md index c59d678a1ee3..6d03afb66fcd 100644 --- a/java-biglake/README.md +++ b/java-biglake/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-bigquery-data-exchange/README.md b/java-bigquery-data-exchange/README.md index 95d2acdd83bd..0b3c82cc3661 100644 --- a/java-bigquery-data-exchange/README.md +++ b/java-bigquery-data-exchange/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-bigqueryconnection/README.md b/java-bigqueryconnection/README.md index 92b248f1cf91..1b97b10af59d 100644 --- a/java-bigqueryconnection/README.md +++ b/java-bigqueryconnection/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-bigquerydatapolicy/README.md b/java-bigquerydatapolicy/README.md index 28ccc133452f..9ef74c570b47 100644 --- a/java-bigquerydatapolicy/README.md +++ b/java-bigquerydatapolicy/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-bigquerydatatransfer/README.md b/java-bigquerydatatransfer/README.md index 6c1721dd2a96..570f096b2cb2 100644 --- a/java-bigquerydatatransfer/README.md +++ b/java-bigquerydatatransfer/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-bigquerymigration/README.md b/java-bigquerymigration/README.md index c9306d999143..665682b335a8 100644 --- a/java-bigquerymigration/README.md +++ b/java-bigquerymigration/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-bigqueryreservation/README.md b/java-bigqueryreservation/README.md index f183d22a723e..1fd2898f58cb 100644 --- a/java-bigqueryreservation/README.md +++ b/java-bigqueryreservation/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-bigquerystorage/README.md b/java-bigquerystorage/README.md index ec7993f9e05b..3d93c89b778e 100644 --- a/java-bigquerystorage/README.md +++ b/java-bigquerystorage/README.md @@ -56,7 +56,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.79.0') +implementation platform('com.google.cloud:libraries-bom:26.80.0') implementation 'com.google.cloud:google-cloud-bigquerystorage' ``` diff --git a/java-billing/README.md b/java-billing/README.md index 7737be14ecf1..63eb03b51ecd 100644 --- a/java-billing/README.md +++ b/java-billing/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-billingbudgets/README.md b/java-billingbudgets/README.md index 4e5d59d59738..dfe1717a917b 100644 --- a/java-billingbudgets/README.md +++ b/java-billingbudgets/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-binary-authorization/README.md b/java-binary-authorization/README.md index 681ac76cfc62..1e238dbdda12 100644 --- a/java-binary-authorization/README.md +++ b/java-binary-authorization/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-capacityplanner/README.md b/java-capacityplanner/README.md index 8d6b9060ae8d..eca6b47770d7 100644 --- a/java-capacityplanner/README.md +++ b/java-capacityplanner/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-certificate-manager/README.md b/java-certificate-manager/README.md index ad8dda50a4d0..8368ddd5601f 100644 --- a/java-certificate-manager/README.md +++ b/java-certificate-manager/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-ces/README.md b/java-ces/README.md index ac01628b06cf..3975f126ba1d 100644 --- a/java-ces/README.md +++ b/java-ces/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceClient.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceClient.java index bfe1ab92e171..a12564f0b879 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceClient.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceClient.java @@ -680,6 +680,26 @@ * * * + *

ExportEvaluations + *

Exports evaluations. + * + *

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

+ *
    + *
  • exportEvaluationsAsync(ExportEvaluationsRequest request) + *

+ *

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

+ *
    + *
  • exportEvaluationsAsync(AppName parent) + *

  • exportEvaluationsAsync(String parent) + *

+ *

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

+ *
    + *
  • exportEvaluationsOperationCallable() + *

  • exportEvaluationsCallable() + *

+ * + * + * *

ListLocations *

Lists information about the supported locations for this service. *

This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: @@ -5398,6 +5418,168 @@ public final TestPersonaVoiceResponse testPersonaVoice(TestPersonaVoiceRequest r return stub.testPersonaVoiceCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports evaluations. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EvaluationServiceClient evaluationServiceClient = EvaluationServiceClient.create()) {
+   *   AppName parent = AppName.of("[PROJECT]", "[LOCATION]", "[APP]");
+   *   ExportEvaluationsResponse response =
+   *       evaluationServiceClient.exportEvaluationsAsync(parent).get();
+   * }
+   * }
+ * + * @param parent Required. The resource name of the app to export evaluations from. Format: + * `projects/{project}/locations/{location}/apps/{app}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture exportEvaluationsAsync( + AppName parent) { + ExportEvaluationsRequest request = + ExportEvaluationsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return exportEvaluationsAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports evaluations. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EvaluationServiceClient evaluationServiceClient = EvaluationServiceClient.create()) {
+   *   String parent = AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString();
+   *   ExportEvaluationsResponse response =
+   *       evaluationServiceClient.exportEvaluationsAsync(parent).get();
+   * }
+   * }
+ * + * @param parent Required. The resource name of the app to export evaluations from. Format: + * `projects/{project}/locations/{location}/apps/{app}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture exportEvaluationsAsync( + String parent) { + ExportEvaluationsRequest request = + ExportEvaluationsRequest.newBuilder().setParent(parent).build(); + return exportEvaluationsAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports evaluations. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EvaluationServiceClient evaluationServiceClient = EvaluationServiceClient.create()) {
+   *   ExportEvaluationsRequest request =
+   *       ExportEvaluationsRequest.newBuilder()
+   *           .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString())
+   *           .addAllNames(new ArrayList())
+   *           .setExportOptions(ExportOptions.newBuilder().build())
+   *           .setIncludeEvaluationResults(true)
+   *           .setIncludeEvaluations(true)
+   *           .build();
+   *   ExportEvaluationsResponse response =
+   *       evaluationServiceClient.exportEvaluationsAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture exportEvaluationsAsync( + ExportEvaluationsRequest request) { + return exportEvaluationsOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports evaluations. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EvaluationServiceClient evaluationServiceClient = EvaluationServiceClient.create()) {
+   *   ExportEvaluationsRequest request =
+   *       ExportEvaluationsRequest.newBuilder()
+   *           .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString())
+   *           .addAllNames(new ArrayList())
+   *           .setExportOptions(ExportOptions.newBuilder().build())
+   *           .setIncludeEvaluationResults(true)
+   *           .setIncludeEvaluations(true)
+   *           .build();
+   *   OperationFuture future =
+   *       evaluationServiceClient.exportEvaluationsOperationCallable().futureCall(request);
+   *   // Do something.
+   *   ExportEvaluationsResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + ExportEvaluationsRequest, ExportEvaluationsResponse, OperationMetadata> + exportEvaluationsOperationCallable() { + return stub.exportEvaluationsOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports evaluations. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EvaluationServiceClient evaluationServiceClient = EvaluationServiceClient.create()) {
+   *   ExportEvaluationsRequest request =
+   *       ExportEvaluationsRequest.newBuilder()
+   *           .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString())
+   *           .addAllNames(new ArrayList())
+   *           .setExportOptions(ExportOptions.newBuilder().build())
+   *           .setIncludeEvaluationResults(true)
+   *           .setIncludeEvaluations(true)
+   *           .build();
+   *   ApiFuture future =
+   *       evaluationServiceClient.exportEvaluationsCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable exportEvaluationsCallable() { + return stub.exportEvaluationsCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists information about the supported locations for this service. diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceSettings.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceSettings.java index 0fdf0d9c59c4..a357b3aad11f 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceSettings.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceSettings.java @@ -355,6 +355,18 @@ public UnaryCallSettings getEvaluationRu return ((EvaluationServiceStubSettings) getStubSettings()).testPersonaVoiceSettings(); } + /** Returns the object with the settings used for calls to exportEvaluations. */ + public UnaryCallSettings exportEvaluationsSettings() { + return ((EvaluationServiceStubSettings) getStubSettings()).exportEvaluationsSettings(); + } + + /** Returns the object with the settings used for calls to exportEvaluations. */ + public OperationCallSettings< + ExportEvaluationsRequest, ExportEvaluationsResponse, OperationMetadata> + exportEvaluationsOperationSettings() { + return ((EvaluationServiceStubSettings) getStubSettings()).exportEvaluationsOperationSettings(); + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -703,6 +715,19 @@ public UnaryCallSettings.Builder getEvaluation return getStubSettingsBuilder().testPersonaVoiceSettings(); } + /** Returns the builder for the settings used for calls to exportEvaluations. */ + public UnaryCallSettings.Builder + exportEvaluationsSettings() { + return getStubSettingsBuilder().exportEvaluationsSettings(); + } + + /** Returns the builder for the settings used for calls to exportEvaluations. */ + public OperationCallSettings.Builder< + ExportEvaluationsRequest, ExportEvaluationsResponse, OperationMetadata> + exportEvaluationsOperationSettings() { + return getStubSettingsBuilder().exportEvaluationsOperationSettings(); + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/ToolServiceClient.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/ToolServiceClient.java index e982388e2325..c39b677a6a50 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/ToolServiceClient.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/ToolServiceClient.java @@ -55,6 +55,7 @@ * ExecuteToolRequest.newBuilder() * .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) * .setArgs(Struct.newBuilder().build()) + * .setMockConfig(MockConfig.newBuilder().build()) * .build(); * ExecuteToolResponse response = toolServiceClient.executeTool(request); * } @@ -265,6 +266,7 @@ public ToolServiceStub getStub() { * ExecuteToolRequest.newBuilder() * .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) * .setArgs(Struct.newBuilder().build()) + * .setMockConfig(MockConfig.newBuilder().build()) * .build(); * ExecuteToolResponse response = toolServiceClient.executeTool(request); * } @@ -294,6 +296,7 @@ public final ExecuteToolResponse executeTool(ExecuteToolRequest request) { * ExecuteToolRequest.newBuilder() * .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) * .setArgs(Struct.newBuilder().build()) + * .setMockConfig(MockConfig.newBuilder().build()) * .build(); * ApiFuture future = * toolServiceClient.executeToolCallable().futureCall(request); diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/gapic_metadata.json b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/gapic_metadata.json index 472878611640..f6f0d57d6c50 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/gapic_metadata.json +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/gapic_metadata.json @@ -208,6 +208,9 @@ "DeleteScheduledEvaluationRun": { "methods": ["deleteScheduledEvaluationRun", "deleteScheduledEvaluationRun", "deleteScheduledEvaluationRun", "deleteScheduledEvaluationRunCallable"] }, + "ExportEvaluations": { + "methods": ["exportEvaluationsAsync", "exportEvaluationsAsync", "exportEvaluationsAsync", "exportEvaluationsOperationCallable", "exportEvaluationsCallable"] + }, "GenerateEvaluation": { "methods": ["generateEvaluationAsync", "generateEvaluationAsync", "generateEvaluationAsync", "generateEvaluationOperationCallable", "generateEvaluationCallable"] }, diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/package-info.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/package-info.java index 49ba9fd4a4a5..bfb92bf06c85 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/package-info.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/package-info.java @@ -97,6 +97,7 @@ * ExecuteToolRequest.newBuilder() * .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) * .setArgs(Struct.newBuilder().build()) + * .setMockConfig(MockConfig.newBuilder().build()) * .build(); * ExecuteToolResponse response = toolServiceClient.executeTool(request); * } diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/EvaluationServiceStub.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/EvaluationServiceStub.java index bf1887399e3c..71fea4785471 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/EvaluationServiceStub.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/EvaluationServiceStub.java @@ -44,6 +44,8 @@ import com.google.cloud.ces.v1beta.EvaluationExpectation; import com.google.cloud.ces.v1beta.EvaluationResult; import com.google.cloud.ces.v1beta.EvaluationRun; +import com.google.cloud.ces.v1beta.ExportEvaluationsRequest; +import com.google.cloud.ces.v1beta.ExportEvaluationsResponse; import com.google.cloud.ces.v1beta.GenerateEvaluationOperationMetadata; import com.google.cloud.ces.v1beta.GenerateEvaluationRequest; import com.google.cloud.ces.v1beta.GetEvaluationDatasetRequest; @@ -67,6 +69,7 @@ import com.google.cloud.ces.v1beta.ListEvaluationsResponse; import com.google.cloud.ces.v1beta.ListScheduledEvaluationRunsRequest; import com.google.cloud.ces.v1beta.ListScheduledEvaluationRunsResponse; +import com.google.cloud.ces.v1beta.OperationMetadata; import com.google.cloud.ces.v1beta.RunEvaluationOperationMetadata; import com.google.cloud.ces.v1beta.RunEvaluationRequest; import com.google.cloud.ces.v1beta.RunEvaluationResponse; @@ -316,6 +319,16 @@ public UnaryCallable listEvalua throw new UnsupportedOperationException("Not implemented: testPersonaVoiceCallable()"); } + public OperationCallable + exportEvaluationsOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: exportEvaluationsOperationCallable()"); + } + + public UnaryCallable exportEvaluationsCallable() { + throw new UnsupportedOperationException("Not implemented: exportEvaluationsCallable()"); + } + public UnaryCallable listLocationsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/EvaluationServiceStubSettings.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/EvaluationServiceStubSettings.java index 0be362f784fd..1eef44d46eb0 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/EvaluationServiceStubSettings.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/EvaluationServiceStubSettings.java @@ -71,6 +71,8 @@ import com.google.cloud.ces.v1beta.EvaluationExpectation; import com.google.cloud.ces.v1beta.EvaluationResult; import com.google.cloud.ces.v1beta.EvaluationRun; +import com.google.cloud.ces.v1beta.ExportEvaluationsRequest; +import com.google.cloud.ces.v1beta.ExportEvaluationsResponse; import com.google.cloud.ces.v1beta.GenerateEvaluationOperationMetadata; import com.google.cloud.ces.v1beta.GenerateEvaluationRequest; import com.google.cloud.ces.v1beta.GetEvaluationDatasetRequest; @@ -94,6 +96,7 @@ import com.google.cloud.ces.v1beta.ListEvaluationsResponse; import com.google.cloud.ces.v1beta.ListScheduledEvaluationRunsRequest; import com.google.cloud.ces.v1beta.ListScheduledEvaluationRunsResponse; +import com.google.cloud.ces.v1beta.OperationMetadata; import com.google.cloud.ces.v1beta.RunEvaluationOperationMetadata; import com.google.cloud.ces.v1beta.RunEvaluationRequest; import com.google.cloud.ces.v1beta.RunEvaluationResponse; @@ -289,6 +292,10 @@ public class EvaluationServiceStubSettings extends StubSettings testPersonaVoiceSettings; + private final UnaryCallSettings exportEvaluationsSettings; + private final OperationCallSettings< + ExportEvaluationsRequest, ExportEvaluationsResponse, OperationMetadata> + exportEvaluationsOperationSettings; private final PagedCallSettings< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -958,6 +965,18 @@ public UnaryCallSettings getEvaluationRu return testPersonaVoiceSettings; } + /** Returns the object with the settings used for calls to exportEvaluations. */ + public UnaryCallSettings exportEvaluationsSettings() { + return exportEvaluationsSettings; + } + + /** Returns the object with the settings used for calls to exportEvaluations. */ + public OperationCallSettings< + ExportEvaluationsRequest, ExportEvaluationsResponse, OperationMetadata> + exportEvaluationsOperationSettings() { + return exportEvaluationsOperationSettings; + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -1126,6 +1145,9 @@ protected EvaluationServiceStubSettings(Builder settingsBuilder) throws IOExcept deleteScheduledEvaluationRunSettings = settingsBuilder.deleteScheduledEvaluationRunSettings().build(); testPersonaVoiceSettings = settingsBuilder.testPersonaVoiceSettings().build(); + exportEvaluationsSettings = settingsBuilder.exportEvaluationsSettings().build(); + exportEvaluationsOperationSettings = + settingsBuilder.exportEvaluationsOperationSettings().build(); listLocationsSettings = settingsBuilder.listLocationsSettings().build(); getLocationSettings = settingsBuilder.getLocationSettings().build(); } @@ -1234,6 +1256,11 @@ public static class Builder extends StubSettings.Builder testPersonaVoiceSettings; + private final UnaryCallSettings.Builder + exportEvaluationsSettings; + private final OperationCallSettings.Builder< + ExportEvaluationsRequest, ExportEvaluationsResponse, OperationMetadata> + exportEvaluationsOperationSettings; private final PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -1317,6 +1344,8 @@ protected Builder(ClientContext clientContext) { updateScheduledEvaluationRunSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteScheduledEvaluationRunSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); testPersonaVoiceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + exportEvaluationsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + exportEvaluationsOperationSettings = OperationCallSettings.newBuilder(); listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT); getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -1353,6 +1382,7 @@ protected Builder(ClientContext clientContext) { updateScheduledEvaluationRunSettings, deleteScheduledEvaluationRunSettings, testPersonaVoiceSettings, + exportEvaluationsSettings, listLocationsSettings, getLocationSettings); initDefaults(this); @@ -1405,6 +1435,8 @@ protected Builder(EvaluationServiceStubSettings settings) { deleteScheduledEvaluationRunSettings = settings.deleteScheduledEvaluationRunSettings.toBuilder(); testPersonaVoiceSettings = settings.testPersonaVoiceSettings.toBuilder(); + exportEvaluationsSettings = settings.exportEvaluationsSettings.toBuilder(); + exportEvaluationsOperationSettings = settings.exportEvaluationsOperationSettings.toBuilder(); listLocationsSettings = settings.listLocationsSettings.toBuilder(); getLocationSettings = settings.getLocationSettings.toBuilder(); @@ -1441,6 +1473,7 @@ protected Builder(EvaluationServiceStubSettings settings) { updateScheduledEvaluationRunSettings, deleteScheduledEvaluationRunSettings, testPersonaVoiceSettings, + exportEvaluationsSettings, listLocationsSettings, getLocationSettings); } @@ -1625,6 +1658,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder + .exportEvaluationsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .listLocationsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -1736,6 +1774,31 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeoutDuration(Duration.ofMillis(300000L)) .build())); + builder + .exportEvaluationsOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create( + ExportEvaluationsResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelayDuration(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelayDuration(Duration.ofMillis(45000L)) + .setInitialRpcTimeoutDuration(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeoutDuration(Duration.ZERO) + .setTotalTimeoutDuration(Duration.ofMillis(300000L)) + .build())); + return builder; } @@ -1979,6 +2042,19 @@ public UnaryCallSettings.Builder getEvaluation return testPersonaVoiceSettings; } + /** Returns the builder for the settings used for calls to exportEvaluations. */ + public UnaryCallSettings.Builder + exportEvaluationsSettings() { + return exportEvaluationsSettings; + } + + /** Returns the builder for the settings used for calls to exportEvaluations. */ + public OperationCallSettings.Builder< + ExportEvaluationsRequest, ExportEvaluationsResponse, OperationMetadata> + exportEvaluationsOperationSettings() { + return exportEvaluationsOperationSettings; + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/GrpcEvaluationServiceStub.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/GrpcEvaluationServiceStub.java index f2567143005a..74a084ba66b4 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/GrpcEvaluationServiceStub.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/GrpcEvaluationServiceStub.java @@ -49,6 +49,8 @@ import com.google.cloud.ces.v1beta.EvaluationExpectation; import com.google.cloud.ces.v1beta.EvaluationResult; import com.google.cloud.ces.v1beta.EvaluationRun; +import com.google.cloud.ces.v1beta.ExportEvaluationsRequest; +import com.google.cloud.ces.v1beta.ExportEvaluationsResponse; import com.google.cloud.ces.v1beta.GenerateEvaluationOperationMetadata; import com.google.cloud.ces.v1beta.GenerateEvaluationRequest; import com.google.cloud.ces.v1beta.GetEvaluationDatasetRequest; @@ -72,6 +74,7 @@ import com.google.cloud.ces.v1beta.ListEvaluationsResponse; import com.google.cloud.ces.v1beta.ListScheduledEvaluationRunsRequest; import com.google.cloud.ces.v1beta.ListScheduledEvaluationRunsResponse; +import com.google.cloud.ces.v1beta.OperationMetadata; import com.google.cloud.ces.v1beta.RunEvaluationOperationMetadata; import com.google.cloud.ces.v1beta.RunEvaluationRequest; import com.google.cloud.ces.v1beta.RunEvaluationResponse; @@ -480,6 +483,17 @@ public class GrpcEvaluationServiceStub extends EvaluationServiceStub { .setSampledToLocalTracing(true) .build(); + private static final MethodDescriptor + exportEvaluationsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.ces.v1beta.EvaluationService/ExportEvaluations") + .setRequestMarshaller( + ProtoUtils.marshaller(ExportEvaluationsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + private static final MethodDescriptor listLocationsMethodDescriptor = MethodDescriptor.newBuilder() @@ -580,6 +594,10 @@ public class GrpcEvaluationServiceStub extends EvaluationServiceStub { deleteScheduledEvaluationRunCallable; private final UnaryCallable testPersonaVoiceCallable; + private final UnaryCallable exportEvaluationsCallable; + private final OperationCallable< + ExportEvaluationsRequest, ExportEvaluationsResponse, OperationMetadata> + exportEvaluationsOperationCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -1001,6 +1019,17 @@ protected GrpcEvaluationServiceStub( }) .setResourceNameExtractor(request -> request.getApp()) .build(); + GrpcCallSettings exportEvaluationsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(exportEvaluationsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); GrpcCallSettings listLocationsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listLocationsMethodDescriptor) @@ -1213,6 +1242,17 @@ protected GrpcEvaluationServiceStub( this.testPersonaVoiceCallable = callableFactory.createUnaryCallable( testPersonaVoiceTransportSettings, settings.testPersonaVoiceSettings(), clientContext); + this.exportEvaluationsCallable = + callableFactory.createUnaryCallable( + exportEvaluationsTransportSettings, + settings.exportEvaluationsSettings(), + clientContext); + this.exportEvaluationsOperationCallable = + callableFactory.createOperationCallable( + exportEvaluationsTransportSettings, + settings.exportEvaluationsOperationSettings(), + clientContext, + operationsStub); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -1467,6 +1507,17 @@ public UnaryCallable listEvalua return testPersonaVoiceCallable; } + @Override + public UnaryCallable exportEvaluationsCallable() { + return exportEvaluationsCallable; + } + + @Override + public OperationCallable + exportEvaluationsOperationCallable() { + return exportEvaluationsOperationCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/HttpJsonEvaluationServiceStub.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/HttpJsonEvaluationServiceStub.java index 82e37383ad70..16248369509b 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/HttpJsonEvaluationServiceStub.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/HttpJsonEvaluationServiceStub.java @@ -57,6 +57,8 @@ import com.google.cloud.ces.v1beta.EvaluationExpectation; import com.google.cloud.ces.v1beta.EvaluationResult; import com.google.cloud.ces.v1beta.EvaluationRun; +import com.google.cloud.ces.v1beta.ExportEvaluationsRequest; +import com.google.cloud.ces.v1beta.ExportEvaluationsResponse; import com.google.cloud.ces.v1beta.GenerateEvaluationOperationMetadata; import com.google.cloud.ces.v1beta.GenerateEvaluationRequest; import com.google.cloud.ces.v1beta.GetEvaluationDatasetRequest; @@ -80,6 +82,7 @@ import com.google.cloud.ces.v1beta.ListEvaluationsResponse; import com.google.cloud.ces.v1beta.ListScheduledEvaluationRunsRequest; import com.google.cloud.ces.v1beta.ListScheduledEvaluationRunsResponse; +import com.google.cloud.ces.v1beta.OperationMetadata; import com.google.cloud.ces.v1beta.RunEvaluationOperationMetadata; import com.google.cloud.ces.v1beta.RunEvaluationRequest; import com.google.cloud.ces.v1beta.RunEvaluationResponse; @@ -124,6 +127,8 @@ public class HttpJsonEvaluationServiceStub extends EvaluationServiceStub { .add(RunEvaluationOperationMetadata.getDescriptor()) .add(ImportEvaluationsOperationMetadata.getDescriptor()) .add(DeleteEvaluationRunOperationMetadata.getDescriptor()) + .add(ExportEvaluationsResponse.getDescriptor()) + .add(OperationMetadata.getDescriptor()) .add(Evaluation.getDescriptor()) .add(ImportEvaluationsResponse.getDescriptor()) .add(RunEvaluationResponse.getDescriptor()) @@ -1342,6 +1347,46 @@ public class HttpJsonEvaluationServiceStub extends EvaluationServiceStub { .build()) .build(); + private static final ApiMethodDescriptor + exportEvaluationsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.ces.v1beta.EvaluationService/ExportEvaluations") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta/{parent=projects/*/locations/*/apps/*}/evaluations:export", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (ExportEvaluationsRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + private static final ApiMethodDescriptor listLocationsMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -1489,6 +1534,10 @@ public class HttpJsonEvaluationServiceStub extends EvaluationServiceStub { deleteScheduledEvaluationRunCallable; private final UnaryCallable testPersonaVoiceCallable; + private final UnaryCallable exportEvaluationsCallable; + private final OperationCallable< + ExportEvaluationsRequest, ExportEvaluationsResponse, OperationMetadata> + exportEvaluationsOperationCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -1973,6 +2022,18 @@ protected HttpJsonEvaluationServiceStub( }) .setResourceNameExtractor(request -> request.getApp()) .build(); + HttpJsonCallSettings exportEvaluationsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(exportEvaluationsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); HttpJsonCallSettings listLocationsTransportSettings = HttpJsonCallSettings.newBuilder() @@ -2188,6 +2249,17 @@ protected HttpJsonEvaluationServiceStub( this.testPersonaVoiceCallable = callableFactory.createUnaryCallable( testPersonaVoiceTransportSettings, settings.testPersonaVoiceSettings(), clientContext); + this.exportEvaluationsCallable = + callableFactory.createUnaryCallable( + exportEvaluationsTransportSettings, + settings.exportEvaluationsSettings(), + clientContext); + this.exportEvaluationsOperationCallable = + callableFactory.createOperationCallable( + exportEvaluationsTransportSettings, + settings.exportEvaluationsOperationSettings(), + clientContext, + httpJsonOperationsStub); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -2236,6 +2308,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(updateScheduledEvaluationRunMethodDescriptor); methodDescriptors.add(deleteScheduledEvaluationRunMethodDescriptor); methodDescriptors.add(testPersonaVoiceMethodDescriptor); + methodDescriptors.add(exportEvaluationsMethodDescriptor); methodDescriptors.add(listLocationsMethodDescriptor); methodDescriptors.add(getLocationMethodDescriptor); return methodDescriptors; @@ -2481,6 +2554,17 @@ public UnaryCallable listEvalua return testPersonaVoiceCallable; } + @Override + public UnaryCallable exportEvaluationsCallable() { + return exportEvaluationsCallable; + } + + @Override + public OperationCallable + exportEvaluationsOperationCallable() { + return exportEvaluationsOperationCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/java-ces/google-cloud-ces/src/main/resources/META-INF/native-image/com.google.cloud.ces.v1beta/reflect-config.json b/java-ces/google-cloud-ces/src/main/resources/META-INF/native-image/com.google.cloud.ces.v1beta/reflect-config.json index 28650578353c..f8d2717bfe52 100644 --- a/java-ces/google-cloud-ces/src/main/resources/META-INF/native-image/com.google.cloud.ces.v1beta/reflect-config.json +++ b/java-ces/google-cloud-ces/src/main/resources/META-INF/native-image/com.google.cloud.ces.v1beta/reflect-config.json @@ -2492,6 +2492,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.ces.v1beta.ErrorHandlingSettings$EndSessionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ErrorHandlingSettings$EndSessionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.ces.v1beta.ErrorHandlingSettings$ErrorHandlingStrategy", "queryAllDeclaredConstructors": true, @@ -2501,6 +2519,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.ces.v1beta.ErrorHandlingSettings$FallbackResponseConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ErrorHandlingSettings$FallbackResponseConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.ces.v1beta.Evaluation", "queryAllDeclaredConstructors": true, @@ -3518,6 +3554,105 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ExportEvaluationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ExportEvaluationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ExportEvaluationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ExportEvaluationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ExportOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ExportOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.ExportOptions$ExportFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.ces.v1beta.ExpressionCondition", "queryAllDeclaredConstructors": true, @@ -5543,6 +5678,51 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.ces.v1beta.MockConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.MockConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.MockConfig$UnmatchedToolCallBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.MockedToolCall", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.ces.v1beta.MockedToolCall$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.ces.v1beta.ModelSettings", "queryAllDeclaredConstructors": true, diff --git a/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/EvaluationServiceClientHttpJsonTest.java b/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/EvaluationServiceClientHttpJsonTest.java index d312fe516e3c..ecc82e691283 100644 --- a/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/EvaluationServiceClientHttpJsonTest.java +++ b/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/EvaluationServiceClientHttpJsonTest.java @@ -681,8 +681,12 @@ public void importEvaluationsTest() throws Exception { ImportEvaluationsResponse expectedResponse = ImportEvaluationsResponse.newBuilder() .addAllEvaluations(new ArrayList()) + .addAllEvaluationResults(new ArrayList()) + .addAllEvaluationRuns(new ArrayList()) .addAllErrorMessages(new ArrayList()) .setImportFailureCount(663262976) + .setEvaluationResultImportFailureCount(432529247) + .setEvaluationRunImportFailureCount(-1483443241) .build(); Operation resultOperation = Operation.newBuilder() @@ -732,8 +736,12 @@ public void importEvaluationsTest2() throws Exception { ImportEvaluationsResponse expectedResponse = ImportEvaluationsResponse.newBuilder() .addAllEvaluations(new ArrayList()) + .addAllEvaluationResults(new ArrayList()) + .addAllEvaluationRuns(new ArrayList()) .addAllErrorMessages(new ArrayList()) .setImportFailureCount(663262976) + .setEvaluationResultImportFailureCount(432529247) + .setEvaluationRunImportFailureCount(-1483443241) .build(); Operation resultOperation = Operation.newBuilder() @@ -3831,6 +3839,104 @@ public void testPersonaVoiceExceptionTest2() throws Exception { } } + @Test + public void exportEvaluationsTest() throws Exception { + ExportEvaluationsResponse expectedResponse = + ExportEvaluationsResponse.newBuilder() + .putAllFailedEvaluations(new HashMap()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportEvaluationsTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AppName parent = AppName.of("[PROJECT]", "[LOCATION]", "[APP]"); + + ExportEvaluationsResponse actualResponse = client.exportEvaluationsAsync(parent).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void exportEvaluationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AppName parent = AppName.of("[PROJECT]", "[LOCATION]", "[APP]"); + client.exportEvaluationsAsync(parent).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void exportEvaluationsTest2() throws Exception { + ExportEvaluationsResponse expectedResponse = + ExportEvaluationsResponse.newBuilder() + .putAllFailedEvaluations(new HashMap()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportEvaluationsTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8877/locations/location-8877/apps/app-8877"; + + ExportEvaluationsResponse actualResponse = client.exportEvaluationsAsync(parent).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void exportEvaluationsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8877/locations/location-8877/apps/app-8877"; + client.exportEvaluationsAsync(parent).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/EvaluationServiceClientTest.java b/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/EvaluationServiceClientTest.java index fcbc3839c7d6..f97b1814d4b1 100644 --- a/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/EvaluationServiceClientTest.java +++ b/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/EvaluationServiceClientTest.java @@ -646,8 +646,12 @@ public void importEvaluationsTest() throws Exception { ImportEvaluationsResponse expectedResponse = ImportEvaluationsResponse.newBuilder() .addAllEvaluations(new ArrayList()) + .addAllEvaluationResults(new ArrayList()) + .addAllEvaluationRuns(new ArrayList()) .addAllErrorMessages(new ArrayList()) .setImportFailureCount(663262976) + .setEvaluationResultImportFailureCount(432529247) + .setEvaluationRunImportFailureCount(-1483443241) .build(); Operation resultOperation = Operation.newBuilder() @@ -694,8 +698,12 @@ public void importEvaluationsTest2() throws Exception { ImportEvaluationsResponse expectedResponse = ImportEvaluationsResponse.newBuilder() .addAllEvaluations(new ArrayList()) + .addAllEvaluationResults(new ArrayList()) + .addAllEvaluationRuns(new ArrayList()) .addAllErrorMessages(new ArrayList()) .setImportFailureCount(663262976) + .setEvaluationResultImportFailureCount(432529247) + .setEvaluationRunImportFailureCount(-1483443241) .build(); Operation resultOperation = Operation.newBuilder() @@ -3378,6 +3386,98 @@ public void testPersonaVoiceExceptionTest2() throws Exception { } } + @Test + public void exportEvaluationsTest() throws Exception { + ExportEvaluationsResponse expectedResponse = + ExportEvaluationsResponse.newBuilder() + .putAllFailedEvaluations(new HashMap()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportEvaluationsTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockEvaluationService.addResponse(resultOperation); + + AppName parent = AppName.of("[PROJECT]", "[LOCATION]", "[APP]"); + + ExportEvaluationsResponse actualResponse = client.exportEvaluationsAsync(parent).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEvaluationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ExportEvaluationsRequest actualRequest = ((ExportEvaluationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void exportEvaluationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEvaluationService.addException(exception); + + try { + AppName parent = AppName.of("[PROJECT]", "[LOCATION]", "[APP]"); + client.exportEvaluationsAsync(parent).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void exportEvaluationsTest2() throws Exception { + ExportEvaluationsResponse expectedResponse = + ExportEvaluationsResponse.newBuilder() + .putAllFailedEvaluations(new HashMap()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportEvaluationsTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockEvaluationService.addResponse(resultOperation); + + String parent = "parent-995424086"; + + ExportEvaluationsResponse actualResponse = client.exportEvaluationsAsync(parent).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEvaluationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ExportEvaluationsRequest actualRequest = ((ExportEvaluationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void exportEvaluationsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEvaluationService.addException(exception); + + try { + String parent = "parent-995424086"; + client.exportEvaluationsAsync(parent).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/MockEvaluationServiceImpl.java b/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/MockEvaluationServiceImpl.java index bbeccabe067c..300f76c78220 100644 --- a/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/MockEvaluationServiceImpl.java +++ b/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/MockEvaluationServiceImpl.java @@ -740,4 +740,25 @@ public void testPersonaVoice( Exception.class.getName()))); } } + + @Override + public void exportEvaluations( + ExportEvaluationsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExportEvaluations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/ToolServiceClientHttpJsonTest.java b/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/ToolServiceClientHttpJsonTest.java index b8359e204312..f4dda712067a 100644 --- a/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/ToolServiceClientHttpJsonTest.java +++ b/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/ToolServiceClientHttpJsonTest.java @@ -96,6 +96,7 @@ public void executeToolTest() throws Exception { ExecuteToolRequest.newBuilder() .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) .setArgs(Struct.newBuilder().build()) + .setMockConfig(MockConfig.newBuilder().build()) .build(); ExecuteToolResponse actualResponse = client.executeTool(request); @@ -128,6 +129,7 @@ public void executeToolExceptionTest() throws Exception { ExecuteToolRequest.newBuilder() .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) .setArgs(Struct.newBuilder().build()) + .setMockConfig(MockConfig.newBuilder().build()) .build(); client.executeTool(request); Assert.fail("No exception raised"); diff --git a/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/ToolServiceClientTest.java b/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/ToolServiceClientTest.java index 81a9f94b6756..6f788b40ec57 100644 --- a/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/ToolServiceClientTest.java +++ b/java-ces/google-cloud-ces/src/test/java/com/google/cloud/ces/v1beta/ToolServiceClientTest.java @@ -102,6 +102,7 @@ public void executeToolTest() throws Exception { ExecuteToolRequest.newBuilder() .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) .setArgs(Struct.newBuilder().build()) + .setMockConfig(MockConfig.newBuilder().build()) .build(); ExecuteToolResponse actualResponse = client.executeTool(request); @@ -117,6 +118,7 @@ public void executeToolTest() throws Exception { Assert.assertEquals(request.getContext(), actualRequest.getContext()); Assert.assertEquals(request.getParent(), actualRequest.getParent()); Assert.assertEquals(request.getArgs(), actualRequest.getArgs()); + Assert.assertEquals(request.getMockConfig(), actualRequest.getMockConfig()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -133,6 +135,7 @@ public void executeToolExceptionTest() throws Exception { ExecuteToolRequest.newBuilder() .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) .setArgs(Struct.newBuilder().build()) + .setMockConfig(MockConfig.newBuilder().build()) .build(); client.executeTool(request); Assert.fail("No exception raised"); diff --git a/java-ces/grpc-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceGrpc.java b/java-ces/grpc-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceGrpc.java index 563fe55b4f70..a21a1ec0c972 100644 --- a/java-ces/grpc-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceGrpc.java +++ b/java-ces/grpc-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceGrpc.java @@ -1545,6 +1545,50 @@ private EvaluationServiceGrpc() {} return getTestPersonaVoiceMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.ces.v1beta.ExportEvaluationsRequest, com.google.longrunning.Operation> + getExportEvaluationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportEvaluations", + requestType = com.google.cloud.ces.v1beta.ExportEvaluationsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.ces.v1beta.ExportEvaluationsRequest, com.google.longrunning.Operation> + getExportEvaluationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.ces.v1beta.ExportEvaluationsRequest, com.google.longrunning.Operation> + getExportEvaluationsMethod; + if ((getExportEvaluationsMethod = EvaluationServiceGrpc.getExportEvaluationsMethod) == null) { + synchronized (EvaluationServiceGrpc.class) { + if ((getExportEvaluationsMethod = EvaluationServiceGrpc.getExportEvaluationsMethod) + == null) { + EvaluationServiceGrpc.getExportEvaluationsMethod = + getExportEvaluationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportEvaluations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.ces.v1beta.ExportEvaluationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new EvaluationServiceMethodDescriptorSupplier("ExportEvaluations")) + .build(); + } + } + } + return getExportEvaluationsMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static EvaluationServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -2062,6 +2106,20 @@ default void testPersonaVoice( io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getTestPersonaVoiceMethod(), responseObserver); } + + /** + * + * + *
+     * Exports evaluations.
+     * 
+ */ + default void exportEvaluations( + com.google.cloud.ces.v1beta.ExportEvaluationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportEvaluationsMethod(), responseObserver); + } } /** @@ -2615,6 +2673,22 @@ public void testPersonaVoice( request, responseObserver); } + + /** + * + * + *
+     * Exports evaluations.
+     * 
+ */ + public void exportEvaluations( + com.google.cloud.ces.v1beta.ExportEvaluationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportEvaluationsMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -3072,6 +3146,20 @@ public com.google.cloud.ces.v1beta.TestPersonaVoiceResponse testPersonaVoice( return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getTestPersonaVoiceMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Exports evaluations.
+     * 
+ */ + public com.google.longrunning.Operation exportEvaluations( + com.google.cloud.ces.v1beta.ExportEvaluationsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getExportEvaluationsMethod(), getCallOptions(), request); + } } /** @@ -3501,6 +3589,19 @@ public com.google.cloud.ces.v1beta.TestPersonaVoiceResponse testPersonaVoice( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestPersonaVoiceMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Exports evaluations.
+     * 
+ */ + public com.google.longrunning.Operation exportEvaluations( + com.google.cloud.ces.v1beta.ExportEvaluationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportEvaluationsMethod(), getCallOptions(), request); + } } /** @@ -3962,6 +4063,19 @@ protected EvaluationServiceFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestPersonaVoiceMethod(), getCallOptions()), request); } + + /** + * + * + *
+     * Exports evaluations.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportEvaluations(com.google.cloud.ces.v1beta.ExportEvaluationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportEvaluationsMethod(), getCallOptions()), request); + } } private static final int METHODID_RUN_EVALUATION = 0; @@ -3995,6 +4109,7 @@ protected EvaluationServiceFutureStub build( private static final int METHODID_UPDATE_SCHEDULED_EVALUATION_RUN = 28; private static final int METHODID_DELETE_SCHEDULED_EVALUATION_RUN = 29; private static final int METHODID_TEST_PERSONA_VOICE = 30; + private static final int METHODID_EXPORT_EVALUATIONS = 31; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -4195,6 +4310,11 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_EXPORT_EVALUATIONS: + serviceImpl.exportEvaluations( + (com.google.cloud.ces.v1beta.ExportEvaluationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; default: throw new AssertionError(); } @@ -4418,6 +4538,12 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser com.google.cloud.ces.v1beta.TestPersonaVoiceRequest, com.google.cloud.ces.v1beta.TestPersonaVoiceResponse>( service, METHODID_TEST_PERSONA_VOICE))) + .addMethod( + getExportEvaluationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.ces.v1beta.ExportEvaluationsRequest, + com.google.longrunning.Operation>(service, METHODID_EXPORT_EVALUATIONS))) .build(); } @@ -4500,6 +4626,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateScheduledEvaluationRunMethod()) .addMethod(getDeleteScheduledEvaluationRunMethod()) .addMethod(getTestPersonaVoiceMethod()) + .addMethod(getExportEvaluationsMethod()) .build(); } } diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/AppProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/AppProto.java index 2a971ac644da..68eef9c2a117 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/AppProto.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/AppProto.java @@ -92,6 +92,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_CustomFallbackMessagesEntry_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_CustomFallbackMessagesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_EndSessionConfig_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_EndSessionConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_ces_v1beta_EvaluationMetricsThresholds_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -286,44 +298,59 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "!evaluation_audio_recording_config\030\006 " + "\001(\0132-.google.cloud.ces.v1beta.AudioRecordingConfigB\003\340A\001\022V\n" + "\030metric_analysis_settings\030\007" - + " \001(\0132/.google.cloud.ces.v1beta.MetricAnalysisSettingsB\003\340A\001\"\367\001\n" + + " \001(\0132/.google.cloud.ces.v1beta.MetricAnalysisSettingsB\003\340A\001\"\235\006\n" + "\025ErrorHandlingSettings\022j\n" + "\027error_handling_strategy\030\001 \001" - + "(\0162D.google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategyB\003\340A\001\"r\n" + + "(\0162D.google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategyB\003\340A\001\022l\n" + + "\030fallback_response_config\030\002 \001(\0132E.google" + + ".cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfigB\003\340A\001\022`\n" + + "\022end_session_config\030\003 \001(\0132?.google.cloud.ces.v1bet" + + "a.ErrorHandlingSettings.EndSessionConfigB\003\340A\001\032\206\002\n" + + "\026FallbackResponseConfig\022\210\001\n" + + "\030custom_fallback_messages\030\001 \003(\0132a.google.clo" + + "ud.ces.v1beta.ErrorHandlingSettings.Fall" + + "backResponseConfig.CustomFallbackMessagesEntryB\003\340A\001\022\"\n" + + "\025max_fallback_attempts\030\002 \001(\005B\003\340A\001\032=\n" + + "\033CustomFallbackMessagesEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\032K\n" + + "\020EndSessionConfig\022\"\n" + + "\020escalate_session\030\001 \001(\010B\003\340A\001H\000\210\001\001B\023\n" + + "\021_escalate_session\"r\n" + "\025ErrorHandlingStrategy\022\'\n" + "#ERROR_HANDLING_STRATEGY_UNSPECIFIED\020\000\022\010\n" + "\004NONE\020\001\022\025\n" + "\021FALLBACK_RESPONSE\020\002\022\017\n" + "\013END_SESSION\020\003\"\250\020\n" + "\033EvaluationMetricsThresholds\022\211\001\n" - + "$golden_evaluation_metrics_thresholds\030\001 \001(\0132V.googl" - + "e.cloud.ces.v1beta.EvaluationMetricsThre" - + "sholds.GoldenEvaluationMetricsThresholdsB\003\340A\001\022~\n" - + "\035hallucination_metric_behavior\030\003" - + " \001(\0162P.google.cloud.ces.v1beta.Evaluatio" - + "nMetricsThresholds.HallucinationMetricBehaviorB\005\030\001\340A\001\022\203\001\n" - + "$golden_hallucination_metric_behavior\030\005 \001(\0162P.google.cloud.ces." - + "v1beta.EvaluationMetricsThresholds.HallucinationMetricBehaviorB\003\340A\001\022\205\001\n" - + "&scenario_hallucination_metric_behavior\030\004 \001(\0162P.g" - + "oogle.cloud.ces.v1beta.EvaluationMetrics" - + "Thresholds.HallucinationMetricBehaviorB\003\340A\001\032\213\t\n" + + "$golden_evaluation_metrics_thresholds\030\001 \001(\0132V.google.cloud.ce" + + "s.v1beta.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholdsB\003\340A\001\022~\n" + + "\035hallucination_metric_behavior\030\003 \001(\0162P.goo" + + "gle.cloud.ces.v1beta.EvaluationMetricsTh" + + "resholds.HallucinationMetricBehaviorB\005\030\001\340A\001\022\203\001\n" + + "$golden_hallucination_metric_behavior\030\005 \001(\0162P.google.cloud.ces.v1beta.Eva" + + "luationMetricsThresholds.HallucinationMetricBehaviorB\003\340A\001\022\205\001\n" + + "&scenario_hallucination_metric_behavior\030\004 \001(\0162P.google.clou" + + "d.ces.v1beta.EvaluationMetricsThresholds.HallucinationMetricBehaviorB\003\340A\001\032\213" + + "\t\n" + "!GoldenEvaluationMetricsThresholds\022\235\001\n" - + "\035turn_level_metrics_thresholds\030\001 \001(" - + "\0132q.google.cloud.ces.v1beta.EvaluationMetricsThresholds.GoldenEvaluationMetricsT" - + "hresholds.TurnLevelMetricsThresholdsB\003\340A\001\022\253\001\n" - + "$expectation_level_metrics_thresholds\030\002" - + " \001(\0132x.google.cloud.ces.v1beta.EvaluationMetricsThresholds.GoldenEvaluationM" - + "etricsThresholds.ExpectationLevelMetricsThresholdsB\003\340A\001\022n\n" - + "\026tool_matching_settings\030\003 \001(\0132I.google.cloud.ces.v1beta.Evalua" - + "tionMetricsThresholds.ToolMatchingSettingsB\003\340A\001\032\212\004\n" + + "\035turn_level_metrics_thresholds\030\001 \001(\0132q.google" + + ".cloud.ces.v1beta.EvaluationMetricsThres" + + "holds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsB\003\340A\001\022\253\001\n" + + "$expectation_level_metrics_thresholds\030\002 \001(\0132x" + + ".google.cloud.ces.v1beta.EvaluationMetricsThresholds.GoldenEvaluationMetricsThre" + + "sholds.ExpectationLevelMetricsThresholdsB\003\340A\001\022n\n" + + "\026tool_matching_settings\030\003 \001(\0132I." + + "google.cloud.ces.v1beta.EvaluationMetric" + + "sThresholds.ToolMatchingSettingsB\003\340A\001\032\212\004\n" + "\032TurnLevelMetricsThresholds\0227\n" + "%semantic_similarity_success_threshold\030\001" + " \001(\005B\003\340A\001H\000\210\001\001\022?\n" + "-overall_tool_invocation_correctness_threshold\030\002" + " \001(\002B\003\340A\001H\001\210\001\001\022\266\001\n" - + "\033semantic_similarity_channel\030\003 \001(\0162\213" - + "\001.google.cloud.ces.v1beta.EvaluationMetricsThresholds.GoldenEvaluationMetricsThr" - + "esholds.TurnLevelMetricsThresholds.SemanticSimilarityChannelB\003\340A\001\"]\n" + + "\033semantic_similarity_channel\030\003 \001(\0162\213\001.google.c" + + "loud.ces.v1beta.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.Tu" + + "rnLevelMetricsThresholds.SemanticSimilarityChannelB\003\340A\001\"]\n" + "\031SemanticSimilarityChannel\022+\n" + "\'SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED\020\000\022\010\n" + "\004TEXT\020\001\022\t\n" @@ -335,9 +362,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\002B\003\340A\001H\000\210\001\001B2\n" + "0_tool_invocation_parameter_correctness_threshold\032\367\001\n" + "\024ToolMatchingSettings\022\206\001\n" - + "\030extra_tool_call_behavior\030\001 \001(\0162_.google.c" - + "loud.ces.v1beta.EvaluationMetricsThresho" - + "lds.ToolMatchingSettings.ExtraToolCallBehaviorB\003\340A\001\"V\n" + + "\030extra_tool_call_behavior\030\001 \001(\0162_.google.cloud.ces.v" + + "1beta.EvaluationMetricsThresholds.ToolMa" + + "tchingSettings.ExtraToolCallBehaviorB\003\340A\001\"V\n" + "\025ExtraToolCallBehavior\022(\n" + "$EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED\020\000\022\010\n" + "\004FAIL\020\001\022\t\n" @@ -347,12 +374,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010DISABLED\020\001\022\013\n" + "\007ENABLED\020\002\"\224\004\n" + "\022EvaluationSettings\022w\n" - + "\037scenario_conversation_initiator\030\001 \001(\0162I.google.cl" - + "oud.ces.v1beta.EvaluationSettings.ScenarioConversationInitiatorB\003\340A\001\022H\n" + + "\037scenario_conversation_initiator\030\001 \001(\0162I.google.cloud.ces.v1" + + "beta.EvaluationSettings.ScenarioConversationInitiatorB\003\340A\001\022H\n" + "\021golden_run_method\030\004" + " \001(\0162(.google.cloud.ces.v1beta.GoldenRunMethodB\003\340A\001\022h\n" - + "%golden_evaluation_tool_call_behaviour\030\002 \001(\01624.google.c" - + "loud.ces.v1beta.EvaluationToolCallBehaviourB\003\340A\001\022j\n" + + "%golden_evaluation_tool_call_behaviour\030\002 \001(\01624.google.cloud.ces.v" + + "1beta.EvaluationToolCallBehaviourB\003\340A\001\022j\n" + "\'scenario_evaluation_tool_call_behaviour\030\003" + " \001(\01624.google.cloud.ces.v1beta.EvaluationToolCallBehaviourB\003\340A\001\"e\n" + "\035ScenarioConversationInitiator\022/\n" @@ -363,9 +390,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017tls_certificate\030\001 \001(\tB\003\340A\002\022G\n" + "\013private_key\030\002 \001(\tB2\340A\002\372A,\n" + "*secretmanager.googleapis.com/SecretVersion\022\027\n\n" - + "passphrase\030\003 \001(\tB\003\340A\001\"H\n" + + "passphrase\030\003 \001(\tB\003\340A\001\"\202\001\n" + "\033ConversationLoggingSettings\022)\n" - + "\034disable_conversation_logging\030\001 \001(\010B\003\340A\001\"9\n" + + "\034disable_conversation_logging\030\001 \001(\010B\003\340A\001\0228\n" + + "\020retention_window\030\002" + + " \001(\0132\031.google.protobuf.DurationB\003\340A\001\"9\n" + "\024CloudLoggingSettings\022!\n" + "\024enable_cloud_logging\030\001 \001(\010B\003\340A\001\"M\n" + "\024AudioRecordingConfig\022\027\n\n" @@ -378,8 +407,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023deidentify_template\030\003 \001(\tB-\340A\001\372A\'\n" + "%dlp.googleapis.com/DeidentifyTemplate\"\273\002\n" + "\021DataStoreSettings\022G\n" - + "\007engines\030\003 \003(\01321.google.cloud" - + ".ces.v1beta.DataStoreSettings.EngineB\003\340A\003\032\334\001\n" + + "\007engines\030\003 \003(\01321.goo" + + "gle.cloud.ces.v1beta.DataStoreSettings.EngineB\003\340A\003\032\334\001\n" + "\006Engine\022;\n" + "\004name\030\001 \001(\tB-\340A\003\372A\'\n" + "%discoveryengine.googleapis.com/Engine\022I\n" @@ -394,12 +423,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013description\030\002 \001(\tB\003\340A\001\022\031\n" + "\014display_name\030\003 \001(\tB\003\340A\002\022\030\n" + "\013personality\030\004 \001(\tB\003\340A\002\022S\n\r" - + "speech_config\030\005" - + " \001(\01327.google.cloud.ces.v1beta.EvaluationPersona.SpeechConfigB\003\340A\001\032\243\002\n" + + "speech_config\030\005 \001(\01327.google.cloud.ces.v1be" + + "ta.EvaluationPersona.SpeechConfigB\003\340A\001\032\243\002\n" + "\014SpeechConfig\022\032\n\r" + "speaking_rate\030\001 \001(\001B\003\340A\001\022g\n" - + "\013environment\030\002 \001(\0162M.google.cloud.ces.v1bet" - + "a.EvaluationPersona.SpeechConfig.BackgroundEnvironmentB\003\340A\001\022\025\n" + + "\013environment\030\002 \001(\0162M.google.cloud." + + "ces.v1beta.EvaluationPersona.SpeechConfig.BackgroundEnvironmentB\003\340A\001\022\025\n" + "\010voice_id\030\003 \001(\tB\003\340A\001\"w\n" + "\025BackgroundEnvironment\022&\n" + "\"BACKGROUND_ENVIRONMENT_UNSPECIFIED\020\000\022\017\n" @@ -407,16 +436,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007TRAFFIC\020\004\022\016\n\n" + "KIDS_NOISE\020\005\022\010\n" + "\004CAFE\020\006B\374\004\n" - + "\033com.google.cloud.ces.v1betaB\010App" - + "ProtoP\001Z-cloud.google.com/go/ces/apiv1beta/cespb;cespb\352A\310\001\n" - + "\"dlp.googleapis.com/InspectTemplate\022Uorganizations/{organizat" - + "ion}/locations/{location}/inspectTemplates/{inspect_template}\022Kprojects/{project" - + "}/locations/{location}/inspectTemplates/{inspect_template}\352A\327\001\n" - + "%dlp.googleapis.com/DeidentifyTemplate\022[organizations/{or" - + "ganization}/locations/{location}/deidentifyTemplates/{deidentify_template}\022Qproj" - + "ects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}\352Az\n" - + "%discoveryengine.googleapis.com/Engine\022Qprojects/{project}/locations/{location}" - + "/collections/{collection}/engines/{engine}b\006proto3" + + "\033com.google.cloud.ces.v1" + + "betaB\010AppProtoP\001Z-cloud.google.com/go/ces/apiv1beta/cespb;cespb\352A\310\001\n" + + "\"dlp.googleapis.com/InspectTemplate\022Uorganizations/{" + + "organization}/locations/{location}/inspectTemplates/{inspect_template}\022Kprojects" + + "/{project}/locations/{location}/inspectTemplates/{inspect_template}\352A\327\001\n" + + "%dlp.googleapis.com/DeidentifyTemplate\022[organiza" + + "tions/{organization}/locations/{location}/deidentifyTemplates/{deidentify_templa" + + "te}\022Qprojects/{project}/locations/{locat" + + "ion}/deidentifyTemplates/{deidentify_template}\352Az\n" + + "%discoveryengine.googleapis.com/Engine\022Qprojects/{project}/locations/{" + + "location}/collections/{collection}/engines/{engine}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -569,7 +599,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_descriptor, new java.lang.String[] { - "ErrorHandlingStrategy", + "ErrorHandlingStrategy", "FallbackResponseConfig", "EndSessionConfig", + }); + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_descriptor = + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_descriptor.getNestedType(0); + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_descriptor, + new java.lang.String[] { + "CustomFallbackMessages", "MaxFallbackAttempts", + }); + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_CustomFallbackMessagesEntry_descriptor = + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_descriptor + .getNestedType(0); + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_CustomFallbackMessagesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_CustomFallbackMessagesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_EndSessionConfig_descriptor = + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_descriptor.getNestedType(1); + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_EndSessionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_EndSessionConfig_descriptor, + new java.lang.String[] { + "EscalateSession", }); internal_static_google_cloud_ces_v1beta_EvaluationMetricsThresholds_descriptor = getDescriptor().getMessageType(10); @@ -647,7 +702,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_ConversationLoggingSettings_descriptor, new java.lang.String[] { - "DisableConversationLogging", + "DisableConversationLogging", "RetentionWindow", }); internal_static_google_cloud_ces_v1beta_CloudLoggingSettings_descriptor = getDescriptor().getMessageType(14); diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ConversationLoggingSettings.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ConversationLoggingSettings.java index 0c4cb4422fa7..f99c05a1404a 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ConversationLoggingSettings.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ConversationLoggingSettings.java @@ -68,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.ces.v1beta.ConversationLoggingSettings.Builder.class); } + private int bitField0_; public static final int DISABLE_CONVERSATION_LOGGING_FIELD_NUMBER = 1; private boolean disableConversationLogging_ = false; @@ -87,6 +88,65 @@ public boolean getDisableConversationLogging() { return disableConversationLogging_; } + public static final int RETENTION_WINDOW_FIELD_NUMBER = 2; + private com.google.protobuf.Duration retentionWindow_; + + /** + * + * + *
+   * Optional. Controls the retention window for the conversation.
+   * If not set, the conversation will be retained for 365 days.
+   * 
+ * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the retentionWindow field is set. + */ + @java.lang.Override + public boolean hasRetentionWindow() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. Controls the retention window for the conversation.
+   * If not set, the conversation will be retained for 365 days.
+   * 
+ * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The retentionWindow. + */ + @java.lang.Override + public com.google.protobuf.Duration getRetentionWindow() { + return retentionWindow_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionWindow_; + } + + /** + * + * + *
+   * Optional. Controls the retention window for the conversation.
+   * If not set, the conversation will be retained for 365 days.
+   * 
+ * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getRetentionWindowOrBuilder() { + return retentionWindow_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionWindow_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -104,6 +164,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (disableConversationLogging_ != false) { output.writeBool(1, disableConversationLogging_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getRetentionWindow()); + } getUnknownFields().writeTo(output); } @@ -116,6 +179,9 @@ public int getSerializedSize() { if (disableConversationLogging_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disableConversationLogging_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRetentionWindow()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -133,6 +199,10 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.ces.v1beta.ConversationLoggingSettings) obj; if (getDisableConversationLogging() != other.getDisableConversationLogging()) return false; + if (hasRetentionWindow() != other.hasRetentionWindow()) return false; + if (hasRetentionWindow()) { + if (!getRetentionWindow().equals(other.getRetentionWindow())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -146,6 +216,10 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLE_CONVERSATION_LOGGING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableConversationLogging()); + if (hasRetentionWindow()) { + hash = (37 * hash) + RETENTION_WINDOW_FIELD_NUMBER; + hash = (53 * hash) + getRetentionWindow().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -277,10 +351,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.cloud.ces.v1beta.ConversationLoggingSettings.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetRetentionWindowFieldBuilder(); + } } @java.lang.Override @@ -288,6 +371,11 @@ public Builder clear() { super.clear(); bitField0_ = 0; disableConversationLogging_ = false; + retentionWindow_ = null; + if (retentionWindowBuilder_ != null) { + retentionWindowBuilder_.dispose(); + retentionWindowBuilder_ = null; + } return this; } @@ -327,6 +415,13 @@ private void buildPartial0(com.google.cloud.ces.v1beta.ConversationLoggingSettin if (((from_bitField0_ & 0x00000001) != 0)) { result.disableConversationLogging_ = disableConversationLogging_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.retentionWindow_ = + retentionWindowBuilder_ == null ? retentionWindow_ : retentionWindowBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -345,6 +440,9 @@ public Builder mergeFrom(com.google.cloud.ces.v1beta.ConversationLoggingSettings if (other.getDisableConversationLogging() != false) { setDisableConversationLogging(other.getDisableConversationLogging()); } + if (other.hasRetentionWindow()) { + mergeRetentionWindow(other.getRetentionWindow()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -377,6 +475,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 8 + case 18: + { + input.readMessage( + internalGetRetentionWindowFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -452,6 +557,227 @@ public Builder clearDisableConversationLogging() { return this; } + private com.google.protobuf.Duration retentionWindow_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + retentionWindowBuilder_; + + /** + * + * + *
+     * Optional. Controls the retention window for the conversation.
+     * If not set, the conversation will be retained for 365 days.
+     * 
+ * + * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the retentionWindow field is set. + */ + public boolean hasRetentionWindow() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Optional. Controls the retention window for the conversation.
+     * If not set, the conversation will be retained for 365 days.
+     * 
+ * + * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The retentionWindow. + */ + public com.google.protobuf.Duration getRetentionWindow() { + if (retentionWindowBuilder_ == null) { + return retentionWindow_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionWindow_; + } else { + return retentionWindowBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. Controls the retention window for the conversation.
+     * If not set, the conversation will be retained for 365 days.
+     * 
+ * + * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setRetentionWindow(com.google.protobuf.Duration value) { + if (retentionWindowBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + retentionWindow_ = value; + } else { + retentionWindowBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Controls the retention window for the conversation.
+     * If not set, the conversation will be retained for 365 days.
+     * 
+ * + * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setRetentionWindow(com.google.protobuf.Duration.Builder builderForValue) { + if (retentionWindowBuilder_ == null) { + retentionWindow_ = builderForValue.build(); + } else { + retentionWindowBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Controls the retention window for the conversation.
+     * If not set, the conversation will be retained for 365 days.
+     * 
+ * + * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeRetentionWindow(com.google.protobuf.Duration value) { + if (retentionWindowBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && retentionWindow_ != null + && retentionWindow_ != com.google.protobuf.Duration.getDefaultInstance()) { + getRetentionWindowBuilder().mergeFrom(value); + } else { + retentionWindow_ = value; + } + } else { + retentionWindowBuilder_.mergeFrom(value); + } + if (retentionWindow_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. Controls the retention window for the conversation.
+     * If not set, the conversation will be retained for 365 days.
+     * 
+ * + * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearRetentionWindow() { + bitField0_ = (bitField0_ & ~0x00000002); + retentionWindow_ = null; + if (retentionWindowBuilder_ != null) { + retentionWindowBuilder_.dispose(); + retentionWindowBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Controls the retention window for the conversation.
+     * If not set, the conversation will be retained for 365 days.
+     * 
+ * + * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.Duration.Builder getRetentionWindowBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetRetentionWindowFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. Controls the retention window for the conversation.
+     * If not set, the conversation will be retained for 365 days.
+     * 
+ * + * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.DurationOrBuilder getRetentionWindowOrBuilder() { + if (retentionWindowBuilder_ != null) { + return retentionWindowBuilder_.getMessageOrBuilder(); + } else { + return retentionWindow_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionWindow_; + } + } + + /** + * + * + *
+     * Optional. Controls the retention window for the conversation.
+     * If not set, the conversation will be retained for 365 days.
+     * 
+ * + * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + internalGetRetentionWindowFieldBuilder() { + if (retentionWindowBuilder_ == null) { + retentionWindowBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getRetentionWindow(), getParentForChildren(), isClean()); + retentionWindow_ = null; + } + return retentionWindowBuilder_; + } + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ConversationLoggingSettings) } diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ConversationLoggingSettingsOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ConversationLoggingSettingsOrBuilder.java index 2441ca63b93e..16251ad53986 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ConversationLoggingSettingsOrBuilder.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ConversationLoggingSettingsOrBuilder.java @@ -38,4 +38,47 @@ public interface ConversationLoggingSettingsOrBuilder * @return The disableConversationLogging. */ boolean getDisableConversationLogging(); + + /** + * + * + *
+   * Optional. Controls the retention window for the conversation.
+   * If not set, the conversation will be retained for 365 days.
+   * 
+ * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the retentionWindow field is set. + */ + boolean hasRetentionWindow(); + + /** + * + * + *
+   * Optional. Controls the retention window for the conversation.
+   * If not set, the conversation will be retained for 365 days.
+   * 
+ * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The retentionWindow. + */ + com.google.protobuf.Duration getRetentionWindow(); + + /** + * + * + *
+   * Optional. Controls the retention window for the conversation.
+   * If not set, the conversation will be retained for 365 days.
+   * 
+ * + * .google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.DurationOrBuilder getRetentionWindowOrBuilder(); } diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettings.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettings.java index b450f6e9a432..1ae24b897ef5 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettings.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettings.java @@ -271,6 +271,1651 @@ private ErrorHandlingStrategy(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategy) } + public interface FallbackResponseConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Optional. The fallback messages in case of system errors (e.g. LLM
+     * errors), mapped by [supported language
+     * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+     * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getCustomFallbackMessagesCount(); + + /** + * + * + *
+     * Optional. The fallback messages in case of system errors (e.g. LLM
+     * errors), mapped by [supported language
+     * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+     * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + boolean containsCustomFallbackMessages(java.lang.String key); + + /** Use {@link #getCustomFallbackMessagesMap()} instead. */ + @java.lang.Deprecated + java.util.Map getCustomFallbackMessages(); + + /** + * + * + *
+     * Optional. The fallback messages in case of system errors (e.g. LLM
+     * errors), mapped by [supported language
+     * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+     * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.Map getCustomFallbackMessagesMap(); + + /** + * + * + *
+     * Optional. The fallback messages in case of system errors (e.g. LLM
+     * errors), mapped by [supported language
+     * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+     * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + /* nullable */ + java.lang.String getCustomFallbackMessagesOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
+     * Optional. The fallback messages in case of system errors (e.g. LLM
+     * errors), mapped by [supported language
+     * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+     * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.lang.String getCustomFallbackMessagesOrThrow(java.lang.String key); + + /** + * + * + *
+     * Optional. The maximum number of fallback attempts to make before the
+     * agent emitting [EndSession][google.cloud.ces.v1beta.EndSession] Signal.
+     * 
+ * + * int32 max_fallback_attempts = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxFallbackAttempts. + */ + int getMaxFallbackAttempts(); + } + + /** + * + * + *
+   * Configuration for handling fallback responses.
+   * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig} + */ + public static final class FallbackResponseConfig extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig) + FallbackResponseConfigOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "FallbackResponseConfig"); + } + + // Use FallbackResponseConfig.newBuilder() to construct. + private FallbackResponseConfig(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private FallbackResponseConfig() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.AppProto + .internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetCustomFallbackMessages(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.AppProto + .internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig.class, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig.Builder + .class); + } + + public static final int CUSTOM_FALLBACK_MESSAGES_FIELD_NUMBER = 1; + + private static final class CustomFallbackMessagesDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.ces.v1beta.AppProto + .internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_CustomFallbackMessagesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField + customFallbackMessages_; + + private com.google.protobuf.MapField + internalGetCustomFallbackMessages() { + if (customFallbackMessages_ == null) { + return com.google.protobuf.MapField.emptyMapField( + CustomFallbackMessagesDefaultEntryHolder.defaultEntry); + } + return customFallbackMessages_; + } + + public int getCustomFallbackMessagesCount() { + return internalGetCustomFallbackMessages().getMap().size(); + } + + /** + * + * + *
+     * Optional. The fallback messages in case of system errors (e.g. LLM
+     * errors), mapped by [supported language
+     * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+     * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsCustomFallbackMessages(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetCustomFallbackMessages().getMap().containsKey(key); + } + + /** Use {@link #getCustomFallbackMessagesMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getCustomFallbackMessages() { + return getCustomFallbackMessagesMap(); + } + + /** + * + * + *
+     * Optional. The fallback messages in case of system errors (e.g. LLM
+     * errors), mapped by [supported language
+     * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+     * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map getCustomFallbackMessagesMap() { + return internalGetCustomFallbackMessages().getMap(); + } + + /** + * + * + *
+     * Optional. The fallback messages in case of system errors (e.g. LLM
+     * errors), mapped by [supported language
+     * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+     * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ java.lang.String getCustomFallbackMessagesOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetCustomFallbackMessages().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+     * Optional. The fallback messages in case of system errors (e.g. LLM
+     * errors), mapped by [supported language
+     * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+     * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.lang.String getCustomFallbackMessagesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetCustomFallbackMessages().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int MAX_FALLBACK_ATTEMPTS_FIELD_NUMBER = 2; + private int maxFallbackAttempts_ = 0; + + /** + * + * + *
+     * Optional. The maximum number of fallback attempts to make before the
+     * agent emitting [EndSession][google.cloud.ces.v1beta.EndSession] Signal.
+     * 
+ * + * int32 max_fallback_attempts = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxFallbackAttempts. + */ + @java.lang.Override + public int getMaxFallbackAttempts() { + return maxFallbackAttempts_; + } + + 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 { + com.google.protobuf.GeneratedMessage.serializeStringMapTo( + output, + internalGetCustomFallbackMessages(), + CustomFallbackMessagesDefaultEntryHolder.defaultEntry, + 1); + if (maxFallbackAttempts_ != 0) { + output.writeInt32(2, maxFallbackAttempts_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry : + internalGetCustomFallbackMessages().getMap().entrySet()) { + com.google.protobuf.MapEntry customFallbackMessages__ = + CustomFallbackMessagesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, customFallbackMessages__); + } + if (maxFallbackAttempts_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxFallbackAttempts_); + } + 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.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig)) { + return super.equals(obj); + } + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig other = + (com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig) obj; + + if (!internalGetCustomFallbackMessages().equals(other.internalGetCustomFallbackMessages())) + return false; + if (getMaxFallbackAttempts() != other.getMaxFallbackAttempts()) 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 (!internalGetCustomFallbackMessages().getMap().isEmpty()) { + hash = (37 * hash) + CUSTOM_FALLBACK_MESSAGES_FIELD_NUMBER; + hash = (53 * hash) + internalGetCustomFallbackMessages().hashCode(); + } + hash = (37 * hash) + MAX_FALLBACK_ATTEMPTS_FIELD_NUMBER; + hash = (53 * hash) + getMaxFallbackAttempts(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + 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.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + 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.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Configuration for handling fallback responses.
+     * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig) + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.AppProto + .internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetCustomFallbackMessages(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableCustomFallbackMessages(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.AppProto + .internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig.class, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig.Builder + .class); + } + + // Construct using + // com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableCustomFallbackMessages().clear(); + maxFallbackAttempts_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.ces.v1beta.AppProto + .internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_FallbackResponseConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + getDefaultInstanceForType() { + return com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig build() { + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + buildPartial() { + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig result = + new com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.customFallbackMessages_ = internalGetCustomFallbackMessages(); + result.customFallbackMessages_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxFallbackAttempts_ = maxFallbackAttempts_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig) { + return mergeFrom( + (com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig other) { + if (other + == com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + .getDefaultInstance()) return this; + internalGetMutableCustomFallbackMessages() + .mergeFrom(other.internalGetCustomFallbackMessages()); + bitField0_ |= 0x00000001; + if (other.getMaxFallbackAttempts() != 0) { + setMaxFallbackAttempts(other.getMaxFallbackAttempts()); + } + 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.protobuf.MapEntry + customFallbackMessages__ = + input.readMessage( + CustomFallbackMessagesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableCustomFallbackMessages() + .getMutableMap() + .put(customFallbackMessages__.getKey(), customFallbackMessages__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + maxFallbackAttempts_ = 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 com.google.protobuf.MapField + customFallbackMessages_; + + private com.google.protobuf.MapField + internalGetCustomFallbackMessages() { + if (customFallbackMessages_ == null) { + return com.google.protobuf.MapField.emptyMapField( + CustomFallbackMessagesDefaultEntryHolder.defaultEntry); + } + return customFallbackMessages_; + } + + private com.google.protobuf.MapField + internalGetMutableCustomFallbackMessages() { + if (customFallbackMessages_ == null) { + customFallbackMessages_ = + com.google.protobuf.MapField.newMapField( + CustomFallbackMessagesDefaultEntryHolder.defaultEntry); + } + if (!customFallbackMessages_.isMutable()) { + customFallbackMessages_ = customFallbackMessages_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return customFallbackMessages_; + } + + public int getCustomFallbackMessagesCount() { + return internalGetCustomFallbackMessages().getMap().size(); + } + + /** + * + * + *
+       * Optional. The fallback messages in case of system errors (e.g. LLM
+       * errors), mapped by [supported language
+       * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+       * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsCustomFallbackMessages(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetCustomFallbackMessages().getMap().containsKey(key); + } + + /** Use {@link #getCustomFallbackMessagesMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getCustomFallbackMessages() { + return getCustomFallbackMessagesMap(); + } + + /** + * + * + *
+       * Optional. The fallback messages in case of system errors (e.g. LLM
+       * errors), mapped by [supported language
+       * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+       * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map getCustomFallbackMessagesMap() { + return internalGetCustomFallbackMessages().getMap(); + } + + /** + * + * + *
+       * Optional. The fallback messages in case of system errors (e.g. LLM
+       * errors), mapped by [supported language
+       * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+       * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ java.lang.String getCustomFallbackMessagesOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetCustomFallbackMessages().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+       * Optional. The fallback messages in case of system errors (e.g. LLM
+       * errors), mapped by [supported language
+       * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+       * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.lang.String getCustomFallbackMessagesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetCustomFallbackMessages().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearCustomFallbackMessages() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableCustomFallbackMessages().getMutableMap().clear(); + return this; + } + + /** + * + * + *
+       * Optional. The fallback messages in case of system errors (e.g. LLM
+       * errors), mapped by [supported language
+       * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+       * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeCustomFallbackMessages(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableCustomFallbackMessages().getMutableMap().remove(key); + return this; + } + + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableCustomFallbackMessages() { + bitField0_ |= 0x00000001; + return internalGetMutableCustomFallbackMessages().getMutableMap(); + } + + /** + * + * + *
+       * Optional. The fallback messages in case of system errors (e.g. LLM
+       * errors), mapped by [supported language
+       * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+       * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putCustomFallbackMessages(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableCustomFallbackMessages().getMutableMap().put(key, value); + bitField0_ |= 0x00000001; + return this; + } + + /** + * + * + *
+       * Optional. The fallback messages in case of system errors (e.g. LLM
+       * errors), mapped by [supported language
+       * code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
+       * 
+ * + * + * map<string, string> custom_fallback_messages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putAllCustomFallbackMessages( + java.util.Map values) { + internalGetMutableCustomFallbackMessages().getMutableMap().putAll(values); + bitField0_ |= 0x00000001; + return this; + } + + private int maxFallbackAttempts_; + + /** + * + * + *
+       * Optional. The maximum number of fallback attempts to make before the
+       * agent emitting [EndSession][google.cloud.ces.v1beta.EndSession] Signal.
+       * 
+ * + * int32 max_fallback_attempts = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxFallbackAttempts. + */ + @java.lang.Override + public int getMaxFallbackAttempts() { + return maxFallbackAttempts_; + } + + /** + * + * + *
+       * Optional. The maximum number of fallback attempts to make before the
+       * agent emitting [EndSession][google.cloud.ces.v1beta.EndSession] Signal.
+       * 
+ * + * int32 max_fallback_attempts = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxFallbackAttempts to set. + * @return This builder for chaining. + */ + public Builder setMaxFallbackAttempts(int value) { + + maxFallbackAttempts_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. The maximum number of fallback attempts to make before the
+       * agent emitting [EndSession][google.cloud.ces.v1beta.EndSession] Signal.
+       * 
+ * + * int32 max_fallback_attempts = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMaxFallbackAttempts() { + bitField0_ = (bitField0_ & ~0x00000002); + maxFallbackAttempts_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig) + private static final com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig(); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FallbackResponseConfig 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.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface EndSessionConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Optional. Whether to escalate the session in
+     * [EndSession][google.cloud.ces.v1beta.EndSession]. If session is
+     * escalated, [metadata in
+     * EndSession][google.cloud.ces.v1beta.EndSession.metadata] will contain
+     * `session_escalated = true`. See
+     * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent
+     * for details.
+     * 
+ * + * optional bool escalate_session = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the escalateSession field is set. + */ + boolean hasEscalateSession(); + + /** + * + * + *
+     * Optional. Whether to escalate the session in
+     * [EndSession][google.cloud.ces.v1beta.EndSession]. If session is
+     * escalated, [metadata in
+     * EndSession][google.cloud.ces.v1beta.EndSession.metadata] will contain
+     * `session_escalated = true`. See
+     * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent
+     * for details.
+     * 
+ * + * optional bool escalate_session = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The escalateSession. + */ + boolean getEscalateSession(); + } + + /** + * + * + *
+   * Configuration for ending the session in case of system errors (e.g. LLM
+   * errors).
+   * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig} + */ + public static final class EndSessionConfig extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig) + EndSessionConfigOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "EndSessionConfig"); + } + + // Use EndSessionConfig.newBuilder() to construct. + private EndSessionConfig(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private EndSessionConfig() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.AppProto + .internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_EndSessionConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.AppProto + .internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_EndSessionConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.class, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.Builder.class); + } + + private int bitField0_; + public static final int ESCALATE_SESSION_FIELD_NUMBER = 1; + private boolean escalateSession_ = false; + + /** + * + * + *
+     * Optional. Whether to escalate the session in
+     * [EndSession][google.cloud.ces.v1beta.EndSession]. If session is
+     * escalated, [metadata in
+     * EndSession][google.cloud.ces.v1beta.EndSession.metadata] will contain
+     * `session_escalated = true`. See
+     * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent
+     * for details.
+     * 
+ * + * optional bool escalate_session = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the escalateSession field is set. + */ + @java.lang.Override + public boolean hasEscalateSession() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Optional. Whether to escalate the session in
+     * [EndSession][google.cloud.ces.v1beta.EndSession]. If session is
+     * escalated, [metadata in
+     * EndSession][google.cloud.ces.v1beta.EndSession.metadata] will contain
+     * `session_escalated = true`. See
+     * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent
+     * for details.
+     * 
+ * + * optional bool escalate_session = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The escalateSession. + */ + @java.lang.Override + public boolean getEscalateSession() { + return escalateSession_; + } + + 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.writeBool(1, escalateSession_); + } + 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.computeBoolSize(1, escalateSession_); + } + 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.ces.v1beta.ErrorHandlingSettings.EndSessionConfig)) { + return super.equals(obj); + } + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig other = + (com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig) obj; + + if (hasEscalateSession() != other.hasEscalateSession()) return false; + if (hasEscalateSession()) { + if (getEscalateSession() != other.getEscalateSession()) 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 (hasEscalateSession()) { + hash = (37 * hash) + ESCALATE_SESSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEscalateSession()); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig 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.ces.v1beta.ErrorHandlingSettings.EndSessionConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig 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.ces.v1beta.ErrorHandlingSettings.EndSessionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Configuration for ending the session in case of system errors (e.g. LLM
+     * errors).
+     * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig) + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.AppProto + .internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_EndSessionConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.AppProto + .internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_EndSessionConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.class, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.Builder.class); + } + + // Construct using + // com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + escalateSession_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.ces.v1beta.AppProto + .internal_static_google_cloud_ces_v1beta_ErrorHandlingSettings_EndSessionConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + getDefaultInstanceForType() { + return com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig build() { + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig buildPartial() { + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig result = + new com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.escalateSession_ = escalateSession_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig) { + return mergeFrom( + (com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig other) { + if (other + == com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + .getDefaultInstance()) return this; + if (other.hasEscalateSession()) { + setEscalateSession(other.getEscalateSession()); + } + 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: + { + escalateSession_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + 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 boolean escalateSession_; + + /** + * + * + *
+       * Optional. Whether to escalate the session in
+       * [EndSession][google.cloud.ces.v1beta.EndSession]. If session is
+       * escalated, [metadata in
+       * EndSession][google.cloud.ces.v1beta.EndSession.metadata] will contain
+       * `session_escalated = true`. See
+       * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent
+       * for details.
+       * 
+ * + * optional bool escalate_session = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the escalateSession field is set. + */ + @java.lang.Override + public boolean hasEscalateSession() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * Optional. Whether to escalate the session in
+       * [EndSession][google.cloud.ces.v1beta.EndSession]. If session is
+       * escalated, [metadata in
+       * EndSession][google.cloud.ces.v1beta.EndSession.metadata] will contain
+       * `session_escalated = true`. See
+       * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent
+       * for details.
+       * 
+ * + * optional bool escalate_session = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The escalateSession. + */ + @java.lang.Override + public boolean getEscalateSession() { + return escalateSession_; + } + + /** + * + * + *
+       * Optional. Whether to escalate the session in
+       * [EndSession][google.cloud.ces.v1beta.EndSession]. If session is
+       * escalated, [metadata in
+       * EndSession][google.cloud.ces.v1beta.EndSession.metadata] will contain
+       * `session_escalated = true`. See
+       * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent
+       * for details.
+       * 
+ * + * optional bool escalate_session = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The escalateSession to set. + * @return This builder for chaining. + */ + public Builder setEscalateSession(boolean value) { + + escalateSession_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Whether to escalate the session in
+       * [EndSession][google.cloud.ces.v1beta.EndSession]. If session is
+       * escalated, [metadata in
+       * EndSession][google.cloud.ces.v1beta.EndSession.metadata] will contain
+       * `session_escalated = true`. See
+       * https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent
+       * for details.
+       * 
+ * + * optional bool escalate_session = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEscalateSession() { + bitField0_ = (bitField0_ & ~0x00000001); + escalateSession_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig) + private static final com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig(); + } + + public static com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EndSessionConfig 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.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; public static final int ERROR_HANDLING_STRATEGY_FIELD_NUMBER = 1; private int errorHandlingStrategy_ = 0; @@ -316,6 +1961,133 @@ public int getErrorHandlingStrategyValue() { : result; } + public static final int FALLBACK_RESPONSE_CONFIG_FIELD_NUMBER = 2; + private com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + fallbackResponseConfig_; + + /** + * + * + *
+   * Optional. Configuration for handling fallback responses.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the fallbackResponseConfig field is set. + */ + @java.lang.Override + public boolean hasFallbackResponseConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. Configuration for handling fallback responses.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The fallbackResponseConfig. + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + getFallbackResponseConfig() { + return fallbackResponseConfig_ == null + ? com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + .getDefaultInstance() + : fallbackResponseConfig_; + } + + /** + * + * + *
+   * Optional. Configuration for handling fallback responses.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfigOrBuilder + getFallbackResponseConfigOrBuilder() { + return fallbackResponseConfig_ == null + ? com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + .getDefaultInstance() + : fallbackResponseConfig_; + } + + public static final int END_SESSION_CONFIG_FIELD_NUMBER = 3; + private com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig endSessionConfig_; + + /** + * + * + *
+   * Optional. Configuration for ending the session in case of system errors
+   * (e.g. LLM errors).
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the endSessionConfig field is set. + */ + @java.lang.Override + public boolean hasEndSessionConfig() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Optional. Configuration for ending the session in case of system errors
+   * (e.g. LLM errors).
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The endSessionConfig. + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig getEndSessionConfig() { + return endSessionConfig_ == null + ? com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.getDefaultInstance() + : endSessionConfig_; + } + + /** + * + * + *
+   * Optional. Configuration for ending the session in case of system errors
+   * (e.g. LLM errors).
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfigOrBuilder + getEndSessionConfigOrBuilder() { + return endSessionConfig_ == null + ? com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.getDefaultInstance() + : endSessionConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -336,6 +2108,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(1, errorHandlingStrategy_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getFallbackResponseConfig()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getEndSessionConfig()); + } getUnknownFields().writeTo(output); } @@ -351,6 +2129,13 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, errorHandlingStrategy_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFallbackResponseConfig()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndSessionConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -368,6 +2153,14 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.ces.v1beta.ErrorHandlingSettings) obj; if (errorHandlingStrategy_ != other.errorHandlingStrategy_) return false; + if (hasFallbackResponseConfig() != other.hasFallbackResponseConfig()) return false; + if (hasFallbackResponseConfig()) { + if (!getFallbackResponseConfig().equals(other.getFallbackResponseConfig())) return false; + } + if (hasEndSessionConfig() != other.hasEndSessionConfig()) return false; + if (hasEndSessionConfig()) { + if (!getEndSessionConfig().equals(other.getEndSessionConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -381,6 +2174,14 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ERROR_HANDLING_STRATEGY_FIELD_NUMBER; hash = (53 * hash) + errorHandlingStrategy_; + if (hasFallbackResponseConfig()) { + hash = (37 * hash) + FALLBACK_RESPONSE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getFallbackResponseConfig().hashCode(); + } + if (hasEndSessionConfig()) { + hash = (37 * hash) + END_SESSION_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getEndSessionConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -511,10 +2312,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.cloud.ces.v1beta.ErrorHandlingSettings.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetFallbackResponseConfigFieldBuilder(); + internalGetEndSessionConfigFieldBuilder(); + } } @java.lang.Override @@ -522,6 +2333,16 @@ public Builder clear() { super.clear(); bitField0_ = 0; errorHandlingStrategy_ = 0; + fallbackResponseConfig_ = null; + if (fallbackResponseConfigBuilder_ != null) { + fallbackResponseConfigBuilder_.dispose(); + fallbackResponseConfigBuilder_ = null; + } + endSessionConfig_ = null; + if (endSessionConfigBuilder_ != null) { + endSessionConfigBuilder_.dispose(); + endSessionConfigBuilder_ = null; + } return this; } @@ -561,6 +2382,20 @@ private void buildPartial0(com.google.cloud.ces.v1beta.ErrorHandlingSettings res if (((from_bitField0_ & 0x00000001) != 0)) { result.errorHandlingStrategy_ = errorHandlingStrategy_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.fallbackResponseConfig_ = + fallbackResponseConfigBuilder_ == null + ? fallbackResponseConfig_ + : fallbackResponseConfigBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.endSessionConfig_ = + endSessionConfigBuilder_ == null ? endSessionConfig_ : endSessionConfigBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -579,6 +2414,12 @@ public Builder mergeFrom(com.google.cloud.ces.v1beta.ErrorHandlingSettings other if (other.errorHandlingStrategy_ != 0) { setErrorHandlingStrategyValue(other.getErrorHandlingStrategyValue()); } + if (other.hasFallbackResponseConfig()) { + mergeFallbackResponseConfig(other.getFallbackResponseConfig()); + } + if (other.hasEndSessionConfig()) { + mergeEndSessionConfig(other.getEndSessionConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -611,6 +2452,21 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 8 + case 18: + { + input.readMessage( + internalGetFallbackResponseConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetEndSessionConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -740,6 +2596,462 @@ public Builder clearErrorHandlingStrategy() { return this; } + private com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + fallbackResponseConfig_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig.Builder, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfigOrBuilder> + fallbackResponseConfigBuilder_; + + /** + * + * + *
+     * Optional. Configuration for handling fallback responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the fallbackResponseConfig field is set. + */ + public boolean hasFallbackResponseConfig() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Optional. Configuration for handling fallback responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The fallbackResponseConfig. + */ + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + getFallbackResponseConfig() { + if (fallbackResponseConfigBuilder_ == null) { + return fallbackResponseConfig_ == null + ? com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + .getDefaultInstance() + : fallbackResponseConfig_; + } else { + return fallbackResponseConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. Configuration for handling fallback responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setFallbackResponseConfig( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig value) { + if (fallbackResponseConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + fallbackResponseConfig_ = value; + } else { + fallbackResponseConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Configuration for handling fallback responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setFallbackResponseConfig( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig.Builder + builderForValue) { + if (fallbackResponseConfigBuilder_ == null) { + fallbackResponseConfig_ = builderForValue.build(); + } else { + fallbackResponseConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Configuration for handling fallback responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeFallbackResponseConfig( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig value) { + if (fallbackResponseConfigBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && fallbackResponseConfig_ != null + && fallbackResponseConfig_ + != com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + .getDefaultInstance()) { + getFallbackResponseConfigBuilder().mergeFrom(value); + } else { + fallbackResponseConfig_ = value; + } + } else { + fallbackResponseConfigBuilder_.mergeFrom(value); + } + if (fallbackResponseConfig_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. Configuration for handling fallback responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearFallbackResponseConfig() { + bitField0_ = (bitField0_ & ~0x00000002); + fallbackResponseConfig_ = null; + if (fallbackResponseConfigBuilder_ != null) { + fallbackResponseConfigBuilder_.dispose(); + fallbackResponseConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Configuration for handling fallback responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig.Builder + getFallbackResponseConfigBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetFallbackResponseConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. Configuration for handling fallback responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfigOrBuilder + getFallbackResponseConfigOrBuilder() { + if (fallbackResponseConfigBuilder_ != null) { + return fallbackResponseConfigBuilder_.getMessageOrBuilder(); + } else { + return fallbackResponseConfig_ == null + ? com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + .getDefaultInstance() + : fallbackResponseConfig_; + } + } + + /** + * + * + *
+     * Optional. Configuration for handling fallback responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig.Builder, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfigOrBuilder> + internalGetFallbackResponseConfigFieldBuilder() { + if (fallbackResponseConfigBuilder_ == null) { + fallbackResponseConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig.Builder, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfigOrBuilder>( + getFallbackResponseConfig(), getParentForChildren(), isClean()); + fallbackResponseConfig_ = null; + } + return fallbackResponseConfigBuilder_; + } + + private com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig endSessionConfig_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.Builder, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfigOrBuilder> + endSessionConfigBuilder_; + + /** + * + * + *
+     * Optional. Configuration for ending the session in case of system errors
+     * (e.g. LLM errors).
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the endSessionConfig field is set. + */ + public boolean hasEndSessionConfig() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Optional. Configuration for ending the session in case of system errors
+     * (e.g. LLM errors).
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The endSessionConfig. + */ + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + getEndSessionConfig() { + if (endSessionConfigBuilder_ == null) { + return endSessionConfig_ == null + ? com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + .getDefaultInstance() + : endSessionConfig_; + } else { + return endSessionConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. Configuration for ending the session in case of system errors
+     * (e.g. LLM errors).
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setEndSessionConfig( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig value) { + if (endSessionConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endSessionConfig_ = value; + } else { + endSessionConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Configuration for ending the session in case of system errors
+     * (e.g. LLM errors).
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setEndSessionConfig( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.Builder + builderForValue) { + if (endSessionConfigBuilder_ == null) { + endSessionConfig_ = builderForValue.build(); + } else { + endSessionConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Configuration for ending the session in case of system errors
+     * (e.g. LLM errors).
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeEndSessionConfig( + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig value) { + if (endSessionConfigBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && endSessionConfig_ != null + && endSessionConfig_ + != com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + .getDefaultInstance()) { + getEndSessionConfigBuilder().mergeFrom(value); + } else { + endSessionConfig_ = value; + } + } else { + endSessionConfigBuilder_.mergeFrom(value); + } + if (endSessionConfig_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. Configuration for ending the session in case of system errors
+     * (e.g. LLM errors).
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearEndSessionConfig() { + bitField0_ = (bitField0_ & ~0x00000004); + endSessionConfig_ = null; + if (endSessionConfigBuilder_ != null) { + endSessionConfigBuilder_.dispose(); + endSessionConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Configuration for ending the session in case of system errors
+     * (e.g. LLM errors).
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.Builder + getEndSessionConfigBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetEndSessionConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. Configuration for ending the session in case of system errors
+     * (e.g. LLM errors).
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfigOrBuilder + getEndSessionConfigOrBuilder() { + if (endSessionConfigBuilder_ != null) { + return endSessionConfigBuilder_.getMessageOrBuilder(); + } else { + return endSessionConfig_ == null + ? com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig + .getDefaultInstance() + : endSessionConfig_; + } + } + + /** + * + * + *
+     * Optional. Configuration for ending the session in case of system errors
+     * (e.g. LLM errors).
+     * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.Builder, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfigOrBuilder> + internalGetEndSessionConfigFieldBuilder() { + if (endSessionConfigBuilder_ == null) { + endSessionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig.Builder, + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfigOrBuilder>( + getEndSessionConfig(), getParentForChildren(), isClean()); + endSessionConfig_ = null; + } + return endSessionConfigBuilder_; + } + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ErrorHandlingSettings) } diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettingsOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettingsOrBuilder.java index 2677f8611b5c..3666c502f582 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettingsOrBuilder.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ErrorHandlingSettingsOrBuilder.java @@ -56,4 +56,96 @@ public interface ErrorHandlingSettingsOrBuilder */ com.google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategy getErrorHandlingStrategy(); + + /** + * + * + *
+   * Optional. Configuration for handling fallback responses.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the fallbackResponseConfig field is set. + */ + boolean hasFallbackResponseConfig(); + + /** + * + * + *
+   * Optional. Configuration for handling fallback responses.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The fallbackResponseConfig. + */ + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig + getFallbackResponseConfig(); + + /** + * + * + *
+   * Optional. Configuration for handling fallback responses.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfigOrBuilder + getFallbackResponseConfigOrBuilder(); + + /** + * + * + *
+   * Optional. Configuration for ending the session in case of system errors
+   * (e.g. LLM errors).
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the endSessionConfig field is set. + */ + boolean hasEndSessionConfig(); + + /** + * + * + *
+   * Optional. Configuration for ending the session in case of system errors
+   * (e.g. LLM errors).
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The endSessionConfig. + */ + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig getEndSessionConfig(); + + /** + * + * + *
+   * Optional. Configuration for ending the session in case of system errors
+   * (e.g. LLM errors).
+   * 
+ * + * + * .google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfigOrBuilder + getEndSessionConfigOrBuilder(); } diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationConfig.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationConfig.java index d46db23f2cee..c234e3d91302 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationConfig.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationConfig.java @@ -259,7 +259,7 @@ private EvaluationChannel(int value) { * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.input_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1421 + * google/cloud/ces/v1beta/evaluation.proto;l=1424 * @return Whether the inputAudioConfig field is set. */ @java.lang.Override @@ -280,7 +280,7 @@ public boolean hasInputAudioConfig() { * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.input_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1421 + * google/cloud/ces/v1beta/evaluation.proto;l=1424 * @return The inputAudioConfig. */ @java.lang.Override @@ -325,7 +325,7 @@ public com.google.cloud.ces.v1beta.InputAudioConfigOrBuilder getInputAudioConfig * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.output_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1425 + * google/cloud/ces/v1beta/evaluation.proto;l=1428 * @return Whether the outputAudioConfig field is set. */ @java.lang.Override @@ -346,7 +346,7 @@ public boolean hasOutputAudioConfig() { * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.output_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1425 + * google/cloud/ces/v1beta/evaluation.proto;l=1428 * @return The outputAudioConfig. */ @java.lang.Override @@ -907,7 +907,7 @@ public Builder mergeFrom( * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.input_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1421 + * google/cloud/ces/v1beta/evaluation.proto;l=1424 * @return Whether the inputAudioConfig field is set. */ @java.lang.Deprecated @@ -927,7 +927,7 @@ public boolean hasInputAudioConfig() { * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.input_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1421 + * google/cloud/ces/v1beta/evaluation.proto;l=1424 * @return The inputAudioConfig. */ @java.lang.Deprecated @@ -1133,7 +1133,7 @@ public com.google.cloud.ces.v1beta.InputAudioConfigOrBuilder getInputAudioConfig * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.output_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1425 + * google/cloud/ces/v1beta/evaluation.proto;l=1428 * @return Whether the outputAudioConfig field is set. */ @java.lang.Deprecated @@ -1153,7 +1153,7 @@ public boolean hasOutputAudioConfig() { * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.output_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1425 + * google/cloud/ces/v1beta/evaluation.proto;l=1428 * @return The outputAudioConfig. */ @java.lang.Deprecated diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationConfigOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationConfigOrBuilder.java index e9edea45b74c..1292493bd3c3 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationConfigOrBuilder.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationConfigOrBuilder.java @@ -38,7 +38,7 @@ public interface EvaluationConfigOrBuilder * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.input_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1421 + * google/cloud/ces/v1beta/evaluation.proto;l=1424 * @return Whether the inputAudioConfig field is set. */ @java.lang.Deprecated @@ -56,7 +56,7 @@ public interface EvaluationConfigOrBuilder * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.input_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1421 + * google/cloud/ces/v1beta/evaluation.proto;l=1424 * @return The inputAudioConfig. */ @java.lang.Deprecated @@ -88,7 +88,7 @@ public interface EvaluationConfigOrBuilder * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.output_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1425 + * google/cloud/ces/v1beta/evaluation.proto;l=1428 * @return Whether the outputAudioConfig field is set. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface EvaluationConfigOrBuilder * * * @deprecated google.cloud.ces.v1beta.EvaluationConfig.output_audio_config is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1425 + * google/cloud/ces/v1beta/evaluation.proto;l=1428 * @return The outputAudioConfig. */ @java.lang.Deprecated diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholds.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholds.java index 286c9cfc83cf..1ee27eca9fc7 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholds.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholds.java @@ -4770,7 +4770,7 @@ public boolean hasGoldenEvaluationMetricsThresholds() { * * * @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior - * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546 + * is deprecated. See google/cloud/ces/v1beta/app.proto;l=581 * @return The enum numeric value on the wire for hallucinationMetricBehavior. */ @java.lang.Override @@ -4792,7 +4792,7 @@ public int getHallucinationMetricBehaviorValue() { * * * @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior - * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546 + * is deprecated. See google/cloud/ces/v1beta/app.proto;l=581 * @return The hallucinationMetricBehavior. */ @java.lang.Override @@ -5586,7 +5586,7 @@ public Builder clearGoldenEvaluationMetricsThresholds() { * * * @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior - * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546 + * is deprecated. See google/cloud/ces/v1beta/app.proto;l=581 * @return The enum numeric value on the wire for hallucinationMetricBehavior. */ @java.lang.Override @@ -5608,7 +5608,7 @@ public int getHallucinationMetricBehaviorValue() { * * * @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior - * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546 + * is deprecated. See google/cloud/ces/v1beta/app.proto;l=581 * @param value The enum numeric value on the wire for hallucinationMetricBehavior to set. * @return This builder for chaining. */ @@ -5633,7 +5633,7 @@ public Builder setHallucinationMetricBehaviorValue(int value) { * * * @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior - * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546 + * is deprecated. See google/cloud/ces/v1beta/app.proto;l=581 * @return The hallucinationMetricBehavior. */ @java.lang.Override @@ -5662,7 +5662,7 @@ public Builder setHallucinationMetricBehaviorValue(int value) { * * * @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior - * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546 + * is deprecated. See google/cloud/ces/v1beta/app.proto;l=581 * @param value The hallucinationMetricBehavior to set. * @return This builder for chaining. */ @@ -5691,7 +5691,7 @@ public Builder setHallucinationMetricBehavior( * * * @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior - * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546 + * is deprecated. See google/cloud/ces/v1beta/app.proto;l=581 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholdsOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholdsOrBuilder.java index 9220a0d0d71b..7e95d5e040e2 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholdsOrBuilder.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationMetricsThresholdsOrBuilder.java @@ -84,7 +84,7 @@ public interface EvaluationMetricsThresholdsOrBuilder * * * @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior - * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546 + * is deprecated. See google/cloud/ces/v1beta/app.proto;l=581 * @return The enum numeric value on the wire for hallucinationMetricBehavior. */ @java.lang.Deprecated @@ -103,7 +103,7 @@ public interface EvaluationMetricsThresholdsOrBuilder * * * @deprecated google.cloud.ces.v1beta.EvaluationMetricsThresholds.hallucination_metric_behavior - * is deprecated. See google/cloud/ces/v1beta/app.proto;l=546 + * is deprecated. See google/cloud/ces/v1beta/app.proto;l=581 * @return The hallucinationMetricBehavior. */ @java.lang.Deprecated diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationProto.java index 1ce6b21ec362..bfed484231ed 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationProto.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationProto.java @@ -444,7 +444,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132*.google.cloud.ces.v1beta.AggregatedMetricsB\003\340A\003:\255\001\352A\251\001\n" + "$ces.googleapis.com/EvaluationDataset\022Zprojects/{proje" + "ct}/locations/{location}/apps/{app}/eval" - + "uationDatasets/{evaluation_dataset}*\022evaluationDatasets2\021evaluationDataset\"\2637\n" + + "uationDatasets/{evaluation_dataset}*\022evaluationDatasets2\021evaluationDataset\"\3007\n" + "\020EvaluationResult\022T\n\r" + "golden_result\030\007 \001(\01326" + ".google.cloud.ces.v1beta.EvaluationResult.GoldenResultB\003\340A\003H\000\022X\n" @@ -642,19 +642,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005score\030\001 \001(\005B\003\340A\003H\000\210\001\001\022\022\n" + "\005label\030\002 \001(\tB\003\340A\003\022\030\n" + "\013explanation\030\003 \001(\tB\003\340A\003B\010\n" - + "\006_score\"6\n" + + "\006_score\"C\n" + "\007Outcome\022\027\n" + "\023OUTCOME_UNSPECIFIED\020\000\022\010\n" + "\004PASS\020\001\022\010\n" - + "\004FAIL\020\002\"X\n" + + "\004FAIL\020\002\022\013\n" + + "\007SKIPPED\020\003\"X\n" + "\016ExecutionState\022\037\n" + "\033EXECUTION_STATE_UNSPECIFIED\020\000\022\013\n" + "\007RUNNING\020\001\022\r\n" + "\tCOMPLETED\020\002\022\t\n" + "\005ERROR\020\003:\267\001\352A\263\001\n" - + "#ces.googleapis.com/EvaluationResult\022gprojects/{project}/loc" - + "ations/{location}/apps/{app}/evaluations/{evaluation}/results/{evaluation_result" - + "}*\021evaluationResults2\020evaluationResultB\010\n" + + "#ces.googleapis.com/EvaluationResult\022gprojects/" + + "{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{eval" + + "uation_result}*\021evaluationResults2\020evaluationResultB\010\n" + "\006result\"\251\021\n\r" + "EvaluationRun\022\021\n" + "\004name\030\001 \001(\tB\003\340A\010\022\031\n" @@ -676,31 +677,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\035ces.googleapis.com/Evaluation\022H\n" + "\022evaluation_dataset\030\010 \001(\tB,\340A\003\372A&\n" + "$ces.googleapis.com/EvaluationDataset\022S\n" - + "\017evaluation_type\030\t" - + " \001(\01625.google.cloud.ces.v1beta.EvaluationRun.EvaluationTypeB\003\340A\003\022M\n" + + "\017evaluation_type\030\t \001(\01625.google.cloud.ces.v1" + + "beta.EvaluationRun.EvaluationTypeB\003\340A\003\022M\n" + "\005state\030\n" - + " \001(\016" - + "29.google.cloud.ces.v1beta.EvaluationRun.EvaluationRunStateB\003\340A\003\022F\n" - + "\010progress\030\013 \001" - + "(\0132/.google.cloud.ces.v1beta.EvaluationRun.ProgressB\003\340A\003\022>\n" - + "\006config\030\014 \001(\0132).googl" - + "e.cloud.ces.v1beta.EvaluationConfigB\003\340A\003\022(\n" + + " \001(\01629.google.cloud.ces.v1beta.EvaluationRun.EvaluationRunStateB\003\340A\003\022F\n" + + "\010progress\030\013" + + " \001(\0132/.google.cloud.ces.v1beta.EvaluationRun.ProgressB\003\340A\003\022>\n" + + "\006config\030\014" + + " \001(\0132).google.cloud.ces.v1beta.EvaluationConfigB\003\340A\003\022(\n" + "\005error\030\016 \001(\0132\022.google.rpc.StatusB\005\030\001\340A\003\022E\n\n" - + "error_info\030\021" - + " \001(\0132,.google.cloud.ces.v1beta.EvaluationErrorInfoB\003\340A\003\022i\n" - + "\030evaluation_run_summaries\030\017 \003(\0132B.google.clo" - + "ud.ces.v1beta.EvaluationRun.EvaluationRunSummariesEntryB\003\340A\003\022C\n" + + "error_info\030\021 \001(\0132,.go" + + "ogle.cloud.ces.v1beta.EvaluationErrorInfoB\003\340A\003\022i\n" + + "\030evaluation_run_summaries\030\017 \003(\013" + + "2B.google.cloud.ces.v1beta.EvaluationRun.EvaluationRunSummariesEntryB\003\340A\003\022C\n" + "\016latency_report\030\031" + " \001(\0132&.google.cloud.ces.v1beta.LatencyReportB\003\340A\003\022\026\n" + "\trun_count\030\020 \001(\005B\003\340A\003\022K\n" - + "\023persona_run_configs\030\022" - + " \003(\0132).google.cloud.ces.v1beta.PersonaRunConfigB\003\340A\003\022M\n" - + "\023optimization_config\030\023" - + " \001(\0132+.google.cloud.ces.v1beta.OptimizationConfigB\003\340A\001\022S\n" + + "\023persona_run_configs\030\022 \003(\0132).go" + + "ogle.cloud.ces.v1beta.PersonaRunConfigB\003\340A\003\022M\n" + + "\023optimization_config\030\023 \001(\0132+.googl" + + "e.cloud.ces.v1beta.OptimizationConfigB\003\340A\001\022S\n" + "\030scheduled_evaluation_run\030\024 \001(\tB1\340A\003\372A+\n" + ")ces.googleapis.com/ScheduledEvaluationRun\022H\n" - + "\021golden_run_method\030\025" - + " \001(\0162(.google.cloud.ces.v1beta.GoldenRunMethodB\003\340A\003\032\222\001\n" + + "\021golden_run_method\030\025 \001(\0162(.goo" + + "gle.cloud.ces.v1beta.GoldenRunMethodB\003\340A\003\032\222\001\n" + "\010Progress\022\030\n" + "\013total_count\030\001 \001(\005B\003\340A\003\022\031\n" + "\014failed_count\030\002 \001(\005B\003\340A\003\022\030\n" @@ -713,8 +713,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013error_count\030\003 \001(\005B\003\340A\003\032z\n" + "\033EvaluationRunSummariesEntry\022\013\n" + "\003key\030\001 \001(\t\022J\n" - + "\005value\030\002 \001(\0132;.google.cloud.ces." - + "v1beta.EvaluationRun.EvaluationRunSummary:\0028\001\"V\n" + + "\005value\030\002 \001(\0132;.goog" + + "le.cloud.ces.v1beta.EvaluationRun.EvaluationRunSummary:\0028\001\"V\n" + "\016EvaluationType\022\037\n" + "\033EVALUATION_TYPE_UNSPECIFIED\020\000\022\n\n" + "\006GOLDEN\020\001\022\014\n" @@ -725,52 +725,52 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007RUNNING\020\001\022\r\n" + "\tCOMPLETED\020\002\022\t\n" + "\005ERROR\020\003:\231\001\352A\225\001\n" - + " ces.googleapis.com/EvaluationRun\022Rprojects/{project}/locations/{location}/apps/" - + "{app}/evaluationRuns/{evaluation_run}*\016evaluationRuns2\r" + + " ces.googleapis.com/EvaluationRun\022Rprojects/{project}/locations/{lo" + + "cation}/apps/{app}/evaluationRuns/{evaluation_run}*\016evaluationRuns2\r" + "evaluationRun\"\252\n\n\r" + "LatencyReport\022R\n" - + "\016tool_latencies\030\001 \003(\01322.google." - + "cloud.ces.v1beta.LatencyReport.ToolLatencyB\006\340A\003\340A\006\022Z\n" - + "\022callback_latencies\030\002 \003(\01326" - + ".google.cloud.ces.v1beta.LatencyReport.CallbackLatencyB\006\340A\003\340A\006\022\\\n" - + "\023guardrail_latencies\030\003" - + " \003(\01327.google.cloud.ces.v1beta.LatencyReport.GuardrailLatencyB\006\340A\003\340A\006\022Y\n" - + "\022llm_call_latencies\030\004 \003(\01325.google.cloud." - + "ces.v1beta.LatencyReport.LlmCallLatencyB\006\340A\003\340A\006\022\032\n\r" + + "\016tool_latencies\030\001 " + + "\003(\01322.google.cloud.ces.v1beta.LatencyReport.ToolLatencyB\006\340A\003\340A\006\022Z\n" + + "\022callback_latencies\030\002" + + " \003(\01326.google.cloud.ces.v1beta.LatencyReport.CallbackLatencyB\006\340A\003\340A\006\022\\\n" + + "\023guardrail_latencies\030\003 \003(\01327.google.cloud." + + "ces.v1beta.LatencyReport.GuardrailLatencyB\006\340A\003\340A\006\022Y\n" + + "\022llm_call_latencies\030\004 \003(\01325." + + "google.cloud.ces.v1beta.LatencyReport.LlmCallLatencyB\006\340A\003\340A\006\022\032\n\r" + "session_count\030\005 \001(\005B\003\340A\003\032\310\001\n" + "\016LatencyMetrics\0223\n" + "\013p50_latency\030\001 \001(\0132\031.google.protobuf.DurationB\003\340A\003\0223\n" + "\013p90_latency\030\002 \001(\0132\031.google.protobuf.DurationB\003\340A\003\0223\n" + "\013p99_latency\030\003" + " \001(\0132\031.google.protobuf.DurationB\003\340A\003\022\027\n\n" - + "call_count\030\004 \001(\005B\003\340A\003\032\211", - "\002\n" + + "call_count", + "\030\004 \001(\005B\003\340A\003\032\211\002\n" + "\013ToolLatency\022/\n" + "\004tool\030\001 \001(\tB\037\340A\003\372A\031\n" + "\027ces.googleapis.com/ToolH\000\022A\n" + "\014toolset_tool\030\002" + " \001(\0132$.google.cloud.ces.v1beta.ToolsetToolB\003\340A\003H\000\022\036\n" + "\021tool_display_name\030\003 \001(\tB\003\340A\003\022S\n" - + "\017latency_metrics\030\004 \001(\01325.google.clo" - + "ud.ces.v1beta.LatencyReport.LatencyMetricsB\003\340A\003B\021\n" + + "\017latency_metrics\030\004 \001(\013" + + "25.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\003\340A\003B\021\n" + "\017tool_identifier\032z\n" + "\017CallbackLatency\022\022\n" + "\005stage\030\001 \001(\tB\003\340A\003\022S\n" - + "\017latency_metrics\030\002" - + " \001(\01325.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\003\340A\003\032\305\001\n" + + "\017latency_metrics\030\002 \001(\01325.google.cloud.c" + + "es.v1beta.LatencyReport.LatencyMetricsB\003\340A\003\032\305\001\n" + "\020GuardrailLatency\0227\n" + "\tguardrail\030\001 \001(\tB$\340A\003\372A\036\n" + "\034ces.googleapis.com/Guardrail\022#\n" + "\026guardrail_display_name\030\002 \001(\tB\003\340A\003\022S\n" - + "\017latency_metrics\030\003" - + " \001(\01325.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\003\340A\003\032y\n" + + "\017latency_metrics\030\003 \001(\01325.google.cloud.c" + + "es.v1beta.LatencyReport.LatencyMetricsB\003\340A\003\032y\n" + "\016LlmCallLatency\022\022\n" + "\005model\030\001 \001(\tB\003\340A\003\022S\n" - + "\017latency_metrics\030\002" - + " \001(\01325.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\003\340A\003\"\244\004\n" + + "\017latency_metrics\030\002 \001(\01325.google.clou" + + "d.ces.v1beta.LatencyReport.LatencyMetricsB\003\340A\003\"\244\004\n" + "\025EvaluationExpectation\022W\n" - + "\014llm_criteria\030\003 \001(" - + "\0132:.google.cloud.ces.v1beta.EvaluationExpectation.LlmCriteriaB\003\340A\001H\000\022\021\n" + + "\014llm_criteria\030\003 \001(\0132:.google.cloud.ces.v1beta" + + ".EvaluationExpectation.LlmCriteriaB\003\340A\001H\000\022\021\n" + "\004name\030\001 \001(\tB\003\340A\010\022\031\n" + "\014display_name\030\002 \001(\tB\003\340A\002\022\021\n" + "\004tags\030\010 \003(\tB\003\340A\001\0224\n" @@ -780,26 +780,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004etag\030\006 \001(\tB\003\340A\003\032\"\n" + "\013LlmCriteria\022\023\n" + "\006prompt\030\001 \001(\tB\003\340A\002:\301\001\352A\275\001\n" - + "(ces.googleapis.com/EvaluationExpectation\022bprojects/{pro" - + "ject}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expecta" - + "tion}*\026evaluationExpectations2\025evaluationExpectationB\n\n" + + "(ces.googleapis.com/EvaluationExpectation\022bprojects/{project}/locations/{location}/" + + "apps/{app}/evaluationExpectations/{evalu" + + "ation_expectation}*\026evaluationExpectations2\025evaluationExpectationB\n\n" + "\010criteria\"\264\003\n" + "\020EvaluationConfig\022L\n" - + "\022input_audio_config\030\001 \001(\0132).goog" - + "le.cloud.ces.v1beta.InputAudioConfigB\005\030\001\340A\001\022N\n" - + "\023output_audio_config\030\002 \001(\0132*.googl" - + "e.cloud.ces.v1beta.OutputAudioConfigB\005\030\001\340A\001\022\\\n" - + "\022evaluation_channel\030\003 \001(\0162;.google" - + ".cloud.ces.v1beta.EvaluationConfig.EvaluationChannelB\003\340A\001\022V\n" - + "\023tool_call_behaviour\030\004" - + " \001(\01624.google.cloud.ces.v1beta.EvaluationToolCallBehaviourB\003\340A\001\"L\n" + + "\022input_audio_config\030\001" + + " \001(\0132).google.cloud.ces.v1beta.InputAudioConfigB\005\030\001\340A\001\022N\n" + + "\023output_audio_config\030\002" + + " \001(\0132*.google.cloud.ces.v1beta.OutputAudioConfigB\005\030\001\340A\001\022\\\n" + + "\022evaluation_channel\030\003" + + " \001(\0162;.google.cloud.ces.v1beta.EvaluationConfig.EvaluationChannelB\003\340A\001\022V\n" + + "\023tool_call_behaviour\030\004 \001(\01624.google.cloud.ces.v" + + "1beta.EvaluationToolCallBehaviourB\003\340A\001\"L\n" + "\021EvaluationChannel\022\"\n" + "\036EVALUATION_CHANNEL_UNSPECIFIED\020\000\022\010\n" + "\004TEXT\020\001\022\t\n" + "\005AUDIO\020\002\"\357\002\n" + "\023EvaluationErrorInfo\022O\n\n" - + "error_type\030\001 \001(\01626.google.clo" - + "ud.ces.v1beta.EvaluationErrorInfo.ErrorTypeB\003\340A\003\022\032\n\r" + + "error_type\030\001 \001(\016" + + "26.google.cloud.ces.v1beta.EvaluationErrorInfo.ErrorTypeB\003\340A\003\022\032\n\r" + "error_message\030\002 \001(\tB\003\340A\003\022\027\n\n" + "session_id\030\003 \001(\tB\003\340A\003\"\321\001\n" + "\tErrorType\022\032\n" @@ -820,13 +820,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014display_name\030\004 \001(\tB\003\340A\001\022:\n" + "\013app_version\030\006 \001(\tB%\340A\001\372A\037\n" + "\035ces.googleapis.com/AppVersion\022>\n" - + "\006config\030\010" - + " \001(\0132).google.cloud.ces.v1beta.EvaluationConfigB\003\340A\001\022\033\n" + + "\006config\030\010 \001(\0132).goog" + + "le.cloud.ces.v1beta.EvaluationConfigB\003\340A\001\022\033\n" + "\trun_count\030\t \001(\005B\003\340A\001H\000\210\001\001\022K\n" + "\023persona_run_configs\030\n" + " \003(\0132).google.cloud.ces.v1beta.PersonaRunConfigB\003\340A\001\022M\n" - + "\023optimization_config\030\013 " - + "\001(\0132+.google.cloud.ces.v1beta.OptimizationConfigB\003\340A\001\022S\n" + + "\023optimization_config\030\013" + + " \001(\0132+.google.cloud.ces.v1beta.OptimizationConfigB\003\340A\001\022S\n" + "\030scheduled_evaluation_run\030\014 \001(\tB1\340A\001\372A+\n" + ")ces.googleapis.com/ScheduledEvaluationRun\022H\n" + "\021golden_run_method\030\r" @@ -836,11 +836,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026ScheduledEvaluationRun\022\021\n" + "\004name\030\001 \001(\tB\003\340A\010\022\031\n" + "\014display_name\030\002 \001(\tB\003\340A\002\022C\n" - + "\007request\030\003 \001(\0132-.goo" - + "gle.cloud.ces.v1beta.RunEvaluationRequestB\003\340A\002\022\030\n" + + "\007request\030\003" + + " \001(\0132-.google.cloud.ces.v1beta.RunEvaluationRequestB\003\340A\002\022\030\n" + "\013description\030\004 \001(\tB\003\340A\001\022`\n" - + "\021scheduling_config\030\005 \001(\0132@.google.cloud.ces.v" - + "1beta.ScheduledEvaluationRun.SchedulingConfigB\003\340A\002\022\023\n" + + "\021scheduling_config\030\005 \001(\0132@.googl" + + "e.cloud.ces.v1beta.ScheduledEvaluationRun.SchedulingConfigB\003\340A\002\022\023\n" + "\006active\030\006 \001(\010B\003\340A\001\022D\n" + "\022last_completed_run\030\007 \001(\tB(\340A\003\372A\"\n" + " ces.googleapis.com/EvaluationRun\022\035\n" @@ -856,8 +856,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\tB\003\340A\003\022\021\n" + "\004etag\030\016 \001(\tB\003\340A\003\032\235\002\n" + "\020SchedulingConfig\022b\n" - + "\tfrequency\030\001 \001(\0162J.google.clou" - + "d.ces.v1beta.ScheduledEvaluationRun.SchedulingConfig.FrequencyB\003\340A\002\0223\n\n" + + "\tfrequency\030\001 \001(\0162J.google.cloud.ces.v1beta.ScheduledEvalu" + + "ationRun.SchedulingConfig.FrequencyB\003\340A\002\0223\n\n" + "start_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022\031\n" + "\014days_of_week\030\003 \003(\005B\003\340A\001\"U\n" + "\tFrequency\022\031\n" @@ -866,9 +866,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005DAILY\020\002\022\n\n" + "\006WEEKLY\020\003\022\014\n" + "\010BIWEEKLY\020\004:\307\001\352A\303\001\n" - + ")ces.googleapis.com/ScheduledEvaluationRun\022eprojects/{project}/locations/{loca" - + "tion}/apps/{app}/scheduledEvaluationRuns" - + "/{scheduled_evaluation_run}*\027scheduledEvaluationRuns2\026scheduledEvaluationRun\"A\n" + + ")ces.googleapis.com/ScheduledEvaluationRun\022eprojects/{project}/lo" + + "cations/{location}/apps/{app}/scheduledEvaluationRuns/{scheduled_evaluation_run}" + + "*\027scheduledEvaluationRuns2\026scheduledEvaluationRun\"A\n" + "\020PersonaRunConfig\022\024\n" + "\007persona\030\001 \001(\tB\003\340A\001\022\027\n\n" + "task_count\030\002 \001(\005B\003\340A\001\"\233\003\n" @@ -877,8 +877,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021assistant_session\030\002 \001(\tB\003\340A\003\022\033\n" + "\016report_summary\030\003 \001(\tB\003\340A\003\022\037\n" + "\022should_suggest_fix\030\005 \001(\010B\003\340A\003\022S\n" - + "\006status\030\004 \001(\0162>.google" - + ".cloud.ces.v1beta.OptimizationConfig.OptimizationStatusB\003\340A\003\022\032\n\r" + + "\006status\030\004" + + " \001(\0162>.google.cloud.ces.v1beta.OptimizationConfig.OptimizationStatusB\003\340A\003\022\032\n\r" + "error_message\030\006 \001(\tB\003\340A\003\0221\n" + "\013loss_report\030\007 \001(\0132\027.google.protobuf.StructB\003\340A\003\"`\n" + "\022OptimizationStatus\022#\n" @@ -886,8 +886,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007RUNNING\020\001\022\r\n" + "\tCOMPLETED\020\002\022\t\n" + "\005ERROR\020\003B_\n" - + "\033com.google.cloud.ces.v1betaB\017Evaluation" - + "ProtoP\001Z-cloud.google.com/go/ces/apiv1beta/cespb;cespbb\006proto3" + + "\033com.google.cloud.ces.v1betaB\017EvaluationProtoP\001Z-cloud.google.com/g" + + "o/ces/apiv1beta/cespb;cespbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationResult.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationResult.java index ef2468c50189..7015877c05ab 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationResult.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationResult.java @@ -121,6 +121,16 @@ public enum Outcome implements com.google.protobuf.ProtocolMessageEnum { * FAIL = 2; */ FAIL(2), + /** + * + * + *
+     * Evaluation/Expectation was skipped.
+     * 
+ * + * SKIPPED = 3; + */ + SKIPPED(3), UNRECOGNIZED(-1), ; @@ -169,6 +179,17 @@ public enum Outcome implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAIL_VALUE = 2; + /** + * + * + *
+     * Evaluation/Expectation was skipped.
+     * 
+ * + * SKIPPED = 3; + */ + public static final int SKIPPED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -199,6 +220,8 @@ public static Outcome forNumber(int value) { return PASS; case 2: return FAIL; + case 3: + return SKIPPED; default: return null; } @@ -34568,7 +34591,7 @@ public com.google.cloud.ces.v1beta.EvaluationErrorInfoOrBuilder getErrorInfoOrBu * * * @deprecated google.cloud.ces.v1beta.EvaluationResult.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=988 + * google/cloud/ces/v1beta/evaluation.proto;l=991 * @return Whether the error field is set. */ @java.lang.Override @@ -34590,7 +34613,7 @@ public boolean hasError() { * * * @deprecated google.cloud.ces.v1beta.EvaluationResult.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=988 + * google/cloud/ces/v1beta/evaluation.proto;l=991 * @return The error. */ @java.lang.Override @@ -37643,7 +37666,7 @@ public com.google.cloud.ces.v1beta.EvaluationErrorInfoOrBuilder getErrorInfoOrBu * * * @deprecated google.cloud.ces.v1beta.EvaluationResult.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=988 + * google/cloud/ces/v1beta/evaluation.proto;l=991 * @return Whether the error field is set. */ @java.lang.Deprecated @@ -37664,7 +37687,7 @@ public boolean hasError() { * * * @deprecated google.cloud.ces.v1beta.EvaluationResult.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=988 + * google/cloud/ces/v1beta/evaluation.proto;l=991 * @return The error. */ @java.lang.Deprecated diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationResultOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationResultOrBuilder.java index f20f2a72174e..0d18005ddfce 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationResultOrBuilder.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationResultOrBuilder.java @@ -382,7 +382,7 @@ public interface EvaluationResultOrBuilder * * * @deprecated google.cloud.ces.v1beta.EvaluationResult.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=988 + * google/cloud/ces/v1beta/evaluation.proto;l=991 * @return Whether the error field is set. */ @java.lang.Deprecated @@ -401,7 +401,7 @@ public interface EvaluationResultOrBuilder * * * @deprecated google.cloud.ces.v1beta.EvaluationResult.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=988 + * google/cloud/ces/v1beta/evaluation.proto;l=991 * @return The error. */ @java.lang.Deprecated diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationRun.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationRun.java index 365ed7d21f59..47fffbe7f562 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationRun.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationRun.java @@ -3116,7 +3116,7 @@ public com.google.cloud.ces.v1beta.EvaluationConfigOrBuilder getConfigOrBuilder( * * * @deprecated google.cloud.ces.v1beta.EvaluationRun.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1206 + * google/cloud/ces/v1beta/evaluation.proto;l=1209 * @return Whether the error field is set. */ @java.lang.Override @@ -3138,7 +3138,7 @@ public boolean hasError() { * * * @deprecated google.cloud.ces.v1beta.EvaluationRun.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1206 + * google/cloud/ces/v1beta/evaluation.proto;l=1209 * @return The error. */ @java.lang.Override @@ -7191,7 +7191,7 @@ public com.google.cloud.ces.v1beta.EvaluationConfigOrBuilder getConfigOrBuilder( * * * @deprecated google.cloud.ces.v1beta.EvaluationRun.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1206 + * google/cloud/ces/v1beta/evaluation.proto;l=1209 * @return Whether the error field is set. */ @java.lang.Deprecated @@ -7212,7 +7212,7 @@ public boolean hasError() { * * * @deprecated google.cloud.ces.v1beta.EvaluationRun.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1206 + * google/cloud/ces/v1beta/evaluation.proto;l=1209 * @return The error. */ @java.lang.Deprecated diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationRunOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationRunOrBuilder.java index 96cb0d073a4e..742ad4b28938 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationRunOrBuilder.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationRunOrBuilder.java @@ -634,7 +634,7 @@ public interface EvaluationRunOrBuilder * * * @deprecated google.cloud.ces.v1beta.EvaluationRun.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1206 + * google/cloud/ces/v1beta/evaluation.proto;l=1209 * @return Whether the error field is set. */ @java.lang.Deprecated @@ -653,7 +653,7 @@ public interface EvaluationRunOrBuilder * * * @deprecated google.cloud.ces.v1beta.EvaluationRun.error is deprecated. See - * google/cloud/ces/v1beta/evaluation.proto;l=1206 + * google/cloud/ces/v1beta/evaluation.proto;l=1209 * @return The error. */ @java.lang.Deprecated diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceProto.java index d165854ace7c..c416c2616ccc 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceProto.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceProto.java @@ -224,6 +224,30 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_ces_v1beta_ListEvaluationExpectationsResponse_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_ces_v1beta_ListEvaluationExpectationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_ces_v1beta_ExportOptions_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_ces_v1beta_ExportOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_ces_v1beta_ExportEvaluationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_ces_v1beta_ExportEvaluationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_ces_v1beta_ExportEvaluationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_ces_v1beta_ExportEvaluationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_ces_v1beta_ExportEvaluationsResponse_FailedEvaluationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_ces_v1beta_ExportEvaluationsResponse_FailedEvaluationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_ces_v1beta_ExportEvaluationResultsResponse_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_ces_v1beta_ExportEvaluationResultsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_ces_v1beta_ExportEvaluationRunsResponse_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_ces_v1beta_ExportEvaluationRunsResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -238,10 +262,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "vice.proto\022\027google.cloud.ces.v1beta\032\034goo" + "gle/api/annotations.proto\032\027google/api/cl" + "ient.proto\032\037google/api/field_behavior.pr" - + "oto\032\031google/api/resource.proto\032*google/c" - + "loud/ces/v1beta/conversation.proto\032(google/cloud/ces/v1beta/evaluation.proto\032#go" - + "ogle/longrunning/operations.proto\032\036googl" - + "e/protobuf/duration.proto\032\033google/protobuf/empty.proto\032" + + "oto\032\031google/api/resource.proto\032+google/c" + + "loud/ces/v1beta/agent_service.proto\032*google/cloud/ces/v1beta/conversation.proto\032" + + "(google/cloud/ces/v1beta/evaluation.prot" + + "o\032#google/longrunning/operations.proto\032\036" + + "google/protobuf/duration.proto\032\033google/protobuf/empty.proto\032" + " google/protobuf/field_mask.proto\032\037google/protobuf/timestamp.proto\"V\n" + "\025RunEvaluationResponse\022=\n" + "\016evaluation_run\030\001 \001(\tB%\372A\"\n" @@ -266,33 +291,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031GenerateEvaluationRequest\022=\n" + "\014conversation\030\001 \001(\tB\'\340A\002\372A!\n" + "\037ces.googleapis.com/Conversation\022C\n" - + "\006source\030\002 \001(\0162" - + ",.google.cloud.ces.v1beta.Conversation.SourceB\005\030\001\340A\001\"\373\004\n" + + "\006source\030\002" + + " \001(\0162,.google.cloud.ces.v1beta.Conversation.SourceB\005\030\001\340A\001\"\373\004\n" + "\030ImportEvaluationsRequest\022_\n" - + "\021conversation_list\030\002 \001(\0132B.google.cl" - + "oud.ces.v1beta.ImportEvaluationsRequest.ConversationListH\000\022\021\n" + + "\021conversation_list\030\002 \001(\0132B.goog" + + "le.cloud.ces.v1beta.ImportEvaluationsRequest.ConversationListH\000\022\021\n" + "\007gcs_uri\030\003 \001(\tH\000\022\025\n" + "\013csv_content\030\004 \001(\014H\000\022.\n" + "\006parent\030\001 \001(\tB\036\340A\002\372A\030\n" + "\026ces.googleapis.com/App\022\\\n" - + "\016import_options\030\005 \001(\0132?.google.cloud.ces.v1beta.I" - + "mportEvaluationsRequest.ImportOptionsB\003\340A\001\032.\n" + + "\016import_options\030\005 \001(\0132?.google.cloud.ces.v1b" + + "eta.ImportEvaluationsRequest.ImportOptionsB\003\340A\001\032.\n" + "\020ConversationList\022\032\n\r" + "conversations\030\001 \003(\tB\003\340A\001\032\213\002\n\r" + "ImportOptions\022\205\001\n" - + "\034conflict_resolution_strategy\030\001 \001(\0162Z.google.clo" - + "ud.ces.v1beta.ImportEvaluationsRequest.I" - + "mportOptions.ConflictResolutionStrategyB\003\340A\001\"r\n" + + "\034conflict_resolution_strategy\030\001 \001(\0162Z.googl" + + "e.cloud.ces.v1beta.ImportEvaluationsRequ" + + "est.ImportOptions.ConflictResolutionStrategyB\003\340A\001\"r\n" + "\032ConflictResolutionStrategy\022,\n" + "(CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED\020\000\022\r\n" + "\tOVERWRITE\020\001\022\010\n" + "\004SKIP\020\002\022\r\n" + "\tDUPLICATE\020\003B\010\n" - + "\006source\"\220\001\n" + + "\006source\"\365\002\n" + "\031ImportEvaluationsResponse\0228\n" - + "\013evaluations\030\001 \003(\0132#.google.cloud.ces.v1beta.Evaluation\022\033\n" + + "\013evaluations\030\001 \003(\0132#.google.cloud.ces.v1beta.Evaluation\022E\n" + + "\022evaluation_results\030\004" + + " \003(\0132).google.cloud.ces.v1beta.EvaluationResult\022?\n" + + "\017evaluation_runs\030\005 \003(\0132" + + "&.google.cloud.ces.v1beta.EvaluationRun\022\033\n" + "\016error_messages\030\002 \003(\tB\003\340A\001\022\034\n" - + "\024import_failure_count\030\003 \001(\005\"\252\001\n" + + "\024import_failure_count\030\003 \001(\005\022.\n" + + "&evaluation_result_import_failure_count\030\006 \001(\005\022+\n" + + "#evaluation_run_import_failure_count\030\007 \001(\005\"\252\001\n" + "\"ImportEvaluationsOperationMetadata\0224\n" + "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n" + "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\033\n" @@ -301,8 +332,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006parent\030\001 \001(\tB\036\340A\002\372A\030\n" + "\026ces.googleapis.com/App\022\"\n" + "\025evaluation_dataset_id\030\002 \001(\tB\003\340A\001\022K\n" - + "\022evaluation_dataset\030\003 \001(\0132*." - + "google.cloud.ces.v1beta.EvaluationDatasetB\003\340A\002\"\215\001\n" + + "\022evaluation_dataset\030\003 \001(\0132*.google" + + ".cloud.ces.v1beta.EvaluationDatasetB\003\340A\002\"\215\001\n" + "\027UpdateEvaluationRequest\022<\n\n" + "evaluation\030\001 \001(\0132#.google.cloud.ces.v1beta.EvaluationB\003\340A\002\0224\n" + "\013update_mask\030\002" @@ -377,25 +408,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\0132).google.cloud.ces.v1beta.EvaluationResult\022\027\n" + "\017next_page_token\030\002 \001(\t\"\202\001\n" + "\036ListEvaluationDatasetsResponse\022G\n" - + "\023evaluation_datasets\030\001 \003" - + "(\0132*.google.cloud.ces.v1beta.EvaluationDataset\022\027\n" + + "\023evaluation_datasets\030\001 \003(\0132*.g" + + "oogle.cloud.ces.v1beta.EvaluationDataset\022\027\n" + "\017next_page_token\030\002 \001(\t\"v\n" + "\032ListEvaluationRunsResponse\022?\n" - + "\017evaluation_runs\030\001" - + " \003(\0132&.google.cloud.ces.v1beta.EvaluationRun\022\027\n" + + "\017evaluation_runs\030\001 \003(\013" + + "2&.google.cloud.ces.v1beta.EvaluationRun\022\027\n" + "\017next_page_token\030\002 \001(\t\"\327\001\n" + "#CreateScheduledEvaluationRunRequest\022.\n" + "\006parent\030\001 \001(\tB\036\340A\002\372A\030\n" + "\026ces.googleapis.com/App\022(\n" + "\033scheduled_evaluation_run_id\030\002 \001(\tB\003\340A\001\022V\n" - + "\030scheduled_evaluation_run\030\003 \001(\0132/.go" - + "ogle.cloud.ces.v1beta.ScheduledEvaluationRunB\003\340A\002\"c\n" + + "\030scheduled_evaluation_run\030\003 \001(\0132/.google.c" + + "loud.ces.v1beta.ScheduledEvaluationRunB\003\340A\002\"c\n" + " GetScheduledEvaluationRunRequest\022?\n" + "\004name\030\001 \001(\tB1\340A\002\372A+\n" + ")ces.googleapis.com/ScheduledEvaluationRun\"\304\001\n" + "\"ListScheduledEvaluationRunsRequest\022A\n" - + "\006parent\030\001 \001(" - + "\tB1\340A\002\372A+\022)ces.googleapis.com/ScheduledEvaluationRun\022\026\n" + + "\006parent\030\001 \001(\tB" + + "1\340A\002\372A+\022)ces.googleapis.com/ScheduledEvaluationRun\022\026\n" + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + "page_token\030\003 \001(\tB\003\340A\001\022\023\n" + "\006filter\030\004 \001(\tB\003\340A\001\022\025\n" @@ -432,11 +463,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006parent\030\001 \001(\tB\036\340A\002\372A\030\n" + "\026ces.googleapis.com/App\022&\n" + "\031evaluation_expectation_id\030\002 \001(\tB\003\340A\001\022S\n" - + "\026evaluation_expectation\030\003 \001(\0132..goog" - + "le.cloud.ces.v1beta.EvaluationExpectationB\003\340A\002\"\257\001\n" + + "\026evaluation_expectation\030\003 \001(\0132..google.clo" + + "ud.ces.v1beta.EvaluationExpectationB\003\340A\002\"\257\001\n" + "\"UpdateEvaluationExpectationRequest\022S\n" - + "\026evaluation_expectation\030\001 \001(\0132.." - + "google.cloud.ces.v1beta.EvaluationExpectationB\003\340A\002\0224\n" + + "\026evaluation_expectation\030\001 \001(\0132..google" + + ".cloud.ces.v1beta.EvaluationExpectationB\003\340A\002\0224\n" + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"w\n" + "\"DeleteEvaluationExpectationRequest\022>\n" + "\004name\030\001 \001(\tB0\340A\002\372A*\n" @@ -453,161 +484,199 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006filter\030\004 \001(\tB\003\340A\001\022\025\n" + "\010order_by\030\005 \001(\tB\003\340A\001\"\216\001\n" + "\"ListEvaluationExpectationsResponse\022O\n" - + "\027evaluation_expectations\030\001 \003(\0132..goog" - + "le.cloud.ces.v1beta.EvaluationExpectation\022\027\n" - + "\017next_page_token\030\002 \001(\t2\245:\n" + + "\027evaluation_expectations\030\001" + + " \003(\0132..google.cloud.ces.v1beta.EvaluationExpectation\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\271\001\n\r" + + "ExportOptions\022O\n\r" + + "export_format\030\001 \001(\01623.google.cloud.ces" + + ".v1beta.ExportOptions.ExportFormatB\003\340A\001\022\024\n" + + "\007gcs_uri\030\002 \001(\tB\003\340A\001\"A\n" + + "\014ExportFormat\022\035\n" + + "\031EXPORT_FORMAT_UNSPECIFIED\020\000\022\010\n" + + "\004JSON\020\001\022\010\n" + + "\004YAML\020\002\"\220\002\n" + + "\030ExportEvaluationsRequest\022.\n" + + "\006parent\030\001 \001(\tB\036\340A\002\372A\030\n" + + "\026ces.googleapis.com/App\0224\n" + + "\005names\030\002 \003(\tB%\340A\002\372A\037\n" + + "\035ces.googleapis.com/Evaluation\022C\n" + + "\016export_options\030\003 " + + "\001(\0132&.google.cloud.ces.v1beta.ExportOptionsB\003\340A\001\022\'\n" + + "\032include_evaluation_results\030\004 \001(\010B\003\340A\001\022 \n" + + "\023include_evaluations\030\005 \001(\010B\003\340A\001\"\212\002\n" + + "\031ExportEvaluationsResponse\022\035\n" + + "\023evaluations_content\030\001 \001(\014H\000\022\031\n" + + "\017evaluations_uri\030\002 \001(\tH\000\022j\n" + + "\022failed_evaluations\030\003 \003(\0132I.google.cloud.ces.v1beta.ExportEvaluati" + + "onsResponse.FailedEvaluationsEntryB\003\340A\003\0328\n" + + "\026FailedEvaluationsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r" + + "\n" + + "\005value\030\002 \001(\t:\0028\001B\r\n" + + "\013evaluations\"\177\n" + + "\037ExportEvaluationResultsResponse\022$\n" + + "\032evaluation_results_content\030\001 \001(\014H\000\022 \n" + + "\026evaluation_results_uri\030\002 \001(\tH\000B\024\n" + + "\022evaluation_results\"s\n" + + "\034ExportEvaluationRunsResponse\022!\n" + + "\027evaluation_runs_content\030\001 \001(\014H\000\022\035\n" + + "\023evaluation_runs_uri\030\002 \001(\tH\000B\021\n" + + "\017evaluation_runs2\226<\n" + "\021EvaluationService\022\344\001\n\r" - + "RunEvaluation\022-.google.clou" - + "d.ces.v1beta.RunEvaluationRequest\032\035.google.longrunning.Operation\"\204\001\312A7\n" - + "\025RunEvaluationResponse\022\036RunEvaluationOperationMet" - + "adata\332A\003app\202\323\344\223\002>\"9/v1beta/{app=projects" - + "/*/locations/*/apps/*}:runEvaluation:\001*\022\370\001\n" - + "\025UploadEvaluationAudio\0225.google.cloud.ces.v1beta.UploadEvaluationAudioRequest" - + "\0326.google.cloud.ces.v1beta.UploadEvaluat" - + "ionAudioResponse\"p\332A\022name,audio_content\202" - + "\323\344\223\002U\"P/v1beta/{name=projects/*/location" - + "s/*/apps/*/evaluations/*}:uploadEvaluationAudio:\001*\022\360\001\n" - + "\020CreateEvaluation\0220.google.cloud.ces.v1beta.CreateEvaluationReques" - + "t\032#.google.cloud.ces.v1beta.Evaluation\"\204" - + "\001\332A\037parent,evaluation,evaluation_id\332A\021pa" - + "rent,evaluation\202\323\344\223\002H\":/v1beta/{parent=p" - + "rojects/*/locations/*/apps/*}/evaluations:\n" + + "RunEvaluation\022-.google.cloud.ces.v1beta.RunEvaluationRe" + + "quest\032\035.google.longrunning.Operation\"\204\001\312A7\n" + + "\025RunEvaluationResponse\022\036RunEvaluation" + + "OperationMetadata\332A\003app\202\323\344\223\002>\"9/v1beta/{" + + "app=projects/*/locations/*/apps/*}:runEvaluation:\001*\022\370\001\n" + + "\025UploadEvaluationAudio\0225.google.cloud.ces.v1beta.UploadEvaluation" + + "AudioRequest\0326.google.cloud.ces.v1beta.U" + + "ploadEvaluationAudioResponse\"p\332A\022name,au" + + "dio_content\202\323\344\223\002U\"P/v1beta/{name=project" + + "s/*/locations/*/apps/*/evaluations/*}:uploadEvaluationAudio:\001*\022\360\001\n" + + "\020CreateEvaluation\0220.google.cloud.ces.v1beta.CreateEval" + + "uationRequest\032#.google.cloud.ces.v1beta." + + "Evaluation\"\204\001\332A\037parent,evaluation,evalua" + + "tion_id\332A\021parent,evaluation\202\323\344\223\002H\":/v1be" + + "ta/{parent=projects/*/locations/*/apps/*}/evaluations:\n" + "evaluation\022\217\002\n" - + "\022GenerateEvaluation\0222.google.cloud.ces.v1beta.GenerateEvaluatio" - + "nRequest\032\035.google.longrunning.Operation\"\245\001\312A1\n\n" - + "Evaluation\022#GenerateEvaluationOpe" - + "rationMetadata\332A\014conversation\202\323\344\223\002\\\"W/v1" - + "beta/{conversation=projects/*/locations/" - + "*/apps/*/conversations/*}:generateEvaluation:\001*\022\376\001\n" - + "\021ImportEvaluations\0221.google.c" - + "loud.ces.v1beta.ImportEvaluationsRequest\032\035.google.longrunning.Operation\"\226\001\312A?\n" - + "\031ImportEvaluationsResponse\022\"ImportEvaluati" - + "onsOperationMetadata\332A\006parent\202\323\344\223\002E\"@/v1" - + "beta/{parent=projects/*/locations/*/apps/*}:importEvaluations:\001*\022\254\002\n" - + "\027CreateEvaluationDataset\0227.google.cloud.ces.v1beta.C" - + "reateEvaluationDatasetRequest\032*.google.c" - + "loud.ces.v1beta.EvaluationDataset\"\253\001\332A/p" - + "arent,evaluation_dataset,evaluation_data" - + "set_id\332A\031parent,evaluation_dataset\202\323\344\223\002W" - + "\"A/v1beta/{parent=projects/*/locations/*" - + "/apps/*}/evaluationDatasets:\022evaluation_dataset\022\335\001\n" - + "\020UpdateEvaluation\0220.google.cloud.ces.v1beta.UpdateEvaluationRequest\032#" - + ".google.cloud.ces.v1beta.Evaluation\"r\332A\026" - + "evaluation,update_mask\202\323\344\223\002S2E/v1beta/{e" - + "valuation.name=projects/*/locations/*/apps/*/evaluations/*}:\n" + + "\022GenerateEvaluation\0222.google.cloud.ces.v1beta.Gener" + + "ateEvaluationRequest\032\035.google.longrunning.Operation\"\245\001\312A1\n\n" + + "Evaluation\022#GenerateEvaluationOperationMetadata\332A\014conversatio" + + "n\202\323\344\223\002\\\"W/v1beta/{conversation=projects/" + + "*/locations/*/apps/*/conversations/*}:generateEvaluation:\001*\022\376\001\n" + + "\021ImportEvaluations\0221.google.cloud.ces.v1beta.ImportEvalua" + + "tionsRequest\032\035.google.longrunning.Operation\"\226\001\312A?\n" + + "\031ImportEvaluationsResponse\022\"ImportEvaluationsOperationMetadata\332A\006paren" + + "t\202\323\344\223\002E\"@/v1beta/{parent=projects/*/locations/*/apps/*}:importEvaluations:\001*\022\254\002\n" + + "\027CreateEvaluationDataset\0227.google.cloud.ces.v1beta.CreateEvaluationDatasetReques" + + "t\032*.google.cloud.ces.v1beta.EvaluationDa" + + "taset\"\253\001\332A/parent,evaluation_dataset,eva" + + "luation_dataset_id\332A\031parent,evaluation_d" + + "ataset\202\323\344\223\002W\"A/v1beta/{parent=projects/*" + + "/locations/*/apps/*}/evaluationDatasets:\022evaluation_dataset\022\335\001\n" + + "\020UpdateEvaluation\0220.google.cloud.ces.v1beta.UpdateEvaluat" + + "ionRequest\032#.google.cloud.ces.v1beta.Eva" + + "luation\"r\332A\026evaluation,update_mask\202\323\344\223\002S" + + "2E/v1beta/{evaluation.name=projects/*/locations/*/apps/*/evaluations/*}:\n" + "evaluation\022\222\002\n" - + "\027UpdateEvaluationDataset\0227.google.cloud.ces.v" - + "1beta.UpdateEvaluationDatasetRequest\032*.google.cloud.ces.v1beta.EvaluationDataset" - + "\"\221\001\332A\036evaluation_dataset,update_mask\202\323\344\223" - + "\002j2T/v1beta/{evaluation_dataset.name=pro" - + "jects/*/locations/*/apps/*/evaluationDatasets/*}:\022evaluation_dataset\022\247\001\n" - + "\020DeleteEvaluation\0220.google.cloud.ces.v1beta.Dele" - + "teEvaluationRequest\032\026.google.protobuf.Em" - + "pty\"I\332A\004name\202\323\344\223\002<*:/v1beta/{name=projec" - + "ts/*/locations/*/apps/*/evaluations/*}\022\275\001\n" - + "\026DeleteEvaluationResult\0226.google.cloud.ces.v1beta.DeleteEvaluationResultReques" - + "t\032\026.google.protobuf.Empty\"S\332A\004name\202\323\344\223\002F" - + "*D/v1beta/{name=projects/*/locations/*/apps/*/evaluations/*/results/*}\022\274\001\n" - + "\027DeleteEvaluationDataset\0227.google.cloud.ces.v1" - + "beta.DeleteEvaluationDatasetRequest\032\026.go" - + "ogle.protobuf.Empty\"P\332A\004name\202\323\344\223\002C*A/v1b" - + "eta/{name=projects/*/locations/*/apps/*/evaluationDatasets/*}\022\370\001\n" - + "\023DeleteEvaluationRun\0223.google.cloud.ces.v1beta.DeleteEv" - + "aluationRunRequest\032\035.google.longrunning.Operation\"\214\001\312A=\n" - + "\025google.protobuf.Empty\022$DeleteEvaluationRunOperationMetadata\332A\004n" - + "ame\202\323\344\223\002?*=/v1beta/{name=projects/*/locations/*/apps/*/evaluationRuns/*}\022\256\001\n\r" - + "GetEvaluation\022-.google.cloud.ces.v1beta.Get" - + "EvaluationRequest\032#.google.cloud.ces.v1b" - + "eta.Evaluation\"I\332A\004name\202\323\344\223\002<\022:/v1beta/{" - + "name=projects/*/locations/*/apps/*/evaluations/*}\022\312\001\n" - + "\023GetEvaluationResult\0223.google.cloud.ces.v1beta.GetEvaluationResultR" - + "equest\032).google.cloud.ces.v1beta.Evaluat" - + "ionResult\"S\332A\004name\202\323\344\223\002F\022D/v1beta/{name=" - + "projects/*/locations/*/apps/*/evaluations/*/results/*}\022\312\001\n" - + "\024GetEvaluationDataset\0224.google.cloud.ces.v1beta.GetEvaluationD" - + "atasetRequest\032*.google.cloud.ces.v1beta." - + "EvaluationDataset\"P\332A\004name\202\323\344\223\002C\022A/v1bet" - + "a/{name=projects/*/locations/*/apps/*/evaluationDatasets/*}\022\272\001\n" - + "\020GetEvaluationRun\0220.google.cloud.ces.v1beta.GetEvaluation" - + "RunRequest\032&.google.cloud.ces.v1beta.Eva" - + "luationRun\"L\332A\004name\202\323\344\223\002?\022=/v1beta/{name" - + "=projects/*/locations/*/apps/*/evaluationRuns/*}\022\301\001\n" - + "\017ListEvaluations\022/.google.cloud.ces.v1beta.ListEvaluationsRequest\0320." - + "google.cloud.ces.v1beta.ListEvaluationsR" - + "esponse\"K\332A\006parent\202\323\344\223\002<\022:/v1beta/{paren" - + "t=projects/*/locations/*/apps/*}/evaluations\022\335\001\n" - + "\025ListEvaluationResults\0225.google.cloud.ces.v1beta.ListEvaluationResultsRe" - + "quest\0326.google.cloud.ces.v1beta.ListEval" - + "uationResultsResponse\"U\332A\006parent\202\323\344\223\002F\022D" - + "/v1beta/{parent=projects/*/locations/*/apps/*/evaluations/*}/results\022\335\001\n" - + "\026ListEvaluationDatasets\0226.google.cloud.ces.v1bet" - + "a.ListEvaluationDatasetsRequest\0327.google.cloud.ces.v1beta.ListEvaluationDatasets" - + "Response\"R\332A\006parent\202\323\344\223\002C\022A/v1beta/{pare" - + "nt=projects/*/locations/*/apps/*}/evaluationDatasets\022\315\001\n" - + "\022ListEvaluationRuns\0222.google.cloud.ces.v1beta.ListEvaluationRuns" - + "Request\0323.google.cloud.ces.v1beta.ListEv" - + "aluationRunsResponse\"N\332A\006parent\202\323\344\223\002?\022=/" - + "v1beta/{parent=projects/*/locations/*/apps/*}/evaluationRuns\022\355\001\n" - + "\032ListEvaluationExpectations\022:.google.cloud.ces.v1beta.Li" - + "stEvaluationExpectationsRequest\032;.google.cloud.ces.v1beta.ListEvaluationExpectat" - + "ionsResponse\"V\332A\006parent\202\323\344\223\002G\022E/v1beta/{" - + "parent=projects/*/locations/*/apps/*}/evaluationExpectations\022\332\001\n" - + "\030GetEvaluationExpectation\0228.google.cloud.ces.v1beta.GetE" - + "valuationExpectationRequest\032..google.clo" - + "ud.ces.v1beta.EvaluationExpectation\"T\332A\004" - + "name\202\323\344\223\002G\022E/v1beta/{name=projects/*/loc" - + "ations/*/apps/*/evaluationExpectations/*}\022\314\002\n" - + "\033CreateEvaluationExpectation\022;.google.cloud.ces.v1beta.CreateEvaluationExpe" - + "ctationRequest\032..google.cloud.ces.v1beta" - + ".EvaluationExpectation\"\277\001\332A7parent,evalu" - + "ation_expectation,evaluation_expectation" - + "_id\332A\035parent,evaluation_expectation\202\323\344\223\002" - + "_\"E/v1beta/{parent=projects/*/locations/" - + "*/apps/*}/evaluationExpectations:\026evaluation_expectation\022\256\002\n" - + "\033UpdateEvaluationExpectation\022;.google.cloud.ces.v1beta.Updat" - + "eEvaluationExpectationRequest\032..google.c" - + "loud.ces.v1beta.EvaluationExpectation\"\241\001" - + "\332A\"evaluation_expectation,update_mask\202\323\344" - + "\223\002v2\\/v1beta/{evaluation_expectation.nam" - + "e=projects/*/locations/*/apps/*/evaluati" - + "onExpectations/*}:\026evaluation_expectation\022\310\001\n" - + "\033DeleteEvaluationExpectation\022;.google.cloud.ces.v1beta.DeleteEvaluationExpe" - + "ctationRequest\032\026.google.protobuf.Empty\"T" - + "\332A\004name\202\323\344\223\002G*E/v1beta/{name=projects/*/" - + "locations/*/apps/*/evaluationExpectations/*}\022\330\002\n" - + "\034CreateScheduledEvaluationRun\022<.google.cloud.ces.v1beta.CreateScheduledE" - + "valuationRunRequest\032/.google.cloud.ces.v" - + "1beta.ScheduledEvaluationRun\"\310\001\332A;parent" - + ",scheduled_evaluation_run,scheduled_evaluation_run_id\332A\037parent,scheduled_evaluat" - + "ion_run\202\323\344\223\002b\"F/v1beta/{parent=projects/" - + "*/locations/*/apps/*}/scheduledEvaluationRuns:\030scheduled_evaluation_run\022\336\001\n" - + "\031GetScheduledEvaluationRun\0229.google.cloud.ces" - + ".v1beta.GetScheduledEvaluationRunRequest\032/.google.cloud.ces.v1beta.ScheduledEval" - + "uationRun\"U\332A\004name\202\323\344\223\002H\022F/v1beta/{name=" - + "projects/*/locations/*/apps/*/scheduledEvaluationRuns/*}\022\361\001\n" - + "\033ListScheduledEvaluationRuns\022;.google.cloud.ces.v1beta.ListS" - + "cheduledEvaluationRunsRequest\032<.google.cloud.ces.v1beta.ListScheduledEvaluationR" - + "unsResponse\"W\332A\006parent\202\323\344\223\002H\022F/v1beta/{p" - + "arent=projects/*/locations/*/apps/*}/scheduledEvaluationRuns\022\270\002\n" - + "\034UpdateScheduledEvaluationRun\022<.google.cloud.ces.v1beta." - + "UpdateScheduledEvaluationRunRequest\032/.google.cloud.ces.v1beta.ScheduledEvaluatio" - + "nRun\"\250\001\332A$scheduled_evaluation_run,updat" - + "e_mask\202\323\344\223\002{2_/v1beta/{scheduled_evaluat" - + "ion_run.name=projects/*/locations/*/apps" - + "/*/scheduledEvaluationRuns/*}:\030scheduled_evaluation_run\022\313\001\n" - + "\034DeleteScheduledEvaluationRun\022<.google.cloud.ces.v1beta.Delet" - + "eScheduledEvaluationRunRequest\032\026.google." - + "protobuf.Empty\"U\332A\004name\202\323\344\223\002H*F/v1beta/{" - + "name=projects/*/locations/*/apps/*/scheduledEvaluationRuns/*}\022\306\001\n" - + "\020TestPersonaVoice\0220.google.cloud.ces.v1beta.TestPersona" - + "VoiceRequest\0321.google.cloud.ces.v1beta.T" - + "estPersonaVoiceResponse\"M\332A\003app\202\323\344\223\002A\" + * Optional. Mock configuration for the tool execution. + * If this field is set, tools that call other tools will be + * mocked based on the provided patterns and responses. + * + * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the mockConfig field is set. + */ + @java.lang.Override + public boolean hasMockConfig() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Optional. Mock configuration for the tool execution.
+   * If this field is set, tools that call other tools will be
+   * mocked based on the provided patterns and responses.
+   * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The mockConfig. + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.MockConfig getMockConfig() { + return mockConfig_ == null + ? com.google.cloud.ces.v1beta.MockConfig.getDefaultInstance() + : mockConfig_; + } + + /** + * + * + *
+   * Optional. Mock configuration for the tool execution.
+   * If this field is set, tools that call other tools will be
+   * mocked based on the provided patterns and responses.
+   * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.MockConfigOrBuilder getMockConfigOrBuilder() { + return mockConfig_ == null + ? com.google.cloud.ces.v1beta.MockConfig.getDefaultInstance() + : mockConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -577,6 +642,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (toolExecutionContextCase_ == 6) { output.writeMessage(6, (com.google.protobuf.Struct) toolExecutionContext_); } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(7, getMockConfig()); + } getUnknownFields().writeTo(output); } @@ -610,6 +678,9 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 6, (com.google.protobuf.Struct) toolExecutionContext_); } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMockConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -631,6 +702,10 @@ public boolean equals(final java.lang.Object obj) { if (hasArgs()) { if (!getArgs().equals(other.getArgs())) return false; } + if (hasMockConfig() != other.hasMockConfig()) return false; + if (hasMockConfig()) { + if (!getMockConfig().equals(other.getMockConfig())) return false; + } if (!getToolIdentifierCase().equals(other.getToolIdentifierCase())) return false; switch (toolIdentifierCase_) { case 1: @@ -670,6 +745,10 @@ public int hashCode() { hash = (37 * hash) + ARGS_FIELD_NUMBER; hash = (53 * hash) + getArgs().hashCode(); } + if (hasMockConfig()) { + hash = (37 * hash) + MOCK_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getMockConfig().hashCode(); + } switch (toolIdentifierCase_) { case 1: hash = (37 * hash) + TOOL_FIELD_NUMBER; @@ -837,6 +916,7 @@ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { internalGetArgsFieldBuilder(); + internalGetMockConfigFieldBuilder(); } } @@ -859,6 +939,11 @@ public Builder clear() { argsBuilder_.dispose(); argsBuilder_ = null; } + mockConfig_ = null; + if (mockConfigBuilder_ != null) { + mockConfigBuilder_.dispose(); + mockConfigBuilder_ = null; + } toolIdentifierCase_ = 0; toolIdentifier_ = null; toolExecutionContextCase_ = 0; @@ -908,6 +993,10 @@ private void buildPartial0(com.google.cloud.ces.v1beta.ExecuteToolRequest result result.args_ = argsBuilder_ == null ? args_ : argsBuilder_.build(); to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.mockConfig_ = mockConfigBuilder_ == null ? mockConfig_ : mockConfigBuilder_.build(); + to_bitField0_ |= 0x00000002; + } result.bitField0_ |= to_bitField0_; } @@ -947,6 +1036,9 @@ public Builder mergeFrom(com.google.cloud.ces.v1beta.ExecuteToolRequest other) { if (other.hasArgs()) { mergeArgs(other.getArgs()); } + if (other.hasMockConfig()) { + mergeMockConfig(other.getMockConfig()); + } switch (other.getToolIdentifierCase()) { case TOOL: { @@ -1046,6 +1138,13 @@ public Builder mergeFrom( toolExecutionContextCase_ = 6; break; } // case 50 + case 58: + { + input.readMessage( + internalGetMockConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2276,6 +2375,236 @@ public com.google.protobuf.StructOrBuilder getArgsOrBuilder() { return argsBuilder_; } + private com.google.cloud.ces.v1beta.MockConfig mockConfig_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.MockConfig, + com.google.cloud.ces.v1beta.MockConfig.Builder, + com.google.cloud.ces.v1beta.MockConfigOrBuilder> + mockConfigBuilder_; + + /** + * + * + *
+     * Optional. Mock configuration for the tool execution.
+     * If this field is set, tools that call other tools will be
+     * mocked based on the provided patterns and responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the mockConfig field is set. + */ + public boolean hasMockConfig() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * + * + *
+     * Optional. Mock configuration for the tool execution.
+     * If this field is set, tools that call other tools will be
+     * mocked based on the provided patterns and responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The mockConfig. + */ + public com.google.cloud.ces.v1beta.MockConfig getMockConfig() { + if (mockConfigBuilder_ == null) { + return mockConfig_ == null + ? com.google.cloud.ces.v1beta.MockConfig.getDefaultInstance() + : mockConfig_; + } else { + return mockConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. Mock configuration for the tool execution.
+     * If this field is set, tools that call other tools will be
+     * mocked based on the provided patterns and responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMockConfig(com.google.cloud.ces.v1beta.MockConfig value) { + if (mockConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + mockConfig_ = value; + } else { + mockConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Mock configuration for the tool execution.
+     * If this field is set, tools that call other tools will be
+     * mocked based on the provided patterns and responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMockConfig(com.google.cloud.ces.v1beta.MockConfig.Builder builderForValue) { + if (mockConfigBuilder_ == null) { + mockConfig_ = builderForValue.build(); + } else { + mockConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Mock configuration for the tool execution.
+     * If this field is set, tools that call other tools will be
+     * mocked based on the provided patterns and responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeMockConfig(com.google.cloud.ces.v1beta.MockConfig value) { + if (mockConfigBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && mockConfig_ != null + && mockConfig_ != com.google.cloud.ces.v1beta.MockConfig.getDefaultInstance()) { + getMockConfigBuilder().mergeFrom(value); + } else { + mockConfig_ = value; + } + } else { + mockConfigBuilder_.mergeFrom(value); + } + if (mockConfig_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. Mock configuration for the tool execution.
+     * If this field is set, tools that call other tools will be
+     * mocked based on the provided patterns and responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearMockConfig() { + bitField0_ = (bitField0_ & ~0x00000040); + mockConfig_ = null; + if (mockConfigBuilder_ != null) { + mockConfigBuilder_.dispose(); + mockConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Mock configuration for the tool execution.
+     * If this field is set, tools that call other tools will be
+     * mocked based on the provided patterns and responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.MockConfig.Builder getMockConfigBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return internalGetMockConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. Mock configuration for the tool execution.
+     * If this field is set, tools that call other tools will be
+     * mocked based on the provided patterns and responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.MockConfigOrBuilder getMockConfigOrBuilder() { + if (mockConfigBuilder_ != null) { + return mockConfigBuilder_.getMessageOrBuilder(); + } else { + return mockConfig_ == null + ? com.google.cloud.ces.v1beta.MockConfig.getDefaultInstance() + : mockConfig_; + } + } + + /** + * + * + *
+     * Optional. Mock configuration for the tool execution.
+     * If this field is set, tools that call other tools will be
+     * mocked based on the provided patterns and responses.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.MockConfig, + com.google.cloud.ces.v1beta.MockConfig.Builder, + com.google.cloud.ces.v1beta.MockConfigOrBuilder> + internalGetMockConfigFieldBuilder() { + if (mockConfigBuilder_ == null) { + mockConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.MockConfig, + com.google.cloud.ces.v1beta.MockConfig.Builder, + com.google.cloud.ces.v1beta.MockConfigOrBuilder>( + getMockConfig(), getParentForChildren(), isClean()); + mockConfig_ = null; + } + return mockConfigBuilder_; + } + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ExecuteToolRequest) } diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExecuteToolRequestOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExecuteToolRequestOrBuilder.java index 05853423d692..427cafb7c77a 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExecuteToolRequestOrBuilder.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExecuteToolRequestOrBuilder.java @@ -275,6 +275,55 @@ public interface ExecuteToolRequestOrBuilder */ com.google.protobuf.StructOrBuilder getArgsOrBuilder(); + /** + * + * + *
+   * Optional. Mock configuration for the tool execution.
+   * If this field is set, tools that call other tools will be
+   * mocked based on the provided patterns and responses.
+   * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the mockConfig field is set. + */ + boolean hasMockConfig(); + + /** + * + * + *
+   * Optional. Mock configuration for the tool execution.
+   * If this field is set, tools that call other tools will be
+   * mocked based on the provided patterns and responses.
+   * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The mockConfig. + */ + com.google.cloud.ces.v1beta.MockConfig getMockConfig(); + + /** + * + * + *
+   * Optional. Mock configuration for the tool execution.
+   * If this field is set, tools that call other tools will be
+   * mocked based on the provided patterns and responses.
+   * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig mock_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.ces.v1beta.MockConfigOrBuilder getMockConfigOrBuilder(); + com.google.cloud.ces.v1beta.ExecuteToolRequest.ToolIdentifierCase getToolIdentifierCase(); com.google.cloud.ces.v1beta.ExecuteToolRequest.ToolExecutionContextCase diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationResultsResponse.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationResultsResponse.java new file mode 100644 index 000000000000..5cedf7592453 --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationResultsResponse.java @@ -0,0 +1,899 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/evaluation_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +/** + * + * + *
+ * Response message for
+ * [EvaluationService.ExportEvaluationResults][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationResults].
+ * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ExportEvaluationResultsResponse} + */ +@com.google.protobuf.Generated +public final class ExportEvaluationResultsResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.ExportEvaluationResultsResponse) + ExportEvaluationResultsResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ExportEvaluationResultsResponse"); + } + + // Use ExportEvaluationResultsResponse.newBuilder() to construct. + private ExportEvaluationResultsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ExportEvaluationResultsResponse() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationResultsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationResultsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse.class, + com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse.Builder.class); + } + + private int evaluationResultsCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object evaluationResults_; + + public enum EvaluationResultsCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + EVALUATION_RESULTS_CONTENT(1), + EVALUATION_RESULTS_URI(2), + EVALUATIONRESULTS_NOT_SET(0); + private final int value; + + private EvaluationResultsCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EvaluationResultsCase valueOf(int value) { + return forNumber(value); + } + + public static EvaluationResultsCase forNumber(int value) { + switch (value) { + case 1: + return EVALUATION_RESULTS_CONTENT; + case 2: + return EVALUATION_RESULTS_URI; + case 0: + return EVALUATIONRESULTS_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public EvaluationResultsCase getEvaluationResultsCase() { + return EvaluationResultsCase.forNumber(evaluationResultsCase_); + } + + public static final int EVALUATION_RESULTS_CONTENT_FIELD_NUMBER = 1; + + /** + * + * + *
+   * The content of the exported Evaluation Results. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluation_results_content = 1; + * + * @return Whether the evaluationResultsContent field is set. + */ + @java.lang.Override + public boolean hasEvaluationResultsContent() { + return evaluationResultsCase_ == 1; + } + + /** + * + * + *
+   * The content of the exported Evaluation Results. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluation_results_content = 1; + * + * @return The evaluationResultsContent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEvaluationResultsContent() { + if (evaluationResultsCase_ == 1) { + return (com.google.protobuf.ByteString) evaluationResults_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int EVALUATION_RESULTS_URI_FIELD_NUMBER = 2; + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Results
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_results_uri = 2; + * + * @return Whether the evaluationResultsUri field is set. + */ + public boolean hasEvaluationResultsUri() { + return evaluationResultsCase_ == 2; + } + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Results
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_results_uri = 2; + * + * @return The evaluationResultsUri. + */ + public java.lang.String getEvaluationResultsUri() { + java.lang.Object ref = ""; + if (evaluationResultsCase_ == 2) { + ref = evaluationResults_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (evaluationResultsCase_ == 2) { + evaluationResults_ = s; + } + return s; + } + } + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Results
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_results_uri = 2; + * + * @return The bytes for evaluationResultsUri. + */ + public com.google.protobuf.ByteString getEvaluationResultsUriBytes() { + java.lang.Object ref = ""; + if (evaluationResultsCase_ == 2) { + ref = evaluationResults_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (evaluationResultsCase_ == 2) { + evaluationResults_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (evaluationResultsCase_ == 1) { + output.writeBytes(1, (com.google.protobuf.ByteString) evaluationResults_); + } + if (evaluationResultsCase_ == 2) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, evaluationResults_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (evaluationResultsCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 1, (com.google.protobuf.ByteString) evaluationResults_); + } + if (evaluationResultsCase_ == 2) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, evaluationResults_); + } + 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.ces.v1beta.ExportEvaluationResultsResponse)) { + return super.equals(obj); + } + com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse other = + (com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse) obj; + + if (!getEvaluationResultsCase().equals(other.getEvaluationResultsCase())) return false; + switch (evaluationResultsCase_) { + case 1: + if (!getEvaluationResultsContent().equals(other.getEvaluationResultsContent())) + return false; + break; + case 2: + if (!getEvaluationResultsUri().equals(other.getEvaluationResultsUri())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (evaluationResultsCase_) { + case 1: + hash = (37 * hash) + EVALUATION_RESULTS_CONTENT_FIELD_NUMBER; + hash = (53 * hash) + getEvaluationResultsContent().hashCode(); + break; + case 2: + hash = (37 * hash) + EVALUATION_RESULTS_URI_FIELD_NUMBER; + hash = (53 * hash) + getEvaluationResultsUri().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse 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.ces.v1beta.ExportEvaluationResultsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse 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.ces.v1beta.ExportEvaluationResultsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Response message for
+   * [EvaluationService.ExportEvaluationResults][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationResults].
+   * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ExportEvaluationResultsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.ces.v1beta.ExportEvaluationResultsResponse) + com.google.cloud.ces.v1beta.ExportEvaluationResultsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationResultsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationResultsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse.class, + com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse.Builder.class); + } + + // Construct using com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + evaluationResultsCase_ = 0; + evaluationResults_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationResultsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse getDefaultInstanceForType() { + return com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse build() { + com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse buildPartial() { + com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse result = + new com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs( + com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse result) { + result.evaluationResultsCase_ = evaluationResultsCase_; + result.evaluationResults_ = this.evaluationResults_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse) { + return mergeFrom((com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse other) { + if (other == com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse.getDefaultInstance()) + return this; + switch (other.getEvaluationResultsCase()) { + case EVALUATION_RESULTS_CONTENT: + { + setEvaluationResultsContent(other.getEvaluationResultsContent()); + break; + } + case EVALUATION_RESULTS_URI: + { + evaluationResultsCase_ = 2; + evaluationResults_ = other.evaluationResults_; + onChanged(); + break; + } + case EVALUATIONRESULTS_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + evaluationResults_ = input.readBytes(); + evaluationResultsCase_ = 1; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + evaluationResultsCase_ = 2; + evaluationResults_ = s; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int evaluationResultsCase_ = 0; + private java.lang.Object evaluationResults_; + + public EvaluationResultsCase getEvaluationResultsCase() { + return EvaluationResultsCase.forNumber(evaluationResultsCase_); + } + + public Builder clearEvaluationResults() { + evaluationResultsCase_ = 0; + evaluationResults_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+     * The content of the exported Evaluation Results. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluation_results_content = 1; + * + * @return Whether the evaluationResultsContent field is set. + */ + public boolean hasEvaluationResultsContent() { + return evaluationResultsCase_ == 1; + } + + /** + * + * + *
+     * The content of the exported Evaluation Results. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluation_results_content = 1; + * + * @return The evaluationResultsContent. + */ + public com.google.protobuf.ByteString getEvaluationResultsContent() { + if (evaluationResultsCase_ == 1) { + return (com.google.protobuf.ByteString) evaluationResults_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + /** + * + * + *
+     * The content of the exported Evaluation Results. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluation_results_content = 1; + * + * @param value The evaluationResultsContent to set. + * @return This builder for chaining. + */ + public Builder setEvaluationResultsContent(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + evaluationResultsCase_ = 1; + evaluationResults_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * The content of the exported Evaluation Results. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluation_results_content = 1; + * + * @return This builder for chaining. + */ + public Builder clearEvaluationResultsContent() { + if (evaluationResultsCase_ == 1) { + evaluationResultsCase_ = 0; + evaluationResults_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Results
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_results_uri = 2; + * + * @return Whether the evaluationResultsUri field is set. + */ + @java.lang.Override + public boolean hasEvaluationResultsUri() { + return evaluationResultsCase_ == 2; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Results
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_results_uri = 2; + * + * @return The evaluationResultsUri. + */ + @java.lang.Override + public java.lang.String getEvaluationResultsUri() { + java.lang.Object ref = ""; + if (evaluationResultsCase_ == 2) { + ref = evaluationResults_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (evaluationResultsCase_ == 2) { + evaluationResults_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Results
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_results_uri = 2; + * + * @return The bytes for evaluationResultsUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEvaluationResultsUriBytes() { + java.lang.Object ref = ""; + if (evaluationResultsCase_ == 2) { + ref = evaluationResults_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (evaluationResultsCase_ == 2) { + evaluationResults_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Results
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_results_uri = 2; + * + * @param value The evaluationResultsUri to set. + * @return This builder for chaining. + */ + public Builder setEvaluationResultsUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + evaluationResultsCase_ = 2; + evaluationResults_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Results
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_results_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearEvaluationResultsUri() { + if (evaluationResultsCase_ == 2) { + evaluationResultsCase_ = 0; + evaluationResults_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Results
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_results_uri = 2; + * + * @param value The bytes for evaluationResultsUri to set. + * @return This builder for chaining. + */ + public Builder setEvaluationResultsUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + evaluationResultsCase_ = 2; + evaluationResults_ = value; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ExportEvaluationResultsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.ces.v1beta.ExportEvaluationResultsResponse) + private static final com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse(); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportEvaluationResultsResponse 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.ces.v1beta.ExportEvaluationResultsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationResultsResponseOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationResultsResponseOrBuilder.java new file mode 100644 index 000000000000..6fa0ba49ff1d --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationResultsResponseOrBuilder.java @@ -0,0 +1,104 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/evaluation_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +@com.google.protobuf.Generated +public interface ExportEvaluationResultsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.ces.v1beta.ExportEvaluationResultsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The content of the exported Evaluation Results. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluation_results_content = 1; + * + * @return Whether the evaluationResultsContent field is set. + */ + boolean hasEvaluationResultsContent(); + + /** + * + * + *
+   * The content of the exported Evaluation Results. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluation_results_content = 1; + * + * @return The evaluationResultsContent. + */ + com.google.protobuf.ByteString getEvaluationResultsContent(); + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Results
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_results_uri = 2; + * + * @return Whether the evaluationResultsUri field is set. + */ + boolean hasEvaluationResultsUri(); + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Results
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_results_uri = 2; + * + * @return The evaluationResultsUri. + */ + java.lang.String getEvaluationResultsUri(); + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Results
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_results_uri = 2; + * + * @return The bytes for evaluationResultsUri. + */ + com.google.protobuf.ByteString getEvaluationResultsUriBytes(); + + com.google.cloud.ces.v1beta.ExportEvaluationResultsResponse.EvaluationResultsCase + getEvaluationResultsCase(); +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationRunsResponse.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationRunsResponse.java new file mode 100644 index 000000000000..393f4f66b8b1 --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationRunsResponse.java @@ -0,0 +1,898 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/evaluation_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +/** + * + * + *
+ * Response message for
+ * [EvaluationService.ExportEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationRuns].
+ * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ExportEvaluationRunsResponse} + */ +@com.google.protobuf.Generated +public final class ExportEvaluationRunsResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.ExportEvaluationRunsResponse) + ExportEvaluationRunsResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ExportEvaluationRunsResponse"); + } + + // Use ExportEvaluationRunsResponse.newBuilder() to construct. + private ExportEvaluationRunsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ExportEvaluationRunsResponse() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationRunsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationRunsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse.class, + com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse.Builder.class); + } + + private int evaluationRunsCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object evaluationRuns_; + + public enum EvaluationRunsCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + EVALUATION_RUNS_CONTENT(1), + EVALUATION_RUNS_URI(2), + EVALUATIONRUNS_NOT_SET(0); + private final int value; + + private EvaluationRunsCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EvaluationRunsCase valueOf(int value) { + return forNumber(value); + } + + public static EvaluationRunsCase forNumber(int value) { + switch (value) { + case 1: + return EVALUATION_RUNS_CONTENT; + case 2: + return EVALUATION_RUNS_URI; + case 0: + return EVALUATIONRUNS_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public EvaluationRunsCase getEvaluationRunsCase() { + return EvaluationRunsCase.forNumber(evaluationRunsCase_); + } + + public static final int EVALUATION_RUNS_CONTENT_FIELD_NUMBER = 1; + + /** + * + * + *
+   * The content of the exported Evaluation Runs. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluation_runs_content = 1; + * + * @return Whether the evaluationRunsContent field is set. + */ + @java.lang.Override + public boolean hasEvaluationRunsContent() { + return evaluationRunsCase_ == 1; + } + + /** + * + * + *
+   * The content of the exported Evaluation Runs. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluation_runs_content = 1; + * + * @return The evaluationRunsContent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEvaluationRunsContent() { + if (evaluationRunsCase_ == 1) { + return (com.google.protobuf.ByteString) evaluationRuns_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int EVALUATION_RUNS_URI_FIELD_NUMBER = 2; + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Runs
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_runs_uri = 2; + * + * @return Whether the evaluationRunsUri field is set. + */ + public boolean hasEvaluationRunsUri() { + return evaluationRunsCase_ == 2; + } + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Runs
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_runs_uri = 2; + * + * @return The evaluationRunsUri. + */ + public java.lang.String getEvaluationRunsUri() { + java.lang.Object ref = ""; + if (evaluationRunsCase_ == 2) { + ref = evaluationRuns_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (evaluationRunsCase_ == 2) { + evaluationRuns_ = s; + } + return s; + } + } + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Runs
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_runs_uri = 2; + * + * @return The bytes for evaluationRunsUri. + */ + public com.google.protobuf.ByteString getEvaluationRunsUriBytes() { + java.lang.Object ref = ""; + if (evaluationRunsCase_ == 2) { + ref = evaluationRuns_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (evaluationRunsCase_ == 2) { + evaluationRuns_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (evaluationRunsCase_ == 1) { + output.writeBytes(1, (com.google.protobuf.ByteString) evaluationRuns_); + } + if (evaluationRunsCase_ == 2) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, evaluationRuns_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (evaluationRunsCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 1, (com.google.protobuf.ByteString) evaluationRuns_); + } + if (evaluationRunsCase_ == 2) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, evaluationRuns_); + } + 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.ces.v1beta.ExportEvaluationRunsResponse)) { + return super.equals(obj); + } + com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse other = + (com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse) obj; + + if (!getEvaluationRunsCase().equals(other.getEvaluationRunsCase())) return false; + switch (evaluationRunsCase_) { + case 1: + if (!getEvaluationRunsContent().equals(other.getEvaluationRunsContent())) return false; + break; + case 2: + if (!getEvaluationRunsUri().equals(other.getEvaluationRunsUri())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (evaluationRunsCase_) { + case 1: + hash = (37 * hash) + EVALUATION_RUNS_CONTENT_FIELD_NUMBER; + hash = (53 * hash) + getEvaluationRunsContent().hashCode(); + break; + case 2: + hash = (37 * hash) + EVALUATION_RUNS_URI_FIELD_NUMBER; + hash = (53 * hash) + getEvaluationRunsUri().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse 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.ces.v1beta.ExportEvaluationRunsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse 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.ces.v1beta.ExportEvaluationRunsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Response message for
+   * [EvaluationService.ExportEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationRuns].
+   * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ExportEvaluationRunsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.ces.v1beta.ExportEvaluationRunsResponse) + com.google.cloud.ces.v1beta.ExportEvaluationRunsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationRunsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationRunsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse.class, + com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse.Builder.class); + } + + // Construct using com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + evaluationRunsCase_ = 0; + evaluationRuns_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationRunsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse getDefaultInstanceForType() { + return com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse build() { + com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse buildPartial() { + com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse result = + new com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs( + com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse result) { + result.evaluationRunsCase_ = evaluationRunsCase_; + result.evaluationRuns_ = this.evaluationRuns_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse) { + return mergeFrom((com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse other) { + if (other == com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse.getDefaultInstance()) + return this; + switch (other.getEvaluationRunsCase()) { + case EVALUATION_RUNS_CONTENT: + { + setEvaluationRunsContent(other.getEvaluationRunsContent()); + break; + } + case EVALUATION_RUNS_URI: + { + evaluationRunsCase_ = 2; + evaluationRuns_ = other.evaluationRuns_; + onChanged(); + break; + } + case EVALUATIONRUNS_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + evaluationRuns_ = input.readBytes(); + evaluationRunsCase_ = 1; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + evaluationRunsCase_ = 2; + evaluationRuns_ = s; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int evaluationRunsCase_ = 0; + private java.lang.Object evaluationRuns_; + + public EvaluationRunsCase getEvaluationRunsCase() { + return EvaluationRunsCase.forNumber(evaluationRunsCase_); + } + + public Builder clearEvaluationRuns() { + evaluationRunsCase_ = 0; + evaluationRuns_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+     * The content of the exported Evaluation Runs. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluation_runs_content = 1; + * + * @return Whether the evaluationRunsContent field is set. + */ + public boolean hasEvaluationRunsContent() { + return evaluationRunsCase_ == 1; + } + + /** + * + * + *
+     * The content of the exported Evaluation Runs. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluation_runs_content = 1; + * + * @return The evaluationRunsContent. + */ + public com.google.protobuf.ByteString getEvaluationRunsContent() { + if (evaluationRunsCase_ == 1) { + return (com.google.protobuf.ByteString) evaluationRuns_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + /** + * + * + *
+     * The content of the exported Evaluation Runs. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluation_runs_content = 1; + * + * @param value The evaluationRunsContent to set. + * @return This builder for chaining. + */ + public Builder setEvaluationRunsContent(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + evaluationRunsCase_ = 1; + evaluationRuns_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * The content of the exported Evaluation Runs. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluation_runs_content = 1; + * + * @return This builder for chaining. + */ + public Builder clearEvaluationRunsContent() { + if (evaluationRunsCase_ == 1) { + evaluationRunsCase_ = 0; + evaluationRuns_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Runs
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_runs_uri = 2; + * + * @return Whether the evaluationRunsUri field is set. + */ + @java.lang.Override + public boolean hasEvaluationRunsUri() { + return evaluationRunsCase_ == 2; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Runs
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_runs_uri = 2; + * + * @return The evaluationRunsUri. + */ + @java.lang.Override + public java.lang.String getEvaluationRunsUri() { + java.lang.Object ref = ""; + if (evaluationRunsCase_ == 2) { + ref = evaluationRuns_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (evaluationRunsCase_ == 2) { + evaluationRuns_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Runs
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_runs_uri = 2; + * + * @return The bytes for evaluationRunsUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEvaluationRunsUriBytes() { + java.lang.Object ref = ""; + if (evaluationRunsCase_ == 2) { + ref = evaluationRuns_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (evaluationRunsCase_ == 2) { + evaluationRuns_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Runs
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_runs_uri = 2; + * + * @param value The evaluationRunsUri to set. + * @return This builder for chaining. + */ + public Builder setEvaluationRunsUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + evaluationRunsCase_ = 2; + evaluationRuns_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Runs
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_runs_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearEvaluationRunsUri() { + if (evaluationRunsCase_ == 2) { + evaluationRunsCase_ = 0; + evaluationRuns_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported Evaluation Runs
+     * were written. This will be populated if gcs_uri was specified in the
+     * request.
+     * 
+ * + * string evaluation_runs_uri = 2; + * + * @param value The bytes for evaluationRunsUri to set. + * @return This builder for chaining. + */ + public Builder setEvaluationRunsUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + evaluationRunsCase_ = 2; + evaluationRuns_ = value; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ExportEvaluationRunsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.ces.v1beta.ExportEvaluationRunsResponse) + private static final com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse(); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportEvaluationRunsResponse 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.ces.v1beta.ExportEvaluationRunsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationRunsResponseOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationRunsResponseOrBuilder.java new file mode 100644 index 000000000000..cfc7a3587c6a --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationRunsResponseOrBuilder.java @@ -0,0 +1,104 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/evaluation_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +@com.google.protobuf.Generated +public interface ExportEvaluationRunsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.ces.v1beta.ExportEvaluationRunsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The content of the exported Evaluation Runs. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluation_runs_content = 1; + * + * @return Whether the evaluationRunsContent field is set. + */ + boolean hasEvaluationRunsContent(); + + /** + * + * + *
+   * The content of the exported Evaluation Runs. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluation_runs_content = 1; + * + * @return The evaluationRunsContent. + */ + com.google.protobuf.ByteString getEvaluationRunsContent(); + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Runs
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_runs_uri = 2; + * + * @return Whether the evaluationRunsUri field is set. + */ + boolean hasEvaluationRunsUri(); + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Runs
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_runs_uri = 2; + * + * @return The evaluationRunsUri. + */ + java.lang.String getEvaluationRunsUri(); + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported Evaluation Runs
+   * were written. This will be populated if gcs_uri was specified in the
+   * request.
+   * 
+ * + * string evaluation_runs_uri = 2; + * + * @return The bytes for evaluationRunsUri. + */ + com.google.protobuf.ByteString getEvaluationRunsUriBytes(); + + com.google.cloud.ces.v1beta.ExportEvaluationRunsResponse.EvaluationRunsCase + getEvaluationRunsCase(); +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsRequest.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsRequest.java new file mode 100644 index 000000000000..eeed75345caa --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsRequest.java @@ -0,0 +1,1455 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/evaluation_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +/** + * + * + *
+ * Request message for
+ * [EvaluationService.ExportEvaluations][google.cloud.ces.v1beta.EvaluationService.ExportEvaluations].
+ * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ExportEvaluationsRequest} + */ +@com.google.protobuf.Generated +public final class ExportEvaluationsRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.ExportEvaluationsRequest) + ExportEvaluationsRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ExportEvaluationsRequest"); + } + + // Use ExportEvaluationsRequest.newBuilder() to construct. + private ExportEvaluationsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ExportEvaluationsRequest() { + parent_ = ""; + names_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ExportEvaluationsRequest.class, + com.google.cloud.ces.v1beta.ExportEvaluationsRequest.Builder.class); + } + + private int bitField0_; + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. The resource name of the app to export evaluations from.
+   * Format: `projects/{project}/locations/{location}/apps/{app}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The resource name of the app to export evaluations from.
+   * Format: `projects/{project}/locations/{location}/apps/{app}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAMES_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList names_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Required. The resource names of the evaluations to export.
+   * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return A list containing the names. + */ + public com.google.protobuf.ProtocolStringList getNamesList() { + return names_; + } + + /** + * + * + *
+   * Required. The resource names of the evaluations to export.
+   * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The count of names. + */ + public int getNamesCount() { + return names_.size(); + } + + /** + * + * + *
+   * Required. The resource names of the evaluations to export.
+   * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the element to return. + * @return The names at the given index. + */ + public java.lang.String getNames(int index) { + return names_.get(index); + } + + /** + * + * + *
+   * Required. The resource names of the evaluations to export.
+   * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the value to return. + * @return The bytes of the names at the given index. + */ + public com.google.protobuf.ByteString getNamesBytes(int index) { + return names_.getByteString(index); + } + + public static final int EXPORT_OPTIONS_FIELD_NUMBER = 3; + private com.google.cloud.ces.v1beta.ExportOptions exportOptions_; + + /** + * + * + *
+   * Optional. The export options for the evaluations.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the exportOptions field is set. + */ + @java.lang.Override + public boolean hasExportOptions() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. The export options for the evaluations.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The exportOptions. + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportOptions getExportOptions() { + return exportOptions_ == null + ? com.google.cloud.ces.v1beta.ExportOptions.getDefaultInstance() + : exportOptions_; + } + + /** + * + * + *
+   * Optional. The export options for the evaluations.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportOptionsOrBuilder getExportOptionsOrBuilder() { + return exportOptions_ == null + ? com.google.cloud.ces.v1beta.ExportOptions.getDefaultInstance() + : exportOptions_; + } + + public static final int INCLUDE_EVALUATION_RESULTS_FIELD_NUMBER = 4; + private boolean includeEvaluationResults_ = false; + + /** + * + * + *
+   * Optional. Includes evaluation results in the export. At least one of
+   * include_evaluation_results or include_evaluations must be set.
+   * 
+ * + * bool include_evaluation_results = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeEvaluationResults. + */ + @java.lang.Override + public boolean getIncludeEvaluationResults() { + return includeEvaluationResults_; + } + + public static final int INCLUDE_EVALUATIONS_FIELD_NUMBER = 5; + private boolean includeEvaluations_ = false; + + /** + * + * + *
+   * Optional. Includes evaluations in the export. At least one of
+   * include_evaluation_results or include_evaluations must be set.
+   * 
+ * + * bool include_evaluations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeEvaluations. + */ + @java.lang.Override + public boolean getIncludeEvaluations() { + return includeEvaluations_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + } + for (int i = 0; i < names_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, names_.getRaw(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getExportOptions()); + } + if (includeEvaluationResults_ != false) { + output.writeBool(4, includeEvaluationResults_); + } + if (includeEvaluations_ != false) { + output.writeBool(5, includeEvaluations_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + } + { + int dataSize = 0; + for (int i = 0; i < names_.size(); i++) { + dataSize += computeStringSizeNoTag(names_.getRaw(i)); + } + size += dataSize; + size += 1 * getNamesList().size(); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExportOptions()); + } + if (includeEvaluationResults_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includeEvaluationResults_); + } + if (includeEvaluations_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, includeEvaluations_); + } + 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.ces.v1beta.ExportEvaluationsRequest)) { + return super.equals(obj); + } + com.google.cloud.ces.v1beta.ExportEvaluationsRequest other = + (com.google.cloud.ces.v1beta.ExportEvaluationsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getNamesList().equals(other.getNamesList())) return false; + if (hasExportOptions() != other.hasExportOptions()) return false; + if (hasExportOptions()) { + if (!getExportOptions().equals(other.getExportOptions())) return false; + } + if (getIncludeEvaluationResults() != other.getIncludeEvaluationResults()) return false; + if (getIncludeEvaluations() != other.getIncludeEvaluations()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (getNamesCount() > 0) { + hash = (37 * hash) + NAMES_FIELD_NUMBER; + hash = (53 * hash) + getNamesList().hashCode(); + } + if (hasExportOptions()) { + hash = (37 * hash) + EXPORT_OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getExportOptions().hashCode(); + } + hash = (37 * hash) + INCLUDE_EVALUATION_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeEvaluationResults()); + hash = (37 * hash) + INCLUDE_EVALUATIONS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeEvaluations()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsRequest 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.ces.v1beta.ExportEvaluationsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsRequest 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.ces.v1beta.ExportEvaluationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.ces.v1beta.ExportEvaluationsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Request message for
+   * [EvaluationService.ExportEvaluations][google.cloud.ces.v1beta.EvaluationService.ExportEvaluations].
+   * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ExportEvaluationsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.ces.v1beta.ExportEvaluationsRequest) + com.google.cloud.ces.v1beta.ExportEvaluationsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ExportEvaluationsRequest.class, + com.google.cloud.ces.v1beta.ExportEvaluationsRequest.Builder.class); + } + + // Construct using com.google.cloud.ces.v1beta.ExportEvaluationsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetExportOptionsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + names_ = com.google.protobuf.LazyStringArrayList.emptyList(); + exportOptions_ = null; + if (exportOptionsBuilder_ != null) { + exportOptionsBuilder_.dispose(); + exportOptionsBuilder_ = null; + } + includeEvaluationResults_ = false; + includeEvaluations_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationsRequest getDefaultInstanceForType() { + return com.google.cloud.ces.v1beta.ExportEvaluationsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationsRequest build() { + com.google.cloud.ces.v1beta.ExportEvaluationsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationsRequest buildPartial() { + com.google.cloud.ces.v1beta.ExportEvaluationsRequest result = + new com.google.cloud.ces.v1beta.ExportEvaluationsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.ces.v1beta.ExportEvaluationsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + names_.makeImmutable(); + result.names_ = names_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.exportOptions_ = + exportOptionsBuilder_ == null ? exportOptions_ : exportOptionsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.includeEvaluationResults_ = includeEvaluationResults_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.includeEvaluations_ = includeEvaluations_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.ces.v1beta.ExportEvaluationsRequest) { + return mergeFrom((com.google.cloud.ces.v1beta.ExportEvaluationsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.ces.v1beta.ExportEvaluationsRequest other) { + if (other == com.google.cloud.ces.v1beta.ExportEvaluationsRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.names_.isEmpty()) { + if (names_.isEmpty()) { + names_ = other.names_; + bitField0_ |= 0x00000002; + } else { + ensureNamesIsMutable(); + names_.addAll(other.names_); + } + onChanged(); + } + if (other.hasExportOptions()) { + mergeExportOptions(other.getExportOptions()); + } + if (other.getIncludeEvaluationResults() != false) { + setIncludeEvaluationResults(other.getIncludeEvaluationResults()); + } + if (other.getIncludeEvaluations() != false) { + setIncludeEvaluations(other.getIncludeEvaluations()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureNamesIsMutable(); + names_.add(s); + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetExportOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + includeEvaluationResults_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + includeEvaluations_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
+     * Required. The resource name of the app to export evaluations from.
+     * Format: `projects/{project}/locations/{location}/apps/{app}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The resource name of the app to export evaluations from.
+     * Format: `projects/{project}/locations/{location}/apps/{app}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The resource name of the app to export evaluations from.
+     * Format: `projects/{project}/locations/{location}/apps/{app}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource name of the app to export evaluations from.
+     * Format: `projects/{project}/locations/{location}/apps/{app}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource name of the app to export evaluations from.
+     * Format: `projects/{project}/locations/{location}/apps/{app}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList names_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureNamesIsMutable() { + if (!names_.isModifiable()) { + names_ = new com.google.protobuf.LazyStringArrayList(names_); + } + bitField0_ |= 0x00000002; + } + + /** + * + * + *
+     * Required. The resource names of the evaluations to export.
+     * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return A list containing the names. + */ + public com.google.protobuf.ProtocolStringList getNamesList() { + names_.makeImmutable(); + return names_; + } + + /** + * + * + *
+     * Required. The resource names of the evaluations to export.
+     * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The count of names. + */ + public int getNamesCount() { + return names_.size(); + } + + /** + * + * + *
+     * Required. The resource names of the evaluations to export.
+     * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the element to return. + * @return The names at the given index. + */ + public java.lang.String getNames(int index) { + return names_.get(index); + } + + /** + * + * + *
+     * Required. The resource names of the evaluations to export.
+     * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the value to return. + * @return The bytes of the names at the given index. + */ + public com.google.protobuf.ByteString getNamesBytes(int index) { + return names_.getByteString(index); + } + + /** + * + * + *
+     * Required. The resource names of the evaluations to export.
+     * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param index The index to set the value at. + * @param value The names to set. + * @return This builder for chaining. + */ + public Builder setNames(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureNamesIsMutable(); + names_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource names of the evaluations to export.
+     * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The names to add. + * @return This builder for chaining. + */ + public Builder addNames(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureNamesIsMutable(); + names_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource names of the evaluations to export.
+     * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param values The names to add. + * @return This builder for chaining. + */ + public Builder addAllNames(java.lang.Iterable values) { + ensureNamesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource names of the evaluations to export.
+     * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearNames() { + names_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource names of the evaluations to export.
+     * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes of the names to add. + * @return This builder for chaining. + */ + public Builder addNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureNamesIsMutable(); + names_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.ces.v1beta.ExportOptions exportOptions_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ExportOptions, + com.google.cloud.ces.v1beta.ExportOptions.Builder, + com.google.cloud.ces.v1beta.ExportOptionsOrBuilder> + exportOptionsBuilder_; + + /** + * + * + *
+     * Optional. The export options for the evaluations.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the exportOptions field is set. + */ + public boolean hasExportOptions() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Optional. The export options for the evaluations.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The exportOptions. + */ + public com.google.cloud.ces.v1beta.ExportOptions getExportOptions() { + if (exportOptionsBuilder_ == null) { + return exportOptions_ == null + ? com.google.cloud.ces.v1beta.ExportOptions.getDefaultInstance() + : exportOptions_; + } else { + return exportOptionsBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. The export options for the evaluations.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setExportOptions(com.google.cloud.ces.v1beta.ExportOptions value) { + if (exportOptionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + exportOptions_ = value; + } else { + exportOptionsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The export options for the evaluations.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setExportOptions( + com.google.cloud.ces.v1beta.ExportOptions.Builder builderForValue) { + if (exportOptionsBuilder_ == null) { + exportOptions_ = builderForValue.build(); + } else { + exportOptionsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The export options for the evaluations.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeExportOptions(com.google.cloud.ces.v1beta.ExportOptions value) { + if (exportOptionsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && exportOptions_ != null + && exportOptions_ != com.google.cloud.ces.v1beta.ExportOptions.getDefaultInstance()) { + getExportOptionsBuilder().mergeFrom(value); + } else { + exportOptions_ = value; + } + } else { + exportOptionsBuilder_.mergeFrom(value); + } + if (exportOptions_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. The export options for the evaluations.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearExportOptions() { + bitField0_ = (bitField0_ & ~0x00000004); + exportOptions_ = null; + if (exportOptionsBuilder_ != null) { + exportOptionsBuilder_.dispose(); + exportOptionsBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The export options for the evaluations.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.ExportOptions.Builder getExportOptionsBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetExportOptionsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The export options for the evaluations.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.ExportOptionsOrBuilder getExportOptionsOrBuilder() { + if (exportOptionsBuilder_ != null) { + return exportOptionsBuilder_.getMessageOrBuilder(); + } else { + return exportOptions_ == null + ? com.google.cloud.ces.v1beta.ExportOptions.getDefaultInstance() + : exportOptions_; + } + } + + /** + * + * + *
+     * Optional. The export options for the evaluations.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ExportOptions, + com.google.cloud.ces.v1beta.ExportOptions.Builder, + com.google.cloud.ces.v1beta.ExportOptionsOrBuilder> + internalGetExportOptionsFieldBuilder() { + if (exportOptionsBuilder_ == null) { + exportOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ExportOptions, + com.google.cloud.ces.v1beta.ExportOptions.Builder, + com.google.cloud.ces.v1beta.ExportOptionsOrBuilder>( + getExportOptions(), getParentForChildren(), isClean()); + exportOptions_ = null; + } + return exportOptionsBuilder_; + } + + private boolean includeEvaluationResults_; + + /** + * + * + *
+     * Optional. Includes evaluation results in the export. At least one of
+     * include_evaluation_results or include_evaluations must be set.
+     * 
+ * + * bool include_evaluation_results = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeEvaluationResults. + */ + @java.lang.Override + public boolean getIncludeEvaluationResults() { + return includeEvaluationResults_; + } + + /** + * + * + *
+     * Optional. Includes evaluation results in the export. At least one of
+     * include_evaluation_results or include_evaluations must be set.
+     * 
+ * + * bool include_evaluation_results = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The includeEvaluationResults to set. + * @return This builder for chaining. + */ + public Builder setIncludeEvaluationResults(boolean value) { + + includeEvaluationResults_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Includes evaluation results in the export. At least one of
+     * include_evaluation_results or include_evaluations must be set.
+     * 
+ * + * bool include_evaluation_results = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearIncludeEvaluationResults() { + bitField0_ = (bitField0_ & ~0x00000008); + includeEvaluationResults_ = false; + onChanged(); + return this; + } + + private boolean includeEvaluations_; + + /** + * + * + *
+     * Optional. Includes evaluations in the export. At least one of
+     * include_evaluation_results or include_evaluations must be set.
+     * 
+ * + * bool include_evaluations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeEvaluations. + */ + @java.lang.Override + public boolean getIncludeEvaluations() { + return includeEvaluations_; + } + + /** + * + * + *
+     * Optional. Includes evaluations in the export. At least one of
+     * include_evaluation_results or include_evaluations must be set.
+     * 
+ * + * bool include_evaluations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The includeEvaluations to set. + * @return This builder for chaining. + */ + public Builder setIncludeEvaluations(boolean value) { + + includeEvaluations_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Includes evaluations in the export. At least one of
+     * include_evaluation_results or include_evaluations must be set.
+     * 
+ * + * bool include_evaluations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearIncludeEvaluations() { + bitField0_ = (bitField0_ & ~0x00000010); + includeEvaluations_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ExportEvaluationsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.ces.v1beta.ExportEvaluationsRequest) + private static final com.google.cloud.ces.v1beta.ExportEvaluationsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.ces.v1beta.ExportEvaluationsRequest(); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportEvaluationsRequest 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.ces.v1beta.ExportEvaluationsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsRequestOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsRequestOrBuilder.java new file mode 100644 index 000000000000..0ef0747e0b8a --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsRequestOrBuilder.java @@ -0,0 +1,193 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/evaluation_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +@com.google.protobuf.Generated +public interface ExportEvaluationsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.ces.v1beta.ExportEvaluationsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the app to export evaluations from.
+   * Format: `projects/{project}/locations/{location}/apps/{app}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. The resource name of the app to export evaluations from.
+   * Format: `projects/{project}/locations/{location}/apps/{app}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The resource names of the evaluations to export.
+   * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return A list containing the names. + */ + java.util.List getNamesList(); + + /** + * + * + *
+   * Required. The resource names of the evaluations to export.
+   * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The count of names. + */ + int getNamesCount(); + + /** + * + * + *
+   * Required. The resource names of the evaluations to export.
+   * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the element to return. + * @return The names at the given index. + */ + java.lang.String getNames(int index); + + /** + * + * + *
+   * Required. The resource names of the evaluations to export.
+   * 
+ * + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the value to return. + * @return The bytes of the names at the given index. + */ + com.google.protobuf.ByteString getNamesBytes(int index); + + /** + * + * + *
+   * Optional. The export options for the evaluations.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the exportOptions field is set. + */ + boolean hasExportOptions(); + + /** + * + * + *
+   * Optional. The export options for the evaluations.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The exportOptions. + */ + com.google.cloud.ces.v1beta.ExportOptions getExportOptions(); + + /** + * + * + *
+   * Optional. The export options for the evaluations.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.ces.v1beta.ExportOptionsOrBuilder getExportOptionsOrBuilder(); + + /** + * + * + *
+   * Optional. Includes evaluation results in the export. At least one of
+   * include_evaluation_results or include_evaluations must be set.
+   * 
+ * + * bool include_evaluation_results = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeEvaluationResults. + */ + boolean getIncludeEvaluationResults(); + + /** + * + * + *
+   * Optional. Includes evaluations in the export. At least one of
+   * include_evaluation_results or include_evaluations must be set.
+   * 
+ * + * bool include_evaluations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The includeEvaluations. + */ + boolean getIncludeEvaluations(); +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsResponse.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsResponse.java new file mode 100644 index 000000000000..b5cc56273c6f --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsResponse.java @@ -0,0 +1,1283 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/evaluation_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +/** + * + * + *
+ * Response message for
+ * [EvaluationService.ExportEvaluations][google.cloud.ces.v1beta.EvaluationService.ExportEvaluations].
+ * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ExportEvaluationsResponse} + */ +@com.google.protobuf.Generated +public final class ExportEvaluationsResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.ExportEvaluationsResponse) + ExportEvaluationsResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ExportEvaluationsResponse"); + } + + // Use ExportEvaluationsResponse.newBuilder() to construct. + private ExportEvaluationsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ExportEvaluationsResponse() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationsResponse_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetFailedEvaluations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ExportEvaluationsResponse.class, + com.google.cloud.ces.v1beta.ExportEvaluationsResponse.Builder.class); + } + + private int evaluationsCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object evaluations_; + + public enum EvaluationsCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + EVALUATIONS_CONTENT(1), + EVALUATIONS_URI(2), + EVALUATIONS_NOT_SET(0); + private final int value; + + private EvaluationsCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EvaluationsCase valueOf(int value) { + return forNumber(value); + } + + public static EvaluationsCase forNumber(int value) { + switch (value) { + case 1: + return EVALUATIONS_CONTENT; + case 2: + return EVALUATIONS_URI; + case 0: + return EVALUATIONS_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public EvaluationsCase getEvaluationsCase() { + return EvaluationsCase.forNumber(evaluationsCase_); + } + + public static final int EVALUATIONS_CONTENT_FIELD_NUMBER = 1; + + /** + * + * + *
+   * The content of the exported Evaluations. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluations_content = 1; + * + * @return Whether the evaluationsContent field is set. + */ + @java.lang.Override + public boolean hasEvaluationsContent() { + return evaluationsCase_ == 1; + } + + /** + * + * + *
+   * The content of the exported Evaluations. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluations_content = 1; + * + * @return The evaluationsContent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEvaluationsContent() { + if (evaluationsCase_ == 1) { + return (com.google.protobuf.ByteString) evaluations_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int EVALUATIONS_URI_FIELD_NUMBER = 2; + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported evaluations were
+   * written. This will be populated if gcs_uri was specified in the request.
+   * 
+ * + * string evaluations_uri = 2; + * + * @return Whether the evaluationsUri field is set. + */ + public boolean hasEvaluationsUri() { + return evaluationsCase_ == 2; + } + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported evaluations were
+   * written. This will be populated if gcs_uri was specified in the request.
+   * 
+ * + * string evaluations_uri = 2; + * + * @return The evaluationsUri. + */ + public java.lang.String getEvaluationsUri() { + java.lang.Object ref = ""; + if (evaluationsCase_ == 2) { + ref = evaluations_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (evaluationsCase_ == 2) { + evaluations_ = s; + } + return s; + } + } + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported evaluations were
+   * written. This will be populated if gcs_uri was specified in the request.
+   * 
+ * + * string evaluations_uri = 2; + * + * @return The bytes for evaluationsUri. + */ + public com.google.protobuf.ByteString getEvaluationsUriBytes() { + java.lang.Object ref = ""; + if (evaluationsCase_ == 2) { + ref = evaluations_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (evaluationsCase_ == 2) { + evaluations_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FAILED_EVALUATIONS_FIELD_NUMBER = 3; + + private static final class FailedEvaluationsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationsResponse_FailedEvaluationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField failedEvaluations_; + + private com.google.protobuf.MapField + internalGetFailedEvaluations() { + if (failedEvaluations_ == null) { + return com.google.protobuf.MapField.emptyMapField( + FailedEvaluationsDefaultEntryHolder.defaultEntry); + } + return failedEvaluations_; + } + + public int getFailedEvaluationsCount() { + return internalGetFailedEvaluations().getMap().size(); + } + + /** + * + * + *
+   * Output only. A map of evaluation resource names that could not be exported,
+   * to the reason why they failed.
+   * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public boolean containsFailedEvaluations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetFailedEvaluations().getMap().containsKey(key); + } + + /** Use {@link #getFailedEvaluationsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFailedEvaluations() { + return getFailedEvaluationsMap(); + } + + /** + * + * + *
+   * Output only. A map of evaluation resource names that could not be exported,
+   * to the reason why they failed.
+   * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.Map getFailedEvaluationsMap() { + return internalGetFailedEvaluations().getMap(); + } + + /** + * + * + *
+   * Output only. A map of evaluation resource names that could not be exported,
+   * to the reason why they failed.
+   * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public /* nullable */ java.lang.String getFailedEvaluationsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFailedEvaluations().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+   * Output only. A map of evaluation resource names that could not be exported,
+   * to the reason why they failed.
+   * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.lang.String getFailedEvaluationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFailedEvaluations().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + 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 (evaluationsCase_ == 1) { + output.writeBytes(1, (com.google.protobuf.ByteString) evaluations_); + } + if (evaluationsCase_ == 2) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, evaluations_); + } + com.google.protobuf.GeneratedMessage.serializeStringMapTo( + output, + internalGetFailedEvaluations(), + FailedEvaluationsDefaultEntryHolder.defaultEntry, + 3); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (evaluationsCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 1, (com.google.protobuf.ByteString) evaluations_); + } + if (evaluationsCase_ == 2) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, evaluations_); + } + for (java.util.Map.Entry entry : + internalGetFailedEvaluations().getMap().entrySet()) { + com.google.protobuf.MapEntry failedEvaluations__ = + FailedEvaluationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, failedEvaluations__); + } + 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.ces.v1beta.ExportEvaluationsResponse)) { + return super.equals(obj); + } + com.google.cloud.ces.v1beta.ExportEvaluationsResponse other = + (com.google.cloud.ces.v1beta.ExportEvaluationsResponse) obj; + + if (!internalGetFailedEvaluations().equals(other.internalGetFailedEvaluations())) return false; + if (!getEvaluationsCase().equals(other.getEvaluationsCase())) return false; + switch (evaluationsCase_) { + case 1: + if (!getEvaluationsContent().equals(other.getEvaluationsContent())) return false; + break; + case 2: + if (!getEvaluationsUri().equals(other.getEvaluationsUri())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetFailedEvaluations().getMap().isEmpty()) { + hash = (37 * hash) + FAILED_EVALUATIONS_FIELD_NUMBER; + hash = (53 * hash) + internalGetFailedEvaluations().hashCode(); + } + switch (evaluationsCase_) { + case 1: + hash = (37 * hash) + EVALUATIONS_CONTENT_FIELD_NUMBER; + hash = (53 * hash) + getEvaluationsContent().hashCode(); + break; + case 2: + hash = (37 * hash) + EVALUATIONS_URI_FIELD_NUMBER; + hash = (53 * hash) + getEvaluationsUri().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsResponse 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.ces.v1beta.ExportEvaluationsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsResponse 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.ces.v1beta.ExportEvaluationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.ces.v1beta.ExportEvaluationsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Response message for
+   * [EvaluationService.ExportEvaluations][google.cloud.ces.v1beta.EvaluationService.ExportEvaluations].
+   * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ExportEvaluationsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.ces.v1beta.ExportEvaluationsResponse) + com.google.cloud.ces.v1beta.ExportEvaluationsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationsResponse_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetFailedEvaluations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetMutableFailedEvaluations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ExportEvaluationsResponse.class, + com.google.cloud.ces.v1beta.ExportEvaluationsResponse.Builder.class); + } + + // Construct using com.google.cloud.ces.v1beta.ExportEvaluationsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableFailedEvaluations().clear(); + evaluationsCase_ = 0; + evaluations_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportEvaluationsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationsResponse getDefaultInstanceForType() { + return com.google.cloud.ces.v1beta.ExportEvaluationsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationsResponse build() { + com.google.cloud.ces.v1beta.ExportEvaluationsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportEvaluationsResponse buildPartial() { + com.google.cloud.ces.v1beta.ExportEvaluationsResponse result = + new com.google.cloud.ces.v1beta.ExportEvaluationsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.ces.v1beta.ExportEvaluationsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.failedEvaluations_ = internalGetFailedEvaluations(); + result.failedEvaluations_.makeImmutable(); + } + } + + private void buildPartialOneofs(com.google.cloud.ces.v1beta.ExportEvaluationsResponse result) { + result.evaluationsCase_ = evaluationsCase_; + result.evaluations_ = this.evaluations_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.ces.v1beta.ExportEvaluationsResponse) { + return mergeFrom((com.google.cloud.ces.v1beta.ExportEvaluationsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.ces.v1beta.ExportEvaluationsResponse other) { + if (other == com.google.cloud.ces.v1beta.ExportEvaluationsResponse.getDefaultInstance()) + return this; + internalGetMutableFailedEvaluations().mergeFrom(other.internalGetFailedEvaluations()); + bitField0_ |= 0x00000004; + switch (other.getEvaluationsCase()) { + case EVALUATIONS_CONTENT: + { + setEvaluationsContent(other.getEvaluationsContent()); + break; + } + case EVALUATIONS_URI: + { + evaluationsCase_ = 2; + evaluations_ = other.evaluations_; + onChanged(); + break; + } + case EVALUATIONS_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + evaluations_ = input.readBytes(); + evaluationsCase_ = 1; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + evaluationsCase_ = 2; + evaluations_ = s; + break; + } // case 18 + case 26: + { + com.google.protobuf.MapEntry + failedEvaluations__ = + input.readMessage( + FailedEvaluationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableFailedEvaluations() + .getMutableMap() + .put(failedEvaluations__.getKey(), failedEvaluations__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int evaluationsCase_ = 0; + private java.lang.Object evaluations_; + + public EvaluationsCase getEvaluationsCase() { + return EvaluationsCase.forNumber(evaluationsCase_); + } + + public Builder clearEvaluations() { + evaluationsCase_ = 0; + evaluations_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+     * The content of the exported Evaluations. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluations_content = 1; + * + * @return Whether the evaluationsContent field is set. + */ + public boolean hasEvaluationsContent() { + return evaluationsCase_ == 1; + } + + /** + * + * + *
+     * The content of the exported Evaluations. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluations_content = 1; + * + * @return The evaluationsContent. + */ + public com.google.protobuf.ByteString getEvaluationsContent() { + if (evaluationsCase_ == 1) { + return (com.google.protobuf.ByteString) evaluations_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + /** + * + * + *
+     * The content of the exported Evaluations. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluations_content = 1; + * + * @param value The evaluationsContent to set. + * @return This builder for chaining. + */ + public Builder setEvaluationsContent(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + evaluationsCase_ = 1; + evaluations_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * The content of the exported Evaluations. This will be populated if
+     * gcs_uri was not specified in the request.
+     * 
+ * + * bytes evaluations_content = 1; + * + * @return This builder for chaining. + */ + public Builder clearEvaluationsContent() { + if (evaluationsCase_ == 1) { + evaluationsCase_ = 0; + evaluations_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported evaluations were
+     * written. This will be populated if gcs_uri was specified in the request.
+     * 
+ * + * string evaluations_uri = 2; + * + * @return Whether the evaluationsUri field is set. + */ + @java.lang.Override + public boolean hasEvaluationsUri() { + return evaluationsCase_ == 2; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported evaluations were
+     * written. This will be populated if gcs_uri was specified in the request.
+     * 
+ * + * string evaluations_uri = 2; + * + * @return The evaluationsUri. + */ + @java.lang.Override + public java.lang.String getEvaluationsUri() { + java.lang.Object ref = ""; + if (evaluationsCase_ == 2) { + ref = evaluations_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (evaluationsCase_ == 2) { + evaluations_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported evaluations were
+     * written. This will be populated if gcs_uri was specified in the request.
+     * 
+ * + * string evaluations_uri = 2; + * + * @return The bytes for evaluationsUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEvaluationsUriBytes() { + java.lang.Object ref = ""; + if (evaluationsCase_ == 2) { + ref = evaluations_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (evaluationsCase_ == 2) { + evaluations_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported evaluations were
+     * written. This will be populated if gcs_uri was specified in the request.
+     * 
+ * + * string evaluations_uri = 2; + * + * @param value The evaluationsUri to set. + * @return This builder for chaining. + */ + public Builder setEvaluationsUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + evaluationsCase_ = 2; + evaluations_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported evaluations were
+     * written. This will be populated if gcs_uri was specified in the request.
+     * 
+ * + * string evaluations_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearEvaluationsUri() { + if (evaluationsCase_ == 2) { + evaluationsCase_ = 0; + evaluations_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * The Google Cloud Storage URI folder where the exported evaluations were
+     * written. This will be populated if gcs_uri was specified in the request.
+     * 
+ * + * string evaluations_uri = 2; + * + * @param value The bytes for evaluationsUri to set. + * @return This builder for chaining. + */ + public Builder setEvaluationsUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + evaluationsCase_ = 2; + evaluations_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.MapField failedEvaluations_; + + private com.google.protobuf.MapField + internalGetFailedEvaluations() { + if (failedEvaluations_ == null) { + return com.google.protobuf.MapField.emptyMapField( + FailedEvaluationsDefaultEntryHolder.defaultEntry); + } + return failedEvaluations_; + } + + private com.google.protobuf.MapField + internalGetMutableFailedEvaluations() { + if (failedEvaluations_ == null) { + failedEvaluations_ = + com.google.protobuf.MapField.newMapField( + FailedEvaluationsDefaultEntryHolder.defaultEntry); + } + if (!failedEvaluations_.isMutable()) { + failedEvaluations_ = failedEvaluations_.copy(); + } + bitField0_ |= 0x00000004; + onChanged(); + return failedEvaluations_; + } + + public int getFailedEvaluationsCount() { + return internalGetFailedEvaluations().getMap().size(); + } + + /** + * + * + *
+     * Output only. A map of evaluation resource names that could not be exported,
+     * to the reason why they failed.
+     * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public boolean containsFailedEvaluations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetFailedEvaluations().getMap().containsKey(key); + } + + /** Use {@link #getFailedEvaluationsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFailedEvaluations() { + return getFailedEvaluationsMap(); + } + + /** + * + * + *
+     * Output only. A map of evaluation resource names that could not be exported,
+     * to the reason why they failed.
+     * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.Map getFailedEvaluationsMap() { + return internalGetFailedEvaluations().getMap(); + } + + /** + * + * + *
+     * Output only. A map of evaluation resource names that could not be exported,
+     * to the reason why they failed.
+     * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public /* nullable */ java.lang.String getFailedEvaluationsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetFailedEvaluations().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+     * Output only. A map of evaluation resource names that could not be exported,
+     * to the reason why they failed.
+     * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.lang.String getFailedEvaluationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetFailedEvaluations().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearFailedEvaluations() { + bitField0_ = (bitField0_ & ~0x00000004); + internalGetMutableFailedEvaluations().getMutableMap().clear(); + return this; + } + + /** + * + * + *
+     * Output only. A map of evaluation resource names that could not be exported,
+     * to the reason why they failed.
+     * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder removeFailedEvaluations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableFailedEvaluations().getMutableMap().remove(key); + return this; + } + + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableFailedEvaluations() { + bitField0_ |= 0x00000004; + return internalGetMutableFailedEvaluations().getMutableMap(); + } + + /** + * + * + *
+     * Output only. A map of evaluation resource names that could not be exported,
+     * to the reason why they failed.
+     * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder putFailedEvaluations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableFailedEvaluations().getMutableMap().put(key, value); + bitField0_ |= 0x00000004; + return this; + } + + /** + * + * + *
+     * Output only. A map of evaluation resource names that could not be exported,
+     * to the reason why they failed.
+     * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder putAllFailedEvaluations( + java.util.Map values) { + internalGetMutableFailedEvaluations().getMutableMap().putAll(values); + bitField0_ |= 0x00000004; + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ExportEvaluationsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.ces.v1beta.ExportEvaluationsResponse) + private static final com.google.cloud.ces.v1beta.ExportEvaluationsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.ces.v1beta.ExportEvaluationsResponse(); + } + + public static com.google.cloud.ces.v1beta.ExportEvaluationsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportEvaluationsResponse 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.ces.v1beta.ExportEvaluationsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsResponseOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsResponseOrBuilder.java new file mode 100644 index 000000000000..641edf33a872 --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportEvaluationsResponseOrBuilder.java @@ -0,0 +1,178 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/evaluation_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +@com.google.protobuf.Generated +public interface ExportEvaluationsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.ces.v1beta.ExportEvaluationsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The content of the exported Evaluations. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluations_content = 1; + * + * @return Whether the evaluationsContent field is set. + */ + boolean hasEvaluationsContent(); + + /** + * + * + *
+   * The content of the exported Evaluations. This will be populated if
+   * gcs_uri was not specified in the request.
+   * 
+ * + * bytes evaluations_content = 1; + * + * @return The evaluationsContent. + */ + com.google.protobuf.ByteString getEvaluationsContent(); + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported evaluations were
+   * written. This will be populated if gcs_uri was specified in the request.
+   * 
+ * + * string evaluations_uri = 2; + * + * @return Whether the evaluationsUri field is set. + */ + boolean hasEvaluationsUri(); + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported evaluations were
+   * written. This will be populated if gcs_uri was specified in the request.
+   * 
+ * + * string evaluations_uri = 2; + * + * @return The evaluationsUri. + */ + java.lang.String getEvaluationsUri(); + + /** + * + * + *
+   * The Google Cloud Storage URI folder where the exported evaluations were
+   * written. This will be populated if gcs_uri was specified in the request.
+   * 
+ * + * string evaluations_uri = 2; + * + * @return The bytes for evaluationsUri. + */ + com.google.protobuf.ByteString getEvaluationsUriBytes(); + + /** + * + * + *
+   * Output only. A map of evaluation resource names that could not be exported,
+   * to the reason why they failed.
+   * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getFailedEvaluationsCount(); + + /** + * + * + *
+   * Output only. A map of evaluation resource names that could not be exported,
+   * to the reason why they failed.
+   * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + boolean containsFailedEvaluations(java.lang.String key); + + /** Use {@link #getFailedEvaluationsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getFailedEvaluations(); + + /** + * + * + *
+   * Output only. A map of evaluation resource names that could not be exported,
+   * to the reason why they failed.
+   * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.Map getFailedEvaluationsMap(); + + /** + * + * + *
+   * Output only. A map of evaluation resource names that could not be exported,
+   * to the reason why they failed.
+   * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + /* nullable */ + java.lang.String getFailedEvaluationsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
+   * Output only. A map of evaluation resource names that could not be exported,
+   * to the reason why they failed.
+   * 
+ * + * + * map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.lang.String getFailedEvaluationsOrThrow(java.lang.String key); + + com.google.cloud.ces.v1beta.ExportEvaluationsResponse.EvaluationsCase getEvaluationsCase(); +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportOptions.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportOptions.java new file mode 100644 index 000000000000..7d8d0c8423d1 --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportOptions.java @@ -0,0 +1,956 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/evaluation_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +/** + * + * + *
+ * Options for exporting CES evaluation resources.
+ * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ExportOptions} + */ +@com.google.protobuf.Generated +public final class ExportOptions extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.ExportOptions) + ExportOptionsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ExportOptions"); + } + + // Use ExportOptions.newBuilder() to construct. + private ExportOptions(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ExportOptions() { + exportFormat_ = 0; + gcsUri_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportOptions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ExportOptions.class, + com.google.cloud.ces.v1beta.ExportOptions.Builder.class); + } + + /** + * + * + *
+   * The format to export the items in. Defaults to JSON if not
+   * specified.
+   * 
+ * + * Protobuf enum {@code google.cloud.ces.v1beta.ExportOptions.ExportFormat} + */ + public enum ExportFormat implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified format.
+     * 
+ * + * EXPORT_FORMAT_UNSPECIFIED = 0; + */ + EXPORT_FORMAT_UNSPECIFIED(0), + /** + * + * + *
+     * JSON format.
+     * 
+ * + * JSON = 1; + */ + JSON(1), + /** + * + * + *
+     * YAML format.
+     * 
+ * + * YAML = 2; + */ + YAML(2), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ExportFormat"); + } + + /** + * + * + *
+     * Unspecified format.
+     * 
+ * + * EXPORT_FORMAT_UNSPECIFIED = 0; + */ + public static final int EXPORT_FORMAT_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * JSON format.
+     * 
+ * + * JSON = 1; + */ + public static final int JSON_VALUE = 1; + + /** + * + * + *
+     * YAML format.
+     * 
+ * + * YAML = 2; + */ + public static final int YAML_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ExportFormat valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ExportFormat forNumber(int value) { + switch (value) { + case 0: + return EXPORT_FORMAT_UNSPECIFIED; + case 1: + return JSON; + case 2: + return YAML; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ExportFormat findValueByNumber(int number) { + return ExportFormat.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.ces.v1beta.ExportOptions.getDescriptor().getEnumTypes().get(0); + } + + private static final ExportFormat[] VALUES = values(); + + public static ExportFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ExportFormat(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.ces.v1beta.ExportOptions.ExportFormat) + } + + public static final int EXPORT_FORMAT_FIELD_NUMBER = 1; + private int exportFormat_ = 0; + + /** + * + * + *
+   * Optional. The format to export the evaluation results in. Defaults to JSON
+   * if not specified.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for exportFormat. + */ + @java.lang.Override + public int getExportFormatValue() { + return exportFormat_; + } + + /** + * + * + *
+   * Optional. The format to export the evaluation results in. Defaults to JSON
+   * if not specified.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The exportFormat. + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportOptions.ExportFormat getExportFormat() { + com.google.cloud.ces.v1beta.ExportOptions.ExportFormat result = + com.google.cloud.ces.v1beta.ExportOptions.ExportFormat.forNumber(exportFormat_); + return result == null + ? com.google.cloud.ces.v1beta.ExportOptions.ExportFormat.UNRECOGNIZED + : result; + } + + public static final int GCS_URI_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object gcsUri_ = ""; + + /** + * + * + *
+   * Optional. The Google Cloud Storage URI to write the exported Evaluation
+   * Results to.
+   * 
+ * + * string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The gcsUri. + */ + @java.lang.Override + public java.lang.String getGcsUri() { + java.lang.Object ref = gcsUri_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + gcsUri_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. The Google Cloud Storage URI to write the exported Evaluation
+   * Results to.
+   * 
+ * + * string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for gcsUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getGcsUriBytes() { + java.lang.Object ref = gcsUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + gcsUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (exportFormat_ + != com.google.cloud.ces.v1beta.ExportOptions.ExportFormat.EXPORT_FORMAT_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, exportFormat_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcsUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, gcsUri_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (exportFormat_ + != com.google.cloud.ces.v1beta.ExportOptions.ExportFormat.EXPORT_FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, exportFormat_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcsUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, gcsUri_); + } + 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.ces.v1beta.ExportOptions)) { + return super.equals(obj); + } + com.google.cloud.ces.v1beta.ExportOptions other = + (com.google.cloud.ces.v1beta.ExportOptions) obj; + + if (exportFormat_ != other.exportFormat_) return false; + if (!getGcsUri().equals(other.getGcsUri())) 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) + EXPORT_FORMAT_FIELD_NUMBER; + hash = (53 * hash) + exportFormat_; + hash = (37 * hash) + GCS_URI_FIELD_NUMBER; + hash = (53 * hash) + getGcsUri().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.ces.v1beta.ExportOptions parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportOptions 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.ces.v1beta.ExportOptions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportOptions 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.ces.v1beta.ExportOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.ExportOptions parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportOptions parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportOptions parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.ExportOptions parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.ExportOptions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.ces.v1beta.ExportOptions prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Options for exporting CES evaluation resources.
+   * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.ExportOptions} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.ces.v1beta.ExportOptions) + com.google.cloud.ces.v1beta.ExportOptionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportOptions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.ExportOptions.class, + com.google.cloud.ces.v1beta.ExportOptions.Builder.class); + } + + // Construct using com.google.cloud.ces.v1beta.ExportOptions.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + exportFormat_ = 0; + gcsUri_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.ces.v1beta.EvaluationServiceProto + .internal_static_google_cloud_ces_v1beta_ExportOptions_descriptor; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportOptions getDefaultInstanceForType() { + return com.google.cloud.ces.v1beta.ExportOptions.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportOptions build() { + com.google.cloud.ces.v1beta.ExportOptions result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportOptions buildPartial() { + com.google.cloud.ces.v1beta.ExportOptions result = + new com.google.cloud.ces.v1beta.ExportOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.ces.v1beta.ExportOptions result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.exportFormat_ = exportFormat_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.gcsUri_ = gcsUri_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.ces.v1beta.ExportOptions) { + return mergeFrom((com.google.cloud.ces.v1beta.ExportOptions) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.ces.v1beta.ExportOptions other) { + if (other == com.google.cloud.ces.v1beta.ExportOptions.getDefaultInstance()) return this; + if (other.exportFormat_ != 0) { + setExportFormatValue(other.getExportFormatValue()); + } + if (!other.getGcsUri().isEmpty()) { + gcsUri_ = other.gcsUri_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + exportFormat_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + gcsUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int exportFormat_ = 0; + + /** + * + * + *
+     * Optional. The format to export the evaluation results in. Defaults to JSON
+     * if not specified.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for exportFormat. + */ + @java.lang.Override + public int getExportFormatValue() { + return exportFormat_; + } + + /** + * + * + *
+     * Optional. The format to export the evaluation results in. Defaults to JSON
+     * if not specified.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for exportFormat to set. + * @return This builder for chaining. + */ + public Builder setExportFormatValue(int value) { + exportFormat_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The format to export the evaluation results in. Defaults to JSON
+     * if not specified.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The exportFormat. + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ExportOptions.ExportFormat getExportFormat() { + com.google.cloud.ces.v1beta.ExportOptions.ExportFormat result = + com.google.cloud.ces.v1beta.ExportOptions.ExportFormat.forNumber(exportFormat_); + return result == null + ? com.google.cloud.ces.v1beta.ExportOptions.ExportFormat.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. The format to export the evaluation results in. Defaults to JSON
+     * if not specified.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The exportFormat to set. + * @return This builder for chaining. + */ + public Builder setExportFormat(com.google.cloud.ces.v1beta.ExportOptions.ExportFormat value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + exportFormat_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The format to export the evaluation results in. Defaults to JSON
+     * if not specified.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearExportFormat() { + bitField0_ = (bitField0_ & ~0x00000001); + exportFormat_ = 0; + onChanged(); + return this; + } + + private java.lang.Object gcsUri_ = ""; + + /** + * + * + *
+     * Optional. The Google Cloud Storage URI to write the exported Evaluation
+     * Results to.
+     * 
+ * + * string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The gcsUri. + */ + public java.lang.String getGcsUri() { + java.lang.Object ref = gcsUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + gcsUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. The Google Cloud Storage URI to write the exported Evaluation
+     * Results to.
+     * 
+ * + * string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for gcsUri. + */ + public com.google.protobuf.ByteString getGcsUriBytes() { + java.lang.Object ref = gcsUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + gcsUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. The Google Cloud Storage URI to write the exported Evaluation
+     * Results to.
+     * 
+ * + * string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The gcsUri to set. + * @return This builder for chaining. + */ + public Builder setGcsUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + gcsUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The Google Cloud Storage URI to write the exported Evaluation
+     * Results to.
+     * 
+ * + * string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearGcsUri() { + gcsUri_ = getDefaultInstance().getGcsUri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The Google Cloud Storage URI to write the exported Evaluation
+     * Results to.
+     * 
+ * + * string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for gcsUri to set. + * @return This builder for chaining. + */ + public Builder setGcsUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gcsUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ExportOptions) + } + + // @@protoc_insertion_point(class_scope:google.cloud.ces.v1beta.ExportOptions) + private static final com.google.cloud.ces.v1beta.ExportOptions DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.ces.v1beta.ExportOptions(); + } + + public static com.google.cloud.ces.v1beta.ExportOptions getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportOptions 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.ces.v1beta.ExportOptions getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportOptionsOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportOptionsOrBuilder.java new file mode 100644 index 000000000000..ca7e0aa568e3 --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ExportOptionsOrBuilder.java @@ -0,0 +1,88 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/evaluation_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +@com.google.protobuf.Generated +public interface ExportOptionsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.ces.v1beta.ExportOptions) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. The format to export the evaluation results in. Defaults to JSON
+   * if not specified.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for exportFormat. + */ + int getExportFormatValue(); + + /** + * + * + *
+   * Optional. The format to export the evaluation results in. Defaults to JSON
+   * if not specified.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The exportFormat. + */ + com.google.cloud.ces.v1beta.ExportOptions.ExportFormat getExportFormat(); + + /** + * + * + *
+   * Optional. The Google Cloud Storage URI to write the exported Evaluation
+   * Results to.
+   * 
+ * + * string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The gcsUri. + */ + java.lang.String getGcsUri(); + + /** + * + * + *
+   * Optional. The Google Cloud Storage URI to write the exported Evaluation
+   * Results to.
+   * 
+ * + * string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for gcsUri. + */ + com.google.protobuf.ByteString getGcsUriBytes(); +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateEvaluationRequest.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateEvaluationRequest.java index e6538dfc2aa8..3e186e6801c2 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateEvaluationRequest.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateEvaluationRequest.java @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getConversationBytes() { * * * @deprecated google.cloud.ces.v1beta.GenerateEvaluationRequest.source is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=452 + * google/cloud/ces/v1beta/evaluation_service.proto;l=467 * @return The enum numeric value on the wire for source. */ @java.lang.Override @@ -171,7 +171,7 @@ public int getSourceValue() { * * * @deprecated google.cloud.ces.v1beta.GenerateEvaluationRequest.source is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=452 + * google/cloud/ces/v1beta/evaluation_service.proto;l=467 * @return The source. */ @java.lang.Override @@ -662,7 +662,7 @@ public Builder setConversationBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.cloud.ces.v1beta.GenerateEvaluationRequest.source is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=452 + * google/cloud/ces/v1beta/evaluation_service.proto;l=467 * @return The enum numeric value on the wire for source. */ @java.lang.Override @@ -684,7 +684,7 @@ public int getSourceValue() { * * * @deprecated google.cloud.ces.v1beta.GenerateEvaluationRequest.source is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=452 + * google/cloud/ces/v1beta/evaluation_service.proto;l=467 * @param value The enum numeric value on the wire for source to set. * @return This builder for chaining. */ @@ -709,7 +709,7 @@ public Builder setSourceValue(int value) { * * * @deprecated google.cloud.ces.v1beta.GenerateEvaluationRequest.source is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=452 + * google/cloud/ces/v1beta/evaluation_service.proto;l=467 * @return The source. */ @java.lang.Override @@ -733,7 +733,7 @@ public com.google.cloud.ces.v1beta.Conversation.Source getSource() { * * * @deprecated google.cloud.ces.v1beta.GenerateEvaluationRequest.source is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=452 + * google/cloud/ces/v1beta/evaluation_service.proto;l=467 * @param value The source to set. * @return This builder for chaining. */ @@ -761,7 +761,7 @@ public Builder setSource(com.google.cloud.ces.v1beta.Conversation.Source value) * * * @deprecated google.cloud.ces.v1beta.GenerateEvaluationRequest.source is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=452 + * google/cloud/ces/v1beta/evaluation_service.proto;l=467 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateEvaluationRequestOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateEvaluationRequestOrBuilder.java index 57191e040822..b7d234826472 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateEvaluationRequestOrBuilder.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/GenerateEvaluationRequestOrBuilder.java @@ -73,7 +73,7 @@ public interface GenerateEvaluationRequestOrBuilder * * * @deprecated google.cloud.ces.v1beta.GenerateEvaluationRequest.source is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=452 + * google/cloud/ces/v1beta/evaluation_service.proto;l=467 * @return The enum numeric value on the wire for source. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GenerateEvaluationRequestOrBuilder * * * @deprecated google.cloud.ces.v1beta.GenerateEvaluationRequest.source is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=452 + * google/cloud/ces/v1beta/evaluation_service.proto;l=467 * @return The source. */ @java.lang.Deprecated diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ImportEvaluationsResponse.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ImportEvaluationsResponse.java index 68bdf9e69151..e412ec09011c 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ImportEvaluationsResponse.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ImportEvaluationsResponse.java @@ -54,6 +54,8 @@ private ImportEvaluationsResponse(com.google.protobuf.GeneratedMessage.Builder evaluationResults_; + + /** + * + * + *
+   * The list of evaluation results that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + @java.lang.Override + public java.util.List getEvaluationResultsList() { + return evaluationResults_; + } + + /** + * + * + *
+   * The list of evaluation results that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + @java.lang.Override + public java.util.List + getEvaluationResultsOrBuilderList() { + return evaluationResults_; + } + + /** + * + * + *
+   * The list of evaluation results that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + @java.lang.Override + public int getEvaluationResultsCount() { + return evaluationResults_.size(); + } + + /** + * + * + *
+   * The list of evaluation results that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.EvaluationResult getEvaluationResults(int index) { + return evaluationResults_.get(index); + } + + /** + * + * + *
+   * The list of evaluation results that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.EvaluationResultOrBuilder getEvaluationResultsOrBuilder( + int index) { + return evaluationResults_.get(index); + } + + public static final int EVALUATION_RUNS_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private java.util.List evaluationRuns_; + + /** + * + * + *
+   * The list of evaluation runs that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + @java.lang.Override + public java.util.List getEvaluationRunsList() { + return evaluationRuns_; + } + + /** + * + * + *
+   * The list of evaluation runs that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + @java.lang.Override + public java.util.List + getEvaluationRunsOrBuilderList() { + return evaluationRuns_; + } + + /** + * + * + *
+   * The list of evaluation runs that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + @java.lang.Override + public int getEvaluationRunsCount() { + return evaluationRuns_.size(); + } + + /** + * + * + *
+   * The list of evaluation runs that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.EvaluationRun getEvaluationRuns(int index) { + return evaluationRuns_.get(index); + } + + /** + * + * + *
+   * The list of evaluation runs that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.EvaluationRunOrBuilder getEvaluationRunsOrBuilder(int index) { + return evaluationRuns_.get(index); + } + public static final int ERROR_MESSAGES_FIELD_NUMBER = 2; @SuppressWarnings("serial") @@ -227,7 +382,8 @@ public com.google.protobuf.ByteString getErrorMessagesBytes(int index) { * * *
-   * The number of evaluations that were not imported due to errors.
+   * The number of evaluations that either failed to import entirely or
+   * completed import with one or more errors.
    * 
* * int32 import_failure_count = 3; @@ -239,6 +395,46 @@ public int getImportFailureCount() { return importFailureCount_; } + public static final int EVALUATION_RESULT_IMPORT_FAILURE_COUNT_FIELD_NUMBER = 6; + private int evaluationResultImportFailureCount_ = 0; + + /** + * + * + *
+   * The number of evaluation results that either failed to import entirely or
+   * completed import with one or more errors.
+   * 
+ * + * int32 evaluation_result_import_failure_count = 6; + * + * @return The evaluationResultImportFailureCount. + */ + @java.lang.Override + public int getEvaluationResultImportFailureCount() { + return evaluationResultImportFailureCount_; + } + + public static final int EVALUATION_RUN_IMPORT_FAILURE_COUNT_FIELD_NUMBER = 7; + private int evaluationRunImportFailureCount_ = 0; + + /** + * + * + *
+   * The number of evaluation runs that either failed to import entirely or
+   * completed import with one or more errors.
+   * 
+ * + * int32 evaluation_run_import_failure_count = 7; + * + * @return The evaluationRunImportFailureCount. + */ + @java.lang.Override + public int getEvaluationRunImportFailureCount() { + return evaluationRunImportFailureCount_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -262,6 +458,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (importFailureCount_ != 0) { output.writeInt32(3, importFailureCount_); } + for (int i = 0; i < evaluationResults_.size(); i++) { + output.writeMessage(4, evaluationResults_.get(i)); + } + for (int i = 0; i < evaluationRuns_.size(); i++) { + output.writeMessage(5, evaluationRuns_.get(i)); + } + if (evaluationResultImportFailureCount_ != 0) { + output.writeInt32(6, evaluationResultImportFailureCount_); + } + if (evaluationRunImportFailureCount_ != 0) { + output.writeInt32(7, evaluationRunImportFailureCount_); + } getUnknownFields().writeTo(output); } @@ -285,6 +493,23 @@ public int getSerializedSize() { if (importFailureCount_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, importFailureCount_); } + for (int i = 0; i < evaluationResults_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, evaluationResults_.get(i)); + } + for (int i = 0; i < evaluationRuns_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, evaluationRuns_.get(i)); + } + if (evaluationResultImportFailureCount_ != 0) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 6, evaluationResultImportFailureCount_); + } + if (evaluationRunImportFailureCount_ != 0) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 7, evaluationRunImportFailureCount_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -302,8 +527,14 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.ces.v1beta.ImportEvaluationsResponse) obj; if (!getEvaluationsList().equals(other.getEvaluationsList())) return false; + if (!getEvaluationResultsList().equals(other.getEvaluationResultsList())) return false; + if (!getEvaluationRunsList().equals(other.getEvaluationRunsList())) return false; if (!getErrorMessagesList().equals(other.getErrorMessagesList())) return false; if (getImportFailureCount() != other.getImportFailureCount()) return false; + if (getEvaluationResultImportFailureCount() != other.getEvaluationResultImportFailureCount()) + return false; + if (getEvaluationRunImportFailureCount() != other.getEvaluationRunImportFailureCount()) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,12 +550,24 @@ public int hashCode() { hash = (37 * hash) + EVALUATIONS_FIELD_NUMBER; hash = (53 * hash) + getEvaluationsList().hashCode(); } + if (getEvaluationResultsCount() > 0) { + hash = (37 * hash) + EVALUATION_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getEvaluationResultsList().hashCode(); + } + if (getEvaluationRunsCount() > 0) { + hash = (37 * hash) + EVALUATION_RUNS_FIELD_NUMBER; + hash = (53 * hash) + getEvaluationRunsList().hashCode(); + } if (getErrorMessagesCount() > 0) { hash = (37 * hash) + ERROR_MESSAGES_FIELD_NUMBER; hash = (53 * hash) + getErrorMessagesList().hashCode(); } hash = (37 * hash) + IMPORT_FAILURE_COUNT_FIELD_NUMBER; hash = (53 * hash) + getImportFailureCount(); + hash = (37 * hash) + EVALUATION_RESULT_IMPORT_FAILURE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getEvaluationResultImportFailureCount(); + hash = (37 * hash) + EVALUATION_RUN_IMPORT_FAILURE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getEvaluationRunImportFailureCount(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -474,8 +717,24 @@ public Builder clear() { evaluationsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); + if (evaluationResultsBuilder_ == null) { + evaluationResults_ = java.util.Collections.emptyList(); + } else { + evaluationResults_ = null; + evaluationResultsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + if (evaluationRunsBuilder_ == null) { + evaluationRuns_ = java.util.Collections.emptyList(); + } else { + evaluationRuns_ = null; + evaluationRunsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); errorMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); importFailureCount_ = 0; + evaluationResultImportFailureCount_ = 0; + evaluationRunImportFailureCount_ = 0; return this; } @@ -522,17 +781,41 @@ private void buildPartialRepeatedFields( } else { result.evaluations_ = evaluationsBuilder_.build(); } + if (evaluationResultsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + evaluationResults_ = java.util.Collections.unmodifiableList(evaluationResults_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.evaluationResults_ = evaluationResults_; + } else { + result.evaluationResults_ = evaluationResultsBuilder_.build(); + } + if (evaluationRunsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + evaluationRuns_ = java.util.Collections.unmodifiableList(evaluationRuns_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.evaluationRuns_ = evaluationRuns_; + } else { + result.evaluationRuns_ = evaluationRunsBuilder_.build(); + } } private void buildPartial0(com.google.cloud.ces.v1beta.ImportEvaluationsResponse result) { int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000002) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { errorMessages_.makeImmutable(); result.errorMessages_ = errorMessages_; } - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000010) != 0)) { result.importFailureCount_ = importFailureCount_; } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.evaluationResultImportFailureCount_ = evaluationResultImportFailureCount_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.evaluationRunImportFailureCount_ = evaluationRunImportFailureCount_; + } } @java.lang.Override @@ -575,10 +858,64 @@ public Builder mergeFrom(com.google.cloud.ces.v1beta.ImportEvaluationsResponse o } } } + if (evaluationResultsBuilder_ == null) { + if (!other.evaluationResults_.isEmpty()) { + if (evaluationResults_.isEmpty()) { + evaluationResults_ = other.evaluationResults_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureEvaluationResultsIsMutable(); + evaluationResults_.addAll(other.evaluationResults_); + } + onChanged(); + } + } else { + if (!other.evaluationResults_.isEmpty()) { + if (evaluationResultsBuilder_.isEmpty()) { + evaluationResultsBuilder_.dispose(); + evaluationResultsBuilder_ = null; + evaluationResults_ = other.evaluationResults_; + bitField0_ = (bitField0_ & ~0x00000002); + evaluationResultsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetEvaluationResultsFieldBuilder() + : null; + } else { + evaluationResultsBuilder_.addAllMessages(other.evaluationResults_); + } + } + } + if (evaluationRunsBuilder_ == null) { + if (!other.evaluationRuns_.isEmpty()) { + if (evaluationRuns_.isEmpty()) { + evaluationRuns_ = other.evaluationRuns_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureEvaluationRunsIsMutable(); + evaluationRuns_.addAll(other.evaluationRuns_); + } + onChanged(); + } + } else { + if (!other.evaluationRuns_.isEmpty()) { + if (evaluationRunsBuilder_.isEmpty()) { + evaluationRunsBuilder_.dispose(); + evaluationRunsBuilder_ = null; + evaluationRuns_ = other.evaluationRuns_; + bitField0_ = (bitField0_ & ~0x00000004); + evaluationRunsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetEvaluationRunsFieldBuilder() + : null; + } else { + evaluationRunsBuilder_.addAllMessages(other.evaluationRuns_); + } + } + } if (!other.errorMessages_.isEmpty()) { if (errorMessages_.isEmpty()) { errorMessages_ = other.errorMessages_; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; } else { ensureErrorMessagesIsMutable(); errorMessages_.addAll(other.errorMessages_); @@ -588,6 +925,12 @@ public Builder mergeFrom(com.google.cloud.ces.v1beta.ImportEvaluationsResponse o if (other.getImportFailureCount() != 0) { setImportFailureCount(other.getImportFailureCount()); } + if (other.getEvaluationResultImportFailureCount() != 0) { + setEvaluationResultImportFailureCount(other.getEvaluationResultImportFailureCount()); + } + if (other.getEvaluationRunImportFailureCount() != 0) { + setEvaluationRunImportFailureCount(other.getEvaluationRunImportFailureCount()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -637,9 +980,47 @@ public Builder mergeFrom( case 24: { importFailureCount_ = input.readInt32(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; break; } // case 24 + case 34: + { + com.google.cloud.ces.v1beta.EvaluationResult m = + input.readMessage( + com.google.cloud.ces.v1beta.EvaluationResult.parser(), extensionRegistry); + if (evaluationResultsBuilder_ == null) { + ensureEvaluationResultsIsMutable(); + evaluationResults_.add(m); + } else { + evaluationResultsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + com.google.cloud.ces.v1beta.EvaluationRun m = + input.readMessage( + com.google.cloud.ces.v1beta.EvaluationRun.parser(), extensionRegistry); + if (evaluationRunsBuilder_ == null) { + ensureEvaluationRunsIsMutable(); + evaluationRuns_.add(m); + } else { + evaluationRunsBuilder_.addMessage(m); + } + break; + } // case 42 + case 48: + { + evaluationResultImportFailureCount_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: + { + evaluationRunImportFailureCount_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1026,104 +1407,853 @@ public com.google.cloud.ces.v1beta.Evaluation.Builder addEvaluationsBuilder(int return evaluationsBuilder_; } - private com.google.protobuf.LazyStringArrayList errorMessages_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + private java.util.List evaluationResults_ = + java.util.Collections.emptyList(); - private void ensureErrorMessagesIsMutable() { - if (!errorMessages_.isModifiable()) { - errorMessages_ = new com.google.protobuf.LazyStringArrayList(errorMessages_); + private void ensureEvaluationResultsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + evaluationResults_ = + new java.util.ArrayList( + evaluationResults_); + bitField0_ |= 0x00000002; } - bitField0_ |= 0x00000002; } + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.ces.v1beta.EvaluationResult, + com.google.cloud.ces.v1beta.EvaluationResult.Builder, + com.google.cloud.ces.v1beta.EvaluationResultOrBuilder> + evaluationResultsBuilder_; + /** * * *
-     * Optional. A list of error messages associated with evaluations that failed
-     * to be imported.
+     * The list of evaluation results that were imported into the app.
      * 
* - * repeated string error_messages = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return A list containing the errorMessages. + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; */ - public com.google.protobuf.ProtocolStringList getErrorMessagesList() { - errorMessages_.makeImmutable(); - return errorMessages_; + public java.util.List getEvaluationResultsList() { + if (evaluationResultsBuilder_ == null) { + return java.util.Collections.unmodifiableList(evaluationResults_); + } else { + return evaluationResultsBuilder_.getMessageList(); + } } /** * * *
-     * Optional. A list of error messages associated with evaluations that failed
-     * to be imported.
+     * The list of evaluation results that were imported into the app.
      * 
* - * repeated string error_messages = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The count of errorMessages. + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; */ - public int getErrorMessagesCount() { - return errorMessages_.size(); + public int getEvaluationResultsCount() { + if (evaluationResultsBuilder_ == null) { + return evaluationResults_.size(); + } else { + return evaluationResultsBuilder_.getCount(); + } } /** * * *
-     * Optional. A list of error messages associated with evaluations that failed
-     * to be imported.
+     * The list of evaluation results that were imported into the app.
      * 
* - * repeated string error_messages = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the element to return. - * @return The errorMessages at the given index. + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; */ - public java.lang.String getErrorMessages(int index) { - return errorMessages_.get(index); + public com.google.cloud.ces.v1beta.EvaluationResult getEvaluationResults(int index) { + if (evaluationResultsBuilder_ == null) { + return evaluationResults_.get(index); + } else { + return evaluationResultsBuilder_.getMessage(index); + } } /** * * *
-     * Optional. A list of error messages associated with evaluations that failed
-     * to be imported.
+     * The list of evaluation results that were imported into the app.
      * 
* - * repeated string error_messages = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the value to return. - * @return The bytes of the errorMessages at the given index. + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; */ - public com.google.protobuf.ByteString getErrorMessagesBytes(int index) { - return errorMessages_.getByteString(index); + public Builder setEvaluationResults( + int index, com.google.cloud.ces.v1beta.EvaluationResult value) { + if (evaluationResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEvaluationResultsIsMutable(); + evaluationResults_.set(index, value); + onChanged(); + } else { + evaluationResultsBuilder_.setMessage(index, value); + } + return this; } /** * * *
-     * Optional. A list of error messages associated with evaluations that failed
-     * to be imported.
+     * The list of evaluation results that were imported into the app.
      * 
* - * repeated string error_messages = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index to set the value at. - * @param value The errorMessages to set. - * @return This builder for chaining. + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; */ - public Builder setErrorMessages(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder setEvaluationResults( + int index, com.google.cloud.ces.v1beta.EvaluationResult.Builder builderForValue) { + if (evaluationResultsBuilder_ == null) { + ensureEvaluationResultsIsMutable(); + evaluationResults_.set(index, builderForValue.build()); + onChanged(); + } else { + evaluationResultsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public Builder addEvaluationResults(com.google.cloud.ces.v1beta.EvaluationResult value) { + if (evaluationResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEvaluationResultsIsMutable(); + evaluationResults_.add(value); + onChanged(); + } else { + evaluationResultsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public Builder addEvaluationResults( + int index, com.google.cloud.ces.v1beta.EvaluationResult value) { + if (evaluationResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEvaluationResultsIsMutable(); + evaluationResults_.add(index, value); + onChanged(); + } else { + evaluationResultsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public Builder addEvaluationResults( + com.google.cloud.ces.v1beta.EvaluationResult.Builder builderForValue) { + if (evaluationResultsBuilder_ == null) { + ensureEvaluationResultsIsMutable(); + evaluationResults_.add(builderForValue.build()); + onChanged(); + } else { + evaluationResultsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public Builder addEvaluationResults( + int index, com.google.cloud.ces.v1beta.EvaluationResult.Builder builderForValue) { + if (evaluationResultsBuilder_ == null) { + ensureEvaluationResultsIsMutable(); + evaluationResults_.add(index, builderForValue.build()); + onChanged(); + } else { + evaluationResultsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public Builder addAllEvaluationResults( + java.lang.Iterable values) { + if (evaluationResultsBuilder_ == null) { + ensureEvaluationResultsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, evaluationResults_); + onChanged(); + } else { + evaluationResultsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public Builder clearEvaluationResults() { + if (evaluationResultsBuilder_ == null) { + evaluationResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + evaluationResultsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public Builder removeEvaluationResults(int index) { + if (evaluationResultsBuilder_ == null) { + ensureEvaluationResultsIsMutable(); + evaluationResults_.remove(index); + onChanged(); + } else { + evaluationResultsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public com.google.cloud.ces.v1beta.EvaluationResult.Builder getEvaluationResultsBuilder( + int index) { + return internalGetEvaluationResultsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public com.google.cloud.ces.v1beta.EvaluationResultOrBuilder getEvaluationResultsOrBuilder( + int index) { + if (evaluationResultsBuilder_ == null) { + return evaluationResults_.get(index); + } else { + return evaluationResultsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public java.util.List + getEvaluationResultsOrBuilderList() { + if (evaluationResultsBuilder_ != null) { + return evaluationResultsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(evaluationResults_); + } + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public com.google.cloud.ces.v1beta.EvaluationResult.Builder addEvaluationResultsBuilder() { + return internalGetEvaluationResultsFieldBuilder() + .addBuilder(com.google.cloud.ces.v1beta.EvaluationResult.getDefaultInstance()); + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public com.google.cloud.ces.v1beta.EvaluationResult.Builder addEvaluationResultsBuilder( + int index) { + return internalGetEvaluationResultsFieldBuilder() + .addBuilder(index, com.google.cloud.ces.v1beta.EvaluationResult.getDefaultInstance()); + } + + /** + * + * + *
+     * The list of evaluation results that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + public java.util.List + getEvaluationResultsBuilderList() { + return internalGetEvaluationResultsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.ces.v1beta.EvaluationResult, + com.google.cloud.ces.v1beta.EvaluationResult.Builder, + com.google.cloud.ces.v1beta.EvaluationResultOrBuilder> + internalGetEvaluationResultsFieldBuilder() { + if (evaluationResultsBuilder_ == null) { + evaluationResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.ces.v1beta.EvaluationResult, + com.google.cloud.ces.v1beta.EvaluationResult.Builder, + com.google.cloud.ces.v1beta.EvaluationResultOrBuilder>( + evaluationResults_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + evaluationResults_ = null; + } + return evaluationResultsBuilder_; + } + + private java.util.List evaluationRuns_ = + java.util.Collections.emptyList(); + + private void ensureEvaluationRunsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + evaluationRuns_ = + new java.util.ArrayList(evaluationRuns_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.ces.v1beta.EvaluationRun, + com.google.cloud.ces.v1beta.EvaluationRun.Builder, + com.google.cloud.ces.v1beta.EvaluationRunOrBuilder> + evaluationRunsBuilder_; + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public java.util.List getEvaluationRunsList() { + if (evaluationRunsBuilder_ == null) { + return java.util.Collections.unmodifiableList(evaluationRuns_); + } else { + return evaluationRunsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public int getEvaluationRunsCount() { + if (evaluationRunsBuilder_ == null) { + return evaluationRuns_.size(); + } else { + return evaluationRunsBuilder_.getCount(); + } + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public com.google.cloud.ces.v1beta.EvaluationRun getEvaluationRuns(int index) { + if (evaluationRunsBuilder_ == null) { + return evaluationRuns_.get(index); + } else { + return evaluationRunsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public Builder setEvaluationRuns(int index, com.google.cloud.ces.v1beta.EvaluationRun value) { + if (evaluationRunsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEvaluationRunsIsMutable(); + evaluationRuns_.set(index, value); + onChanged(); + } else { + evaluationRunsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public Builder setEvaluationRuns( + int index, com.google.cloud.ces.v1beta.EvaluationRun.Builder builderForValue) { + if (evaluationRunsBuilder_ == null) { + ensureEvaluationRunsIsMutable(); + evaluationRuns_.set(index, builderForValue.build()); + onChanged(); + } else { + evaluationRunsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public Builder addEvaluationRuns(com.google.cloud.ces.v1beta.EvaluationRun value) { + if (evaluationRunsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEvaluationRunsIsMutable(); + evaluationRuns_.add(value); + onChanged(); + } else { + evaluationRunsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public Builder addEvaluationRuns(int index, com.google.cloud.ces.v1beta.EvaluationRun value) { + if (evaluationRunsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEvaluationRunsIsMutable(); + evaluationRuns_.add(index, value); + onChanged(); + } else { + evaluationRunsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public Builder addEvaluationRuns( + com.google.cloud.ces.v1beta.EvaluationRun.Builder builderForValue) { + if (evaluationRunsBuilder_ == null) { + ensureEvaluationRunsIsMutable(); + evaluationRuns_.add(builderForValue.build()); + onChanged(); + } else { + evaluationRunsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public Builder addEvaluationRuns( + int index, com.google.cloud.ces.v1beta.EvaluationRun.Builder builderForValue) { + if (evaluationRunsBuilder_ == null) { + ensureEvaluationRunsIsMutable(); + evaluationRuns_.add(index, builderForValue.build()); + onChanged(); + } else { + evaluationRunsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public Builder addAllEvaluationRuns( + java.lang.Iterable values) { + if (evaluationRunsBuilder_ == null) { + ensureEvaluationRunsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, evaluationRuns_); + onChanged(); + } else { + evaluationRunsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public Builder clearEvaluationRuns() { + if (evaluationRunsBuilder_ == null) { + evaluationRuns_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + evaluationRunsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public Builder removeEvaluationRuns(int index) { + if (evaluationRunsBuilder_ == null) { + ensureEvaluationRunsIsMutable(); + evaluationRuns_.remove(index); + onChanged(); + } else { + evaluationRunsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public com.google.cloud.ces.v1beta.EvaluationRun.Builder getEvaluationRunsBuilder(int index) { + return internalGetEvaluationRunsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public com.google.cloud.ces.v1beta.EvaluationRunOrBuilder getEvaluationRunsOrBuilder( + int index) { + if (evaluationRunsBuilder_ == null) { + return evaluationRuns_.get(index); + } else { + return evaluationRunsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public java.util.List + getEvaluationRunsOrBuilderList() { + if (evaluationRunsBuilder_ != null) { + return evaluationRunsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(evaluationRuns_); + } + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public com.google.cloud.ces.v1beta.EvaluationRun.Builder addEvaluationRunsBuilder() { + return internalGetEvaluationRunsFieldBuilder() + .addBuilder(com.google.cloud.ces.v1beta.EvaluationRun.getDefaultInstance()); + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public com.google.cloud.ces.v1beta.EvaluationRun.Builder addEvaluationRunsBuilder(int index) { + return internalGetEvaluationRunsFieldBuilder() + .addBuilder(index, com.google.cloud.ces.v1beta.EvaluationRun.getDefaultInstance()); + } + + /** + * + * + *
+     * The list of evaluation runs that were imported into the app.
+     * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + public java.util.List + getEvaluationRunsBuilderList() { + return internalGetEvaluationRunsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.ces.v1beta.EvaluationRun, + com.google.cloud.ces.v1beta.EvaluationRun.Builder, + com.google.cloud.ces.v1beta.EvaluationRunOrBuilder> + internalGetEvaluationRunsFieldBuilder() { + if (evaluationRunsBuilder_ == null) { + evaluationRunsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.ces.v1beta.EvaluationRun, + com.google.cloud.ces.v1beta.EvaluationRun.Builder, + com.google.cloud.ces.v1beta.EvaluationRunOrBuilder>( + evaluationRuns_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + evaluationRuns_ = null; + } + return evaluationRunsBuilder_; + } + + private com.google.protobuf.LazyStringArrayList errorMessages_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureErrorMessagesIsMutable() { + if (!errorMessages_.isModifiable()) { + errorMessages_ = new com.google.protobuf.LazyStringArrayList(errorMessages_); + } + bitField0_ |= 0x00000008; + } + + /** + * + * + *
+     * Optional. A list of error messages associated with evaluations that failed
+     * to be imported.
+     * 
+ * + * repeated string error_messages = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the errorMessages. + */ + public com.google.protobuf.ProtocolStringList getErrorMessagesList() { + errorMessages_.makeImmutable(); + return errorMessages_; + } + + /** + * + * + *
+     * Optional. A list of error messages associated with evaluations that failed
+     * to be imported.
+     * 
+ * + * repeated string error_messages = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of errorMessages. + */ + public int getErrorMessagesCount() { + return errorMessages_.size(); + } + + /** + * + * + *
+     * Optional. A list of error messages associated with evaluations that failed
+     * to be imported.
+     * 
+ * + * repeated string error_messages = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The errorMessages at the given index. + */ + public java.lang.String getErrorMessages(int index) { + return errorMessages_.get(index); + } + + /** + * + * + *
+     * Optional. A list of error messages associated with evaluations that failed
+     * to be imported.
+     * 
+ * + * repeated string error_messages = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the errorMessages at the given index. + */ + public com.google.protobuf.ByteString getErrorMessagesBytes(int index) { + return errorMessages_.getByteString(index); + } + + /** + * + * + *
+     * Optional. A list of error messages associated with evaluations that failed
+     * to be imported.
+     * 
+ * + * repeated string error_messages = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The errorMessages to set. + * @return This builder for chaining. + */ + public Builder setErrorMessages(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } ensureErrorMessagesIsMutable(); errorMessages_.set(index, value); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1147,7 +2277,7 @@ public Builder addErrorMessages(java.lang.String value) { } ensureErrorMessagesIsMutable(); errorMessages_.add(value); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1168,7 +2298,7 @@ public Builder addErrorMessages(java.lang.String value) { public Builder addAllErrorMessages(java.lang.Iterable values) { ensureErrorMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errorMessages_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1187,7 +2317,7 @@ public Builder addAllErrorMessages(java.lang.Iterable values) */ public Builder clearErrorMessages() { errorMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000008); ; onChanged(); return this; @@ -1213,7 +2343,7 @@ public Builder addErrorMessagesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureErrorMessagesIsMutable(); errorMessages_.add(value); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1224,7 +2354,8 @@ public Builder addErrorMessagesBytes(com.google.protobuf.ByteString value) { * * *
-     * The number of evaluations that were not imported due to errors.
+     * The number of evaluations that either failed to import entirely or
+     * completed import with one or more errors.
      * 
* * int32 import_failure_count = 3; @@ -1240,7 +2371,8 @@ public int getImportFailureCount() { * * *
-     * The number of evaluations that were not imported due to errors.
+     * The number of evaluations that either failed to import entirely or
+     * completed import with one or more errors.
      * 
* * int32 import_failure_count = 3; @@ -1251,7 +2383,7 @@ public int getImportFailureCount() { public Builder setImportFailureCount(int value) { importFailureCount_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1260,7 +2392,8 @@ public Builder setImportFailureCount(int value) { * * *
-     * The number of evaluations that were not imported due to errors.
+     * The number of evaluations that either failed to import entirely or
+     * completed import with one or more errors.
      * 
* * int32 import_failure_count = 3; @@ -1268,12 +2401,130 @@ public Builder setImportFailureCount(int value) { * @return This builder for chaining. */ public Builder clearImportFailureCount() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); importFailureCount_ = 0; onChanged(); return this; } + private int evaluationResultImportFailureCount_; + + /** + * + * + *
+     * The number of evaluation results that either failed to import entirely or
+     * completed import with one or more errors.
+     * 
+ * + * int32 evaluation_result_import_failure_count = 6; + * + * @return The evaluationResultImportFailureCount. + */ + @java.lang.Override + public int getEvaluationResultImportFailureCount() { + return evaluationResultImportFailureCount_; + } + + /** + * + * + *
+     * The number of evaluation results that either failed to import entirely or
+     * completed import with one or more errors.
+     * 
+ * + * int32 evaluation_result_import_failure_count = 6; + * + * @param value The evaluationResultImportFailureCount to set. + * @return This builder for chaining. + */ + public Builder setEvaluationResultImportFailureCount(int value) { + + evaluationResultImportFailureCount_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * The number of evaluation results that either failed to import entirely or
+     * completed import with one or more errors.
+     * 
+ * + * int32 evaluation_result_import_failure_count = 6; + * + * @return This builder for chaining. + */ + public Builder clearEvaluationResultImportFailureCount() { + bitField0_ = (bitField0_ & ~0x00000020); + evaluationResultImportFailureCount_ = 0; + onChanged(); + return this; + } + + private int evaluationRunImportFailureCount_; + + /** + * + * + *
+     * The number of evaluation runs that either failed to import entirely or
+     * completed import with one or more errors.
+     * 
+ * + * int32 evaluation_run_import_failure_count = 7; + * + * @return The evaluationRunImportFailureCount. + */ + @java.lang.Override + public int getEvaluationRunImportFailureCount() { + return evaluationRunImportFailureCount_; + } + + /** + * + * + *
+     * The number of evaluation runs that either failed to import entirely or
+     * completed import with one or more errors.
+     * 
+ * + * int32 evaluation_run_import_failure_count = 7; + * + * @param value The evaluationRunImportFailureCount to set. + * @return This builder for chaining. + */ + public Builder setEvaluationRunImportFailureCount(int value) { + + evaluationRunImportFailureCount_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * The number of evaluation runs that either failed to import entirely or
+     * completed import with one or more errors.
+     * 
+ * + * int32 evaluation_run_import_failure_count = 7; + * + * @return This builder for chaining. + */ + public Builder clearEvaluationRunImportFailureCount() { + bitField0_ = (bitField0_ & ~0x00000040); + evaluationRunImportFailureCount_ = 0; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.ImportEvaluationsResponse) } diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ImportEvaluationsResponseOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ImportEvaluationsResponseOrBuilder.java index 319130cd72cb..79c247051abd 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ImportEvaluationsResponseOrBuilder.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ImportEvaluationsResponseOrBuilder.java @@ -82,6 +82,118 @@ public interface ImportEvaluationsResponseOrBuilder */ com.google.cloud.ces.v1beta.EvaluationOrBuilder getEvaluationsOrBuilder(int index); + /** + * + * + *
+   * The list of evaluation results that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + java.util.List getEvaluationResultsList(); + + /** + * + * + *
+   * The list of evaluation results that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + com.google.cloud.ces.v1beta.EvaluationResult getEvaluationResults(int index); + + /** + * + * + *
+   * The list of evaluation results that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + int getEvaluationResultsCount(); + + /** + * + * + *
+   * The list of evaluation results that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + java.util.List + getEvaluationResultsOrBuilderList(); + + /** + * + * + *
+   * The list of evaluation results that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationResult evaluation_results = 4; + */ + com.google.cloud.ces.v1beta.EvaluationResultOrBuilder getEvaluationResultsOrBuilder(int index); + + /** + * + * + *
+   * The list of evaluation runs that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + java.util.List getEvaluationRunsList(); + + /** + * + * + *
+   * The list of evaluation runs that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + com.google.cloud.ces.v1beta.EvaluationRun getEvaluationRuns(int index); + + /** + * + * + *
+   * The list of evaluation runs that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + int getEvaluationRunsCount(); + + /** + * + * + *
+   * The list of evaluation runs that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + java.util.List + getEvaluationRunsOrBuilderList(); + + /** + * + * + *
+   * The list of evaluation runs that were imported into the app.
+   * 
+ * + * repeated .google.cloud.ces.v1beta.EvaluationRun evaluation_runs = 5; + */ + com.google.cloud.ces.v1beta.EvaluationRunOrBuilder getEvaluationRunsOrBuilder(int index); + /** * * @@ -144,7 +256,8 @@ public interface ImportEvaluationsResponseOrBuilder * * *
-   * The number of evaluations that were not imported due to errors.
+   * The number of evaluations that either failed to import entirely or
+   * completed import with one or more errors.
    * 
* * int32 import_failure_count = 3; @@ -152,4 +265,32 @@ public interface ImportEvaluationsResponseOrBuilder * @return The importFailureCount. */ int getImportFailureCount(); + + /** + * + * + *
+   * The number of evaluation results that either failed to import entirely or
+   * completed import with one or more errors.
+   * 
+ * + * int32 evaluation_result_import_failure_count = 6; + * + * @return The evaluationResultImportFailureCount. + */ + int getEvaluationResultImportFailureCount(); + + /** + * + * + *
+   * The number of evaluation runs that either failed to import entirely or
+   * completed import with one or more errors.
+   * 
+ * + * int32 evaluation_run_import_failure_count = 7; + * + * @return The evaluationRunImportFailureCount. + */ + int getEvaluationRunImportFailureCount(); } diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ListEvaluationsRequest.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ListEvaluationsRequest.java index 305433e441b9..7d838c1d68e7 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ListEvaluationsRequest.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ListEvaluationsRequest.java @@ -230,7 +230,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * string filter = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.ces.v1beta.ListEvaluationsRequest.filter is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=729 + * google/cloud/ces/v1beta/evaluation_service.proto;l=759 * @return The filter. */ @java.lang.Override @@ -258,7 +258,7 @@ public java.lang.String getFilter() { * string filter = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.ces.v1beta.ListEvaluationsRequest.filter is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=729 + * google/cloud/ces/v1beta/evaluation_service.proto;l=759 * @return The bytes for filter. */ @java.lang.Override @@ -1269,7 +1269,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * string filter = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.ces.v1beta.ListEvaluationsRequest.filter is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=729 + * google/cloud/ces/v1beta/evaluation_service.proto;l=759 * @return The filter. */ @java.lang.Deprecated @@ -1296,7 +1296,7 @@ public java.lang.String getFilter() { * string filter = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.ces.v1beta.ListEvaluationsRequest.filter is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=729 + * google/cloud/ces/v1beta/evaluation_service.proto;l=759 * @return The bytes for filter. */ @java.lang.Deprecated @@ -1323,7 +1323,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * string filter = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.ces.v1beta.ListEvaluationsRequest.filter is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=729 + * google/cloud/ces/v1beta/evaluation_service.proto;l=759 * @param value The filter to set. * @return This builder for chaining. */ @@ -1349,7 +1349,7 @@ public Builder setFilter(java.lang.String value) { * string filter = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.ces.v1beta.ListEvaluationsRequest.filter is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=729 + * google/cloud/ces/v1beta/evaluation_service.proto;l=759 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1371,7 +1371,7 @@ public Builder clearFilter() { * string filter = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.ces.v1beta.ListEvaluationsRequest.filter is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=729 + * google/cloud/ces/v1beta/evaluation_service.proto;l=759 * @param value The bytes for filter to set. * @return This builder for chaining. */ diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ListEvaluationsRequestOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ListEvaluationsRequestOrBuilder.java index 8722b400a0b3..cd70b266cf56 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ListEvaluationsRequestOrBuilder.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ListEvaluationsRequestOrBuilder.java @@ -115,7 +115,7 @@ public interface ListEvaluationsRequestOrBuilder * string filter = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.ces.v1beta.ListEvaluationsRequest.filter is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=729 + * google/cloud/ces/v1beta/evaluation_service.proto;l=759 * @return The filter. */ @java.lang.Deprecated @@ -132,7 +132,7 @@ public interface ListEvaluationsRequestOrBuilder * string filter = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.ces.v1beta.ListEvaluationsRequest.filter is deprecated. See - * google/cloud/ces/v1beta/evaluation_service.proto;l=729 + * google/cloud/ces/v1beta/evaluation_service.proto;l=759 * @return The bytes for filter. */ @java.lang.Deprecated diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockConfig.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockConfig.java new file mode 100644 index 000000000000..8a805ee92d62 --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockConfig.java @@ -0,0 +1,1337 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/session_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +/** + * + * + *
+ * Mock tool calls configuration for the session.
+ * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.MockConfig} + */ +@com.google.protobuf.Generated +public final class MockConfig extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.MockConfig) + MockConfigOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "MockConfig"); + } + + // Use MockConfig.newBuilder() to construct. + private MockConfig(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private MockConfig() { + mockedToolCalls_ = java.util.Collections.emptyList(); + unmatchedToolCallBehavior_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.SessionServiceProto + .internal_static_google_cloud_ces_v1beta_MockConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.SessionServiceProto + .internal_static_google_cloud_ces_v1beta_MockConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.MockConfig.class, + com.google.cloud.ces.v1beta.MockConfig.Builder.class); + } + + /** + * + * + *
+   * What to do when a tool call doesn't match any mocked tool calls.
+   * 
+ * + * Protobuf enum {@code google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior} + */ + public enum UnmatchedToolCallBehavior implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default value. This value is unused.
+     * 
+ * + * UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED = 0; + */ + UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED(0), + /** + * + * + *
+     * Throw an error for any tool calls that don't match a mock expected input
+     * pattern.
+     * 
+ * + * FAIL = 1; + */ + FAIL(1), + /** + * + * + *
+     * For unmatched tool calls, pass the tool call through to real tool.
+     * 
+ * + * PASS_THROUGH = 2; + */ + PASS_THROUGH(2), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "UnmatchedToolCallBehavior"); + } + + /** + * + * + *
+     * Default value. This value is unused.
+     * 
+ * + * UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED = 0; + */ + public static final int UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Throw an error for any tool calls that don't match a mock expected input
+     * pattern.
+     * 
+ * + * FAIL = 1; + */ + public static final int FAIL_VALUE = 1; + + /** + * + * + *
+     * For unmatched tool calls, pass the tool call through to real tool.
+     * 
+ * + * PASS_THROUGH = 2; + */ + public static final int PASS_THROUGH_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UnmatchedToolCallBehavior valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UnmatchedToolCallBehavior forNumber(int value) { + switch (value) { + case 0: + return UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED; + case 1: + return FAIL; + case 2: + return PASS_THROUGH; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UnmatchedToolCallBehavior findValueByNumber(int number) { + return UnmatchedToolCallBehavior.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.ces.v1beta.MockConfig.getDescriptor().getEnumTypes().get(0); + } + + private static final UnmatchedToolCallBehavior[] VALUES = values(); + + public static UnmatchedToolCallBehavior valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UnmatchedToolCallBehavior(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior) + } + + public static final int MOCKED_TOOL_CALLS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List mockedToolCalls_; + + /** + * + * + *
+   * Optional. All tool calls to mock for the duration of the session.
+   * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List getMockedToolCallsList() { + return mockedToolCalls_; + } + + /** + * + * + *
+   * Optional. All tool calls to mock for the duration of the session.
+   * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getMockedToolCallsOrBuilderList() { + return mockedToolCalls_; + } + + /** + * + * + *
+   * Optional. All tool calls to mock for the duration of the session.
+   * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public int getMockedToolCallsCount() { + return mockedToolCalls_.size(); + } + + /** + * + * + *
+   * Optional. All tool calls to mock for the duration of the session.
+   * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.MockedToolCall getMockedToolCalls(int index) { + return mockedToolCalls_.get(index); + } + + /** + * + * + *
+   * Optional. All tool calls to mock for the duration of the session.
+   * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.MockedToolCallOrBuilder getMockedToolCallsOrBuilder( + int index) { + return mockedToolCalls_.get(index); + } + + public static final int UNMATCHED_TOOL_CALL_BEHAVIOR_FIELD_NUMBER = 2; + private int unmatchedToolCallBehavior_ = 0; + + /** + * + * + *
+   * Required. Beavhior for tool calls that don't match any args patterns in
+   * mocked_tool_calls.
+   * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for unmatchedToolCallBehavior. + */ + @java.lang.Override + public int getUnmatchedToolCallBehaviorValue() { + return unmatchedToolCallBehavior_; + } + + /** + * + * + *
+   * Required. Beavhior for tool calls that don't match any args patterns in
+   * mocked_tool_calls.
+   * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The unmatchedToolCallBehavior. + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior + getUnmatchedToolCallBehavior() { + com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior result = + com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior.forNumber( + unmatchedToolCallBehavior_); + return result == null + ? com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < mockedToolCalls_.size(); i++) { + output.writeMessage(1, mockedToolCalls_.get(i)); + } + if (unmatchedToolCallBehavior_ + != com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior + .UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, unmatchedToolCallBehavior_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < mockedToolCalls_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, mockedToolCalls_.get(i)); + } + if (unmatchedToolCallBehavior_ + != com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior + .UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, unmatchedToolCallBehavior_); + } + 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.ces.v1beta.MockConfig)) { + return super.equals(obj); + } + com.google.cloud.ces.v1beta.MockConfig other = (com.google.cloud.ces.v1beta.MockConfig) obj; + + if (!getMockedToolCallsList().equals(other.getMockedToolCallsList())) return false; + if (unmatchedToolCallBehavior_ != other.unmatchedToolCallBehavior_) 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 (getMockedToolCallsCount() > 0) { + hash = (37 * hash) + MOCKED_TOOL_CALLS_FIELD_NUMBER; + hash = (53 * hash) + getMockedToolCallsList().hashCode(); + } + hash = (37 * hash) + UNMATCHED_TOOL_CALL_BEHAVIOR_FIELD_NUMBER; + hash = (53 * hash) + unmatchedToolCallBehavior_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.ces.v1beta.MockConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.MockConfig 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.ces.v1beta.MockConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.MockConfig 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.ces.v1beta.MockConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.MockConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.MockConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.MockConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.MockConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.MockConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.MockConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.MockConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.ces.v1beta.MockConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Mock tool calls configuration for the session.
+   * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.MockConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.ces.v1beta.MockConfig) + com.google.cloud.ces.v1beta.MockConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.SessionServiceProto + .internal_static_google_cloud_ces_v1beta_MockConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.SessionServiceProto + .internal_static_google_cloud_ces_v1beta_MockConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.MockConfig.class, + com.google.cloud.ces.v1beta.MockConfig.Builder.class); + } + + // Construct using com.google.cloud.ces.v1beta.MockConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (mockedToolCallsBuilder_ == null) { + mockedToolCalls_ = java.util.Collections.emptyList(); + } else { + mockedToolCalls_ = null; + mockedToolCallsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + unmatchedToolCallBehavior_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.ces.v1beta.SessionServiceProto + .internal_static_google_cloud_ces_v1beta_MockConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.MockConfig getDefaultInstanceForType() { + return com.google.cloud.ces.v1beta.MockConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.MockConfig build() { + com.google.cloud.ces.v1beta.MockConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.MockConfig buildPartial() { + com.google.cloud.ces.v1beta.MockConfig result = + new com.google.cloud.ces.v1beta.MockConfig(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.ces.v1beta.MockConfig result) { + if (mockedToolCallsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + mockedToolCalls_ = java.util.Collections.unmodifiableList(mockedToolCalls_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.mockedToolCalls_ = mockedToolCalls_; + } else { + result.mockedToolCalls_ = mockedToolCallsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.ces.v1beta.MockConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.unmatchedToolCallBehavior_ = unmatchedToolCallBehavior_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.ces.v1beta.MockConfig) { + return mergeFrom((com.google.cloud.ces.v1beta.MockConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.ces.v1beta.MockConfig other) { + if (other == com.google.cloud.ces.v1beta.MockConfig.getDefaultInstance()) return this; + if (mockedToolCallsBuilder_ == null) { + if (!other.mockedToolCalls_.isEmpty()) { + if (mockedToolCalls_.isEmpty()) { + mockedToolCalls_ = other.mockedToolCalls_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureMockedToolCallsIsMutable(); + mockedToolCalls_.addAll(other.mockedToolCalls_); + } + onChanged(); + } + } else { + if (!other.mockedToolCalls_.isEmpty()) { + if (mockedToolCallsBuilder_.isEmpty()) { + mockedToolCallsBuilder_.dispose(); + mockedToolCallsBuilder_ = null; + mockedToolCalls_ = other.mockedToolCalls_; + bitField0_ = (bitField0_ & ~0x00000001); + mockedToolCallsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetMockedToolCallsFieldBuilder() + : null; + } else { + mockedToolCallsBuilder_.addAllMessages(other.mockedToolCalls_); + } + } + } + if (other.unmatchedToolCallBehavior_ != 0) { + setUnmatchedToolCallBehaviorValue(other.getUnmatchedToolCallBehaviorValue()); + } + 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.ces.v1beta.MockedToolCall m = + input.readMessage( + com.google.cloud.ces.v1beta.MockedToolCall.parser(), extensionRegistry); + if (mockedToolCallsBuilder_ == null) { + ensureMockedToolCallsIsMutable(); + mockedToolCalls_.add(m); + } else { + mockedToolCallsBuilder_.addMessage(m); + } + break; + } // case 10 + case 16: + { + unmatchedToolCallBehavior_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List mockedToolCalls_ = + java.util.Collections.emptyList(); + + private void ensureMockedToolCallsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + mockedToolCalls_ = + new java.util.ArrayList(mockedToolCalls_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.ces.v1beta.MockedToolCall, + com.google.cloud.ces.v1beta.MockedToolCall.Builder, + com.google.cloud.ces.v1beta.MockedToolCallOrBuilder> + mockedToolCallsBuilder_; + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List getMockedToolCallsList() { + if (mockedToolCallsBuilder_ == null) { + return java.util.Collections.unmodifiableList(mockedToolCalls_); + } else { + return mockedToolCallsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public int getMockedToolCallsCount() { + if (mockedToolCallsBuilder_ == null) { + return mockedToolCalls_.size(); + } else { + return mockedToolCallsBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.MockedToolCall getMockedToolCalls(int index) { + if (mockedToolCallsBuilder_ == null) { + return mockedToolCalls_.get(index); + } else { + return mockedToolCallsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMockedToolCalls(int index, com.google.cloud.ces.v1beta.MockedToolCall value) { + if (mockedToolCallsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMockedToolCallsIsMutable(); + mockedToolCalls_.set(index, value); + onChanged(); + } else { + mockedToolCallsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMockedToolCalls( + int index, com.google.cloud.ces.v1beta.MockedToolCall.Builder builderForValue) { + if (mockedToolCallsBuilder_ == null) { + ensureMockedToolCallsIsMutable(); + mockedToolCalls_.set(index, builderForValue.build()); + onChanged(); + } else { + mockedToolCallsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addMockedToolCalls(com.google.cloud.ces.v1beta.MockedToolCall value) { + if (mockedToolCallsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMockedToolCallsIsMutable(); + mockedToolCalls_.add(value); + onChanged(); + } else { + mockedToolCallsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addMockedToolCalls(int index, com.google.cloud.ces.v1beta.MockedToolCall value) { + if (mockedToolCallsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMockedToolCallsIsMutable(); + mockedToolCalls_.add(index, value); + onChanged(); + } else { + mockedToolCallsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addMockedToolCalls( + com.google.cloud.ces.v1beta.MockedToolCall.Builder builderForValue) { + if (mockedToolCallsBuilder_ == null) { + ensureMockedToolCallsIsMutable(); + mockedToolCalls_.add(builderForValue.build()); + onChanged(); + } else { + mockedToolCallsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addMockedToolCalls( + int index, com.google.cloud.ces.v1beta.MockedToolCall.Builder builderForValue) { + if (mockedToolCallsBuilder_ == null) { + ensureMockedToolCallsIsMutable(); + mockedToolCalls_.add(index, builderForValue.build()); + onChanged(); + } else { + mockedToolCallsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addAllMockedToolCalls( + java.lang.Iterable values) { + if (mockedToolCallsBuilder_ == null) { + ensureMockedToolCallsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mockedToolCalls_); + onChanged(); + } else { + mockedToolCallsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearMockedToolCalls() { + if (mockedToolCallsBuilder_ == null) { + mockedToolCalls_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + mockedToolCallsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeMockedToolCalls(int index) { + if (mockedToolCallsBuilder_ == null) { + ensureMockedToolCallsIsMutable(); + mockedToolCalls_.remove(index); + onChanged(); + } else { + mockedToolCallsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.MockedToolCall.Builder getMockedToolCallsBuilder(int index) { + return internalGetMockedToolCallsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.MockedToolCallOrBuilder getMockedToolCallsOrBuilder( + int index) { + if (mockedToolCallsBuilder_ == null) { + return mockedToolCalls_.get(index); + } else { + return mockedToolCallsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getMockedToolCallsOrBuilderList() { + if (mockedToolCallsBuilder_ != null) { + return mockedToolCallsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(mockedToolCalls_); + } + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.MockedToolCall.Builder addMockedToolCallsBuilder() { + return internalGetMockedToolCallsFieldBuilder() + .addBuilder(com.google.cloud.ces.v1beta.MockedToolCall.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.MockedToolCall.Builder addMockedToolCallsBuilder(int index) { + return internalGetMockedToolCallsFieldBuilder() + .addBuilder(index, com.google.cloud.ces.v1beta.MockedToolCall.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. All tool calls to mock for the duration of the session.
+     * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getMockedToolCallsBuilderList() { + return internalGetMockedToolCallsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.ces.v1beta.MockedToolCall, + com.google.cloud.ces.v1beta.MockedToolCall.Builder, + com.google.cloud.ces.v1beta.MockedToolCallOrBuilder> + internalGetMockedToolCallsFieldBuilder() { + if (mockedToolCallsBuilder_ == null) { + mockedToolCallsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.ces.v1beta.MockedToolCall, + com.google.cloud.ces.v1beta.MockedToolCall.Builder, + com.google.cloud.ces.v1beta.MockedToolCallOrBuilder>( + mockedToolCalls_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + mockedToolCalls_ = null; + } + return mockedToolCallsBuilder_; + } + + private int unmatchedToolCallBehavior_ = 0; + + /** + * + * + *
+     * Required. Beavhior for tool calls that don't match any args patterns in
+     * mocked_tool_calls.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for unmatchedToolCallBehavior. + */ + @java.lang.Override + public int getUnmatchedToolCallBehaviorValue() { + return unmatchedToolCallBehavior_; + } + + /** + * + * + *
+     * Required. Beavhior for tool calls that don't match any args patterns in
+     * mocked_tool_calls.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The enum numeric value on the wire for unmatchedToolCallBehavior to set. + * @return This builder for chaining. + */ + public Builder setUnmatchedToolCallBehaviorValue(int value) { + unmatchedToolCallBehavior_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Beavhior for tool calls that don't match any args patterns in
+     * mocked_tool_calls.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The unmatchedToolCallBehavior. + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior + getUnmatchedToolCallBehavior() { + com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior result = + com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior.forNumber( + unmatchedToolCallBehavior_); + return result == null + ? com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Required. Beavhior for tool calls that don't match any args patterns in
+     * mocked_tool_calls.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The unmatchedToolCallBehavior to set. + * @return This builder for chaining. + */ + public Builder setUnmatchedToolCallBehavior( + com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + unmatchedToolCallBehavior_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Beavhior for tool calls that don't match any args patterns in
+     * mocked_tool_calls.
+     * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearUnmatchedToolCallBehavior() { + bitField0_ = (bitField0_ & ~0x00000002); + unmatchedToolCallBehavior_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.MockConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.ces.v1beta.MockConfig) + private static final com.google.cloud.ces.v1beta.MockConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.ces.v1beta.MockConfig(); + } + + public static com.google.cloud.ces.v1beta.MockConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MockConfig 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.ces.v1beta.MockConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockConfigOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockConfigOrBuilder.java new file mode 100644 index 000000000000..76ebee59d6b9 --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockConfigOrBuilder.java @@ -0,0 +1,126 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/session_service.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +@com.google.protobuf.Generated +public interface MockConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.ces.v1beta.MockConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. All tool calls to mock for the duration of the session.
+   * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List getMockedToolCallsList(); + + /** + * + * + *
+   * Optional. All tool calls to mock for the duration of the session.
+   * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.ces.v1beta.MockedToolCall getMockedToolCalls(int index); + + /** + * + * + *
+   * Optional. All tool calls to mock for the duration of the session.
+   * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getMockedToolCallsCount(); + + /** + * + * + *
+   * Optional. All tool calls to mock for the duration of the session.
+   * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getMockedToolCallsOrBuilderList(); + + /** + * + * + *
+   * Optional. All tool calls to mock for the duration of the session.
+   * 
+ * + * + * repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.ces.v1beta.MockedToolCallOrBuilder getMockedToolCallsOrBuilder(int index); + + /** + * + * + *
+   * Required. Beavhior for tool calls that don't match any args patterns in
+   * mocked_tool_calls.
+   * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for unmatchedToolCallBehavior. + */ + int getUnmatchedToolCallBehaviorValue(); + + /** + * + * + *
+   * Required. Beavhior for tool calls that don't match any args patterns in
+   * mocked_tool_calls.
+   * 
+ * + * + * .google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The unmatchedToolCallBehavior. + */ + com.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior getUnmatchedToolCallBehavior(); +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockedToolCall.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockedToolCall.java new file mode 100644 index 000000000000..9c2e82d8fe9f --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockedToolCall.java @@ -0,0 +1,1963 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/mocks.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +/** + * + * + *
+ * A mocked tool call.
+ *
+ * Expresses the target tool + a pattern to match against that tool's
+ * args / inputs. If the pattern matches, then the mock response will be
+ * returned.
+ * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.MockedToolCall} + */ +@com.google.protobuf.Generated +public final class MockedToolCall extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.ces.v1beta.MockedToolCall) + MockedToolCallOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "MockedToolCall"); + } + + // Use MockedToolCall.newBuilder() to construct. + private MockedToolCall(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private MockedToolCall() { + tool_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.MocksProto + .internal_static_google_cloud_ces_v1beta_MockedToolCall_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.MocksProto + .internal_static_google_cloud_ces_v1beta_MockedToolCall_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.MockedToolCall.class, + com.google.cloud.ces.v1beta.MockedToolCall.Builder.class); + } + + private int bitField0_; + private int toolIdentifierCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object toolIdentifier_; + + public enum ToolIdentifierCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + TOOL_ID(4), + TOOLSET(5), + TOOLIDENTIFIER_NOT_SET(0); + private final int value; + + private ToolIdentifierCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ToolIdentifierCase valueOf(int value) { + return forNumber(value); + } + + public static ToolIdentifierCase forNumber(int value) { + switch (value) { + case 4: + return TOOL_ID; + case 5: + return TOOLSET; + case 0: + return TOOLIDENTIFIER_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ToolIdentifierCase getToolIdentifierCase() { + return ToolIdentifierCase.forNumber(toolIdentifierCase_); + } + + public static final int TOOL_ID_FIELD_NUMBER = 4; + + /** + * + * + *
+   * Optional. The name of the tool to mock.
+   * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+   * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the toolId field is set. + */ + public boolean hasToolId() { + return toolIdentifierCase_ == 4; + } + + /** + * + * + *
+   * Optional. The name of the tool to mock.
+   * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+   * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The toolId. + */ + public java.lang.String getToolId() { + java.lang.Object ref = ""; + if (toolIdentifierCase_ == 4) { + ref = toolIdentifier_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (toolIdentifierCase_ == 4) { + toolIdentifier_ = s; + } + return s; + } + } + + /** + * + * + *
+   * Optional. The name of the tool to mock.
+   * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+   * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for toolId. + */ + public com.google.protobuf.ByteString getToolIdBytes() { + java.lang.Object ref = ""; + if (toolIdentifierCase_ == 4) { + ref = toolIdentifier_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (toolIdentifierCase_ == 4) { + toolIdentifier_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TOOLSET_FIELD_NUMBER = 5; + + /** + * + * + *
+   * Optional. The toolset to mock.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the toolset field is set. + */ + @java.lang.Override + public boolean hasToolset() { + return toolIdentifierCase_ == 5; + } + + /** + * + * + *
+   * Optional. The toolset to mock.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The toolset. + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ToolsetTool getToolset() { + if (toolIdentifierCase_ == 5) { + return (com.google.cloud.ces.v1beta.ToolsetTool) toolIdentifier_; + } + return com.google.cloud.ces.v1beta.ToolsetTool.getDefaultInstance(); + } + + /** + * + * + *
+   * Optional. The toolset to mock.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ToolsetToolOrBuilder getToolsetOrBuilder() { + if (toolIdentifierCase_ == 5) { + return (com.google.cloud.ces.v1beta.ToolsetTool) toolIdentifier_; + } + return com.google.cloud.ces.v1beta.ToolsetTool.getDefaultInstance(); + } + + public static final int TOOL_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object tool_ = ""; + + /** + * + * + *
+   * Optional. Deprecated. Use tool_identifier instead.
+   * 
+ * + * + * string tool = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.ces.v1beta.MockedToolCall.tool is deprecated. See + * google/cloud/ces/v1beta/mocks.proto;l=48 + * @return The tool. + */ + @java.lang.Override + @java.lang.Deprecated + public java.lang.String getTool() { + java.lang.Object ref = tool_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tool_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Deprecated. Use tool_identifier instead.
+   * 
+ * + * + * string tool = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.ces.v1beta.MockedToolCall.tool is deprecated. See + * google/cloud/ces/v1beta/mocks.proto;l=48 + * @return The bytes for tool. + */ + @java.lang.Override + @java.lang.Deprecated + public com.google.protobuf.ByteString getToolBytes() { + java.lang.Object ref = tool_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXPECTED_ARGS_PATTERN_FIELD_NUMBER = 2; + private com.google.protobuf.Struct expectedArgsPattern_; + + /** + * + * + *
+   * Required. A pattern to match against the args / inputs of all dispatched
+   * tool calls. If the tool call inputs match this pattern, then mock output
+   * will be returned.
+   * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the expectedArgsPattern field is set. + */ + @java.lang.Override + public boolean hasExpectedArgsPattern() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. A pattern to match against the args / inputs of all dispatched
+   * tool calls. If the tool call inputs match this pattern, then mock output
+   * will be returned.
+   * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The expectedArgsPattern. + */ + @java.lang.Override + public com.google.protobuf.Struct getExpectedArgsPattern() { + return expectedArgsPattern_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : expectedArgsPattern_; + } + + /** + * + * + *
+   * Required. A pattern to match against the args / inputs of all dispatched
+   * tool calls. If the tool call inputs match this pattern, then mock output
+   * will be returned.
+   * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.protobuf.StructOrBuilder getExpectedArgsPatternOrBuilder() { + return expectedArgsPattern_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : expectedArgsPattern_; + } + + public static final int MOCK_RESPONSE_FIELD_NUMBER = 3; + private com.google.protobuf.Struct mockResponse_; + + /** + * + * + *
+   * Optional. The mock response / output to return if the tool call args /
+   * inputs match the pattern.
+   * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the mockResponse field is set. + */ + @java.lang.Override + public boolean hasMockResponse() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Optional. The mock response / output to return if the tool call args /
+   * inputs match the pattern.
+   * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The mockResponse. + */ + @java.lang.Override + public com.google.protobuf.Struct getMockResponse() { + return mockResponse_ == null ? com.google.protobuf.Struct.getDefaultInstance() : mockResponse_; + } + + /** + * + * + *
+   * Optional. The mock response / output to return if the tool call args /
+   * inputs match the pattern.
+   * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.StructOrBuilder getMockResponseOrBuilder() { + return mockResponse_ == null ? com.google.protobuf.Struct.getDefaultInstance() : mockResponse_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tool_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, tool_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getExpectedArgsPattern()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getMockResponse()); + } + if (toolIdentifierCase_ == 4) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, toolIdentifier_); + } + if (toolIdentifierCase_ == 5) { + output.writeMessage(5, (com.google.cloud.ces.v1beta.ToolsetTool) toolIdentifier_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tool_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tool_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpectedArgsPattern()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMockResponse()); + } + if (toolIdentifierCase_ == 4) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, toolIdentifier_); + } + if (toolIdentifierCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.ces.v1beta.ToolsetTool) toolIdentifier_); + } + 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.ces.v1beta.MockedToolCall)) { + return super.equals(obj); + } + com.google.cloud.ces.v1beta.MockedToolCall other = + (com.google.cloud.ces.v1beta.MockedToolCall) obj; + + if (!getTool().equals(other.getTool())) return false; + if (hasExpectedArgsPattern() != other.hasExpectedArgsPattern()) return false; + if (hasExpectedArgsPattern()) { + if (!getExpectedArgsPattern().equals(other.getExpectedArgsPattern())) return false; + } + if (hasMockResponse() != other.hasMockResponse()) return false; + if (hasMockResponse()) { + if (!getMockResponse().equals(other.getMockResponse())) return false; + } + if (!getToolIdentifierCase().equals(other.getToolIdentifierCase())) return false; + switch (toolIdentifierCase_) { + case 4: + if (!getToolId().equals(other.getToolId())) return false; + break; + case 5: + if (!getToolset().equals(other.getToolset())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TOOL_FIELD_NUMBER; + hash = (53 * hash) + getTool().hashCode(); + if (hasExpectedArgsPattern()) { + hash = (37 * hash) + EXPECTED_ARGS_PATTERN_FIELD_NUMBER; + hash = (53 * hash) + getExpectedArgsPattern().hashCode(); + } + if (hasMockResponse()) { + hash = (37 * hash) + MOCK_RESPONSE_FIELD_NUMBER; + hash = (53 * hash) + getMockResponse().hashCode(); + } + switch (toolIdentifierCase_) { + case 4: + hash = (37 * hash) + TOOL_ID_FIELD_NUMBER; + hash = (53 * hash) + getToolId().hashCode(); + break; + case 5: + hash = (37 * hash) + TOOLSET_FIELD_NUMBER; + hash = (53 * hash) + getToolset().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.ces.v1beta.MockedToolCall parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.MockedToolCall 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.ces.v1beta.MockedToolCall parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.MockedToolCall 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.ces.v1beta.MockedToolCall parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.ces.v1beta.MockedToolCall parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.MockedToolCall parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.MockedToolCall parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.MockedToolCall parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.MockedToolCall parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.ces.v1beta.MockedToolCall parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.ces.v1beta.MockedToolCall parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.ces.v1beta.MockedToolCall prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * A mocked tool call.
+   *
+   * Expresses the target tool + a pattern to match against that tool's
+   * args / inputs. If the pattern matches, then the mock response will be
+   * returned.
+   * 
+ * + * Protobuf type {@code google.cloud.ces.v1beta.MockedToolCall} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.ces.v1beta.MockedToolCall) + com.google.cloud.ces.v1beta.MockedToolCallOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.ces.v1beta.MocksProto + .internal_static_google_cloud_ces_v1beta_MockedToolCall_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.ces.v1beta.MocksProto + .internal_static_google_cloud_ces_v1beta_MockedToolCall_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.ces.v1beta.MockedToolCall.class, + com.google.cloud.ces.v1beta.MockedToolCall.Builder.class); + } + + // Construct using com.google.cloud.ces.v1beta.MockedToolCall.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetExpectedArgsPatternFieldBuilder(); + internalGetMockResponseFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (toolsetBuilder_ != null) { + toolsetBuilder_.clear(); + } + tool_ = ""; + expectedArgsPattern_ = null; + if (expectedArgsPatternBuilder_ != null) { + expectedArgsPatternBuilder_.dispose(); + expectedArgsPatternBuilder_ = null; + } + mockResponse_ = null; + if (mockResponseBuilder_ != null) { + mockResponseBuilder_.dispose(); + mockResponseBuilder_ = null; + } + toolIdentifierCase_ = 0; + toolIdentifier_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.ces.v1beta.MocksProto + .internal_static_google_cloud_ces_v1beta_MockedToolCall_descriptor; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.MockedToolCall getDefaultInstanceForType() { + return com.google.cloud.ces.v1beta.MockedToolCall.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.MockedToolCall build() { + com.google.cloud.ces.v1beta.MockedToolCall result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.ces.v1beta.MockedToolCall buildPartial() { + com.google.cloud.ces.v1beta.MockedToolCall result = + new com.google.cloud.ces.v1beta.MockedToolCall(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.ces.v1beta.MockedToolCall result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.tool_ = tool_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.expectedArgsPattern_ = + expectedArgsPatternBuilder_ == null + ? expectedArgsPattern_ + : expectedArgsPatternBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.mockResponse_ = + mockResponseBuilder_ == null ? mockResponse_ : mockResponseBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.ces.v1beta.MockedToolCall result) { + result.toolIdentifierCase_ = toolIdentifierCase_; + result.toolIdentifier_ = this.toolIdentifier_; + if (toolIdentifierCase_ == 5 && toolsetBuilder_ != null) { + result.toolIdentifier_ = toolsetBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.ces.v1beta.MockedToolCall) { + return mergeFrom((com.google.cloud.ces.v1beta.MockedToolCall) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.ces.v1beta.MockedToolCall other) { + if (other == com.google.cloud.ces.v1beta.MockedToolCall.getDefaultInstance()) return this; + if (!other.getTool().isEmpty()) { + tool_ = other.tool_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasExpectedArgsPattern()) { + mergeExpectedArgsPattern(other.getExpectedArgsPattern()); + } + if (other.hasMockResponse()) { + mergeMockResponse(other.getMockResponse()); + } + switch (other.getToolIdentifierCase()) { + case TOOL_ID: + { + toolIdentifierCase_ = 4; + toolIdentifier_ = other.toolIdentifier_; + onChanged(); + break; + } + case TOOLSET: + { + mergeToolset(other.getToolset()); + break; + } + case TOOLIDENTIFIER_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + tool_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetExpectedArgsPatternFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetMockResponseFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + toolIdentifierCase_ = 4; + toolIdentifier_ = s; + break; + } // case 34 + case 42: + { + input.readMessage(internalGetToolsetFieldBuilder().getBuilder(), extensionRegistry); + toolIdentifierCase_ = 5; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int toolIdentifierCase_ = 0; + private java.lang.Object toolIdentifier_; + + public ToolIdentifierCase getToolIdentifierCase() { + return ToolIdentifierCase.forNumber(toolIdentifierCase_); + } + + public Builder clearToolIdentifier() { + toolIdentifierCase_ = 0; + toolIdentifier_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+     * Optional. The name of the tool to mock.
+     * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+     * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the toolId field is set. + */ + @java.lang.Override + public boolean hasToolId() { + return toolIdentifierCase_ == 4; + } + + /** + * + * + *
+     * Optional. The name of the tool to mock.
+     * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+     * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The toolId. + */ + @java.lang.Override + public java.lang.String getToolId() { + java.lang.Object ref = ""; + if (toolIdentifierCase_ == 4) { + ref = toolIdentifier_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (toolIdentifierCase_ == 4) { + toolIdentifier_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. The name of the tool to mock.
+     * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+     * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for toolId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getToolIdBytes() { + java.lang.Object ref = ""; + if (toolIdentifierCase_ == 4) { + ref = toolIdentifier_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (toolIdentifierCase_ == 4) { + toolIdentifier_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. The name of the tool to mock.
+     * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+     * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The toolId to set. + * @return This builder for chaining. + */ + public Builder setToolId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + toolIdentifierCase_ = 4; + toolIdentifier_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The name of the tool to mock.
+     * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+     * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearToolId() { + if (toolIdentifierCase_ == 4) { + toolIdentifierCase_ = 0; + toolIdentifier_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. The name of the tool to mock.
+     * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+     * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for toolId to set. + * @return This builder for chaining. + */ + public Builder setToolIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + toolIdentifierCase_ = 4; + toolIdentifier_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ToolsetTool, + com.google.cloud.ces.v1beta.ToolsetTool.Builder, + com.google.cloud.ces.v1beta.ToolsetToolOrBuilder> + toolsetBuilder_; + + /** + * + * + *
+     * Optional. The toolset to mock.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the toolset field is set. + */ + @java.lang.Override + public boolean hasToolset() { + return toolIdentifierCase_ == 5; + } + + /** + * + * + *
+     * Optional. The toolset to mock.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The toolset. + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ToolsetTool getToolset() { + if (toolsetBuilder_ == null) { + if (toolIdentifierCase_ == 5) { + return (com.google.cloud.ces.v1beta.ToolsetTool) toolIdentifier_; + } + return com.google.cloud.ces.v1beta.ToolsetTool.getDefaultInstance(); + } else { + if (toolIdentifierCase_ == 5) { + return toolsetBuilder_.getMessage(); + } + return com.google.cloud.ces.v1beta.ToolsetTool.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Optional. The toolset to mock.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setToolset(com.google.cloud.ces.v1beta.ToolsetTool value) { + if (toolsetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + toolIdentifier_ = value; + onChanged(); + } else { + toolsetBuilder_.setMessage(value); + } + toolIdentifierCase_ = 5; + return this; + } + + /** + * + * + *
+     * Optional. The toolset to mock.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setToolset(com.google.cloud.ces.v1beta.ToolsetTool.Builder builderForValue) { + if (toolsetBuilder_ == null) { + toolIdentifier_ = builderForValue.build(); + onChanged(); + } else { + toolsetBuilder_.setMessage(builderForValue.build()); + } + toolIdentifierCase_ = 5; + return this; + } + + /** + * + * + *
+     * Optional. The toolset to mock.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeToolset(com.google.cloud.ces.v1beta.ToolsetTool value) { + if (toolsetBuilder_ == null) { + if (toolIdentifierCase_ == 5 + && toolIdentifier_ != com.google.cloud.ces.v1beta.ToolsetTool.getDefaultInstance()) { + toolIdentifier_ = + com.google.cloud.ces.v1beta.ToolsetTool.newBuilder( + (com.google.cloud.ces.v1beta.ToolsetTool) toolIdentifier_) + .mergeFrom(value) + .buildPartial(); + } else { + toolIdentifier_ = value; + } + onChanged(); + } else { + if (toolIdentifierCase_ == 5) { + toolsetBuilder_.mergeFrom(value); + } else { + toolsetBuilder_.setMessage(value); + } + } + toolIdentifierCase_ = 5; + return this; + } + + /** + * + * + *
+     * Optional. The toolset to mock.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearToolset() { + if (toolsetBuilder_ == null) { + if (toolIdentifierCase_ == 5) { + toolIdentifierCase_ = 0; + toolIdentifier_ = null; + onChanged(); + } + } else { + if (toolIdentifierCase_ == 5) { + toolIdentifierCase_ = 0; + toolIdentifier_ = null; + } + toolsetBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. The toolset to mock.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.ces.v1beta.ToolsetTool.Builder getToolsetBuilder() { + return internalGetToolsetFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The toolset to mock.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.ces.v1beta.ToolsetToolOrBuilder getToolsetOrBuilder() { + if ((toolIdentifierCase_ == 5) && (toolsetBuilder_ != null)) { + return toolsetBuilder_.getMessageOrBuilder(); + } else { + if (toolIdentifierCase_ == 5) { + return (com.google.cloud.ces.v1beta.ToolsetTool) toolIdentifier_; + } + return com.google.cloud.ces.v1beta.ToolsetTool.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Optional. The toolset to mock.
+     * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ToolsetTool, + com.google.cloud.ces.v1beta.ToolsetTool.Builder, + com.google.cloud.ces.v1beta.ToolsetToolOrBuilder> + internalGetToolsetFieldBuilder() { + if (toolsetBuilder_ == null) { + if (!(toolIdentifierCase_ == 5)) { + toolIdentifier_ = com.google.cloud.ces.v1beta.ToolsetTool.getDefaultInstance(); + } + toolsetBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.ces.v1beta.ToolsetTool, + com.google.cloud.ces.v1beta.ToolsetTool.Builder, + com.google.cloud.ces.v1beta.ToolsetToolOrBuilder>( + (com.google.cloud.ces.v1beta.ToolsetTool) toolIdentifier_, + getParentForChildren(), + isClean()); + toolIdentifier_ = null; + } + toolIdentifierCase_ = 5; + onChanged(); + return toolsetBuilder_; + } + + private java.lang.Object tool_ = ""; + + /** + * + * + *
+     * Optional. Deprecated. Use tool_identifier instead.
+     * 
+ * + * + * string tool = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.ces.v1beta.MockedToolCall.tool is deprecated. See + * google/cloud/ces/v1beta/mocks.proto;l=48 + * @return The tool. + */ + @java.lang.Deprecated + public java.lang.String getTool() { + java.lang.Object ref = tool_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tool_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. Deprecated. Use tool_identifier instead.
+     * 
+ * + * + * string tool = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.ces.v1beta.MockedToolCall.tool is deprecated. See + * google/cloud/ces/v1beta/mocks.proto;l=48 + * @return The bytes for tool. + */ + @java.lang.Deprecated + public com.google.protobuf.ByteString getToolBytes() { + java.lang.Object ref = tool_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. Deprecated. Use tool_identifier instead.
+     * 
+ * + * + * string tool = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.ces.v1beta.MockedToolCall.tool is deprecated. See + * google/cloud/ces/v1beta/mocks.proto;l=48 + * @param value The tool to set. + * @return This builder for chaining. + */ + @java.lang.Deprecated + public Builder setTool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tool_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Deprecated. Use tool_identifier instead.
+     * 
+ * + * + * string tool = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.ces.v1beta.MockedToolCall.tool is deprecated. See + * google/cloud/ces/v1beta/mocks.proto;l=48 + * @return This builder for chaining. + */ + @java.lang.Deprecated + public Builder clearTool() { + tool_ = getDefaultInstance().getTool(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Deprecated. Use tool_identifier instead.
+     * 
+ * + * + * string tool = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.ces.v1beta.MockedToolCall.tool is deprecated. See + * google/cloud/ces/v1beta/mocks.proto;l=48 + * @param value The bytes for tool to set. + * @return This builder for chaining. + */ + @java.lang.Deprecated + public Builder setToolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tool_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.protobuf.Struct expectedArgsPattern_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + expectedArgsPatternBuilder_; + + /** + * + * + *
+     * Required. A pattern to match against the args / inputs of all dispatched
+     * tool calls. If the tool call inputs match this pattern, then mock output
+     * will be returned.
+     * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the expectedArgsPattern field is set. + */ + public boolean hasExpectedArgsPattern() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+     * Required. A pattern to match against the args / inputs of all dispatched
+     * tool calls. If the tool call inputs match this pattern, then mock output
+     * will be returned.
+     * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The expectedArgsPattern. + */ + public com.google.protobuf.Struct getExpectedArgsPattern() { + if (expectedArgsPatternBuilder_ == null) { + return expectedArgsPattern_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : expectedArgsPattern_; + } else { + return expectedArgsPatternBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. A pattern to match against the args / inputs of all dispatched
+     * tool calls. If the tool call inputs match this pattern, then mock output
+     * will be returned.
+     * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setExpectedArgsPattern(com.google.protobuf.Struct value) { + if (expectedArgsPatternBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + expectedArgsPattern_ = value; + } else { + expectedArgsPatternBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. A pattern to match against the args / inputs of all dispatched
+     * tool calls. If the tool call inputs match this pattern, then mock output
+     * will be returned.
+     * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setExpectedArgsPattern(com.google.protobuf.Struct.Builder builderForValue) { + if (expectedArgsPatternBuilder_ == null) { + expectedArgsPattern_ = builderForValue.build(); + } else { + expectedArgsPatternBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. A pattern to match against the args / inputs of all dispatched
+     * tool calls. If the tool call inputs match this pattern, then mock output
+     * will be returned.
+     * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeExpectedArgsPattern(com.google.protobuf.Struct value) { + if (expectedArgsPatternBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && expectedArgsPattern_ != null + && expectedArgsPattern_ != com.google.protobuf.Struct.getDefaultInstance()) { + getExpectedArgsPatternBuilder().mergeFrom(value); + } else { + expectedArgsPattern_ = value; + } + } else { + expectedArgsPatternBuilder_.mergeFrom(value); + } + if (expectedArgsPattern_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. A pattern to match against the args / inputs of all dispatched
+     * tool calls. If the tool call inputs match this pattern, then mock output
+     * will be returned.
+     * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearExpectedArgsPattern() { + bitField0_ = (bitField0_ & ~0x00000008); + expectedArgsPattern_ = null; + if (expectedArgsPatternBuilder_ != null) { + expectedArgsPatternBuilder_.dispose(); + expectedArgsPatternBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. A pattern to match against the args / inputs of all dispatched
+     * tool calls. If the tool call inputs match this pattern, then mock output
+     * will be returned.
+     * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.protobuf.Struct.Builder getExpectedArgsPatternBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return internalGetExpectedArgsPatternFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. A pattern to match against the args / inputs of all dispatched
+     * tool calls. If the tool call inputs match this pattern, then mock output
+     * will be returned.
+     * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.protobuf.StructOrBuilder getExpectedArgsPatternOrBuilder() { + if (expectedArgsPatternBuilder_ != null) { + return expectedArgsPatternBuilder_.getMessageOrBuilder(); + } else { + return expectedArgsPattern_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : expectedArgsPattern_; + } + } + + /** + * + * + *
+     * Required. A pattern to match against the args / inputs of all dispatched
+     * tool calls. If the tool call inputs match this pattern, then mock output
+     * will be returned.
+     * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + internalGetExpectedArgsPatternFieldBuilder() { + if (expectedArgsPatternBuilder_ == null) { + expectedArgsPatternBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getExpectedArgsPattern(), getParentForChildren(), isClean()); + expectedArgsPattern_ = null; + } + return expectedArgsPatternBuilder_; + } + + private com.google.protobuf.Struct mockResponse_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + mockResponseBuilder_; + + /** + * + * + *
+     * Optional. The mock response / output to return if the tool call args /
+     * inputs match the pattern.
+     * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the mockResponse field is set. + */ + public boolean hasMockResponse() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+     * Optional. The mock response / output to return if the tool call args /
+     * inputs match the pattern.
+     * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The mockResponse. + */ + public com.google.protobuf.Struct getMockResponse() { + if (mockResponseBuilder_ == null) { + return mockResponse_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : mockResponse_; + } else { + return mockResponseBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. The mock response / output to return if the tool call args /
+     * inputs match the pattern.
+     * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMockResponse(com.google.protobuf.Struct value) { + if (mockResponseBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + mockResponse_ = value; + } else { + mockResponseBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The mock response / output to return if the tool call args /
+     * inputs match the pattern.
+     * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMockResponse(com.google.protobuf.Struct.Builder builderForValue) { + if (mockResponseBuilder_ == null) { + mockResponse_ = builderForValue.build(); + } else { + mockResponseBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The mock response / output to return if the tool call args /
+     * inputs match the pattern.
+     * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeMockResponse(com.google.protobuf.Struct value) { + if (mockResponseBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && mockResponse_ != null + && mockResponse_ != com.google.protobuf.Struct.getDefaultInstance()) { + getMockResponseBuilder().mergeFrom(value); + } else { + mockResponse_ = value; + } + } else { + mockResponseBuilder_.mergeFrom(value); + } + if (mockResponse_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. The mock response / output to return if the tool call args /
+     * inputs match the pattern.
+     * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearMockResponse() { + bitField0_ = (bitField0_ & ~0x00000010); + mockResponse_ = null; + if (mockResponseBuilder_ != null) { + mockResponseBuilder_.dispose(); + mockResponseBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The mock response / output to return if the tool call args /
+     * inputs match the pattern.
+     * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.Struct.Builder getMockResponseBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return internalGetMockResponseFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The mock response / output to return if the tool call args /
+     * inputs match the pattern.
+     * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.StructOrBuilder getMockResponseOrBuilder() { + if (mockResponseBuilder_ != null) { + return mockResponseBuilder_.getMessageOrBuilder(); + } else { + return mockResponse_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : mockResponse_; + } + } + + /** + * + * + *
+     * Optional. The mock response / output to return if the tool call args /
+     * inputs match the pattern.
+     * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + internalGetMockResponseFieldBuilder() { + if (mockResponseBuilder_ == null) { + mockResponseBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getMockResponse(), getParentForChildren(), isClean()); + mockResponse_ = null; + } + return mockResponseBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.ces.v1beta.MockedToolCall) + } + + // @@protoc_insertion_point(class_scope:google.cloud.ces.v1beta.MockedToolCall) + private static final com.google.cloud.ces.v1beta.MockedToolCall DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.ces.v1beta.MockedToolCall(); + } + + public static com.google.cloud.ces.v1beta.MockedToolCall getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MockedToolCall 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.ces.v1beta.MockedToolCall getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockedToolCallOrBuilder.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockedToolCallOrBuilder.java new file mode 100644 index 000000000000..800036863d70 --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MockedToolCallOrBuilder.java @@ -0,0 +1,249 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/mocks.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +@com.google.protobuf.Generated +public interface MockedToolCallOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.ces.v1beta.MockedToolCall) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. The name of the tool to mock.
+   * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+   * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the toolId field is set. + */ + boolean hasToolId(); + + /** + * + * + *
+   * Optional. The name of the tool to mock.
+   * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+   * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The toolId. + */ + java.lang.String getToolId(); + + /** + * + * + *
+   * Optional. The name of the tool to mock.
+   * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
+   * 
+ * + * + * string tool_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for toolId. + */ + com.google.protobuf.ByteString getToolIdBytes(); + + /** + * + * + *
+   * Optional. The toolset to mock.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the toolset field is set. + */ + boolean hasToolset(); + + /** + * + * + *
+   * Optional. The toolset to mock.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The toolset. + */ + com.google.cloud.ces.v1beta.ToolsetTool getToolset(); + + /** + * + * + *
+   * Optional. The toolset to mock.
+   * 
+ * + * + * .google.cloud.ces.v1beta.ToolsetTool toolset = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.ces.v1beta.ToolsetToolOrBuilder getToolsetOrBuilder(); + + /** + * + * + *
+   * Optional. Deprecated. Use tool_identifier instead.
+   * 
+ * + * + * string tool = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.ces.v1beta.MockedToolCall.tool is deprecated. See + * google/cloud/ces/v1beta/mocks.proto;l=48 + * @return The tool. + */ + @java.lang.Deprecated + java.lang.String getTool(); + + /** + * + * + *
+   * Optional. Deprecated. Use tool_identifier instead.
+   * 
+ * + * + * string tool = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.ces.v1beta.MockedToolCall.tool is deprecated. See + * google/cloud/ces/v1beta/mocks.proto;l=48 + * @return The bytes for tool. + */ + @java.lang.Deprecated + com.google.protobuf.ByteString getToolBytes(); + + /** + * + * + *
+   * Required. A pattern to match against the args / inputs of all dispatched
+   * tool calls. If the tool call inputs match this pattern, then mock output
+   * will be returned.
+   * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the expectedArgsPattern field is set. + */ + boolean hasExpectedArgsPattern(); + + /** + * + * + *
+   * Required. A pattern to match against the args / inputs of all dispatched
+   * tool calls. If the tool call inputs match this pattern, then mock output
+   * will be returned.
+   * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The expectedArgsPattern. + */ + com.google.protobuf.Struct getExpectedArgsPattern(); + + /** + * + * + *
+   * Required. A pattern to match against the args / inputs of all dispatched
+   * tool calls. If the tool call inputs match this pattern, then mock output
+   * will be returned.
+   * 
+ * + * + * .google.protobuf.Struct expected_args_pattern = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.protobuf.StructOrBuilder getExpectedArgsPatternOrBuilder(); + + /** + * + * + *
+   * Optional. The mock response / output to return if the tool call args /
+   * inputs match the pattern.
+   * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the mockResponse field is set. + */ + boolean hasMockResponse(); + + /** + * + * + *
+   * Optional. The mock response / output to return if the tool call args /
+   * inputs match the pattern.
+   * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The mockResponse. + */ + com.google.protobuf.Struct getMockResponse(); + + /** + * + * + *
+   * Optional. The mock response / output to return if the tool call args /
+   * inputs match the pattern.
+   * 
+ * + * .google.protobuf.Struct mock_response = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.StructOrBuilder getMockResponseOrBuilder(); + + com.google.cloud.ces.v1beta.MockedToolCall.ToolIdentifierCase getToolIdentifierCase(); +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MocksProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MocksProto.java new file mode 100644 index 000000000000..843bff268608 --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/MocksProto.java @@ -0,0 +1,106 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/ces/v1beta/mocks.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.ces.v1beta; + +@com.google.protobuf.Generated +public final class MocksProto extends com.google.protobuf.GeneratedFile { + private MocksProto() {} + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "MocksProto"); + } + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_ces_v1beta_MockedToolCall_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_ces_v1beta_MockedToolCall_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n" + + "#google/cloud/ces/v1beta/mocks.proto\022\027g" + + "oogle.cloud.ces.v1beta\032\037google/api/field" + + "_behavior.proto\032\031google/api/resource.pro" + + "to\032*google/cloud/ces/v1beta/toolset_tool.proto\032\034google/protobuf/struct.proto\"\270\002\n" + + "\016MockedToolCall\0222\n" + + "\007tool_id\030\004 \001(\tB\037\340A\001\372A\031\n" + + "\027ces.googleapis.com/ToolH\000\022<\n" + + "\007toolset\030\005" + + " \001(\0132$.google.cloud.ces.v1beta.ToolsetToolB\003\340A\001H\000\022/\n" + + "\004tool\030\001 \001(\tB!\030\001\340A\001\372A\031\n" + + "\027ces.googleapis.com/Tool\022;\n" + + "\025expected_args_pattern\030\002" + + " \001(\0132\027.google.protobuf.StructB\003\340A\002\0223\n\r" + + "mock_response\030\003 \001(\0132\027.google.protobuf.StructB\003\340A\001B\021\n" + + "\017tool_identifierBZ\n" + + "\033com.google.cloud.ces.v1betaB\n" + + "MocksProtoP\001Z-cloud.google.com/go/ces/apiv1beta/cespb;cespbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.ces.v1beta.ToolsetToolProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + }); + internal_static_google_cloud_ces_v1beta_MockedToolCall_descriptor = + getDescriptor().getMessageType(0); + internal_static_google_cloud_ces_v1beta_MockedToolCall_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_ces_v1beta_MockedToolCall_descriptor, + new java.lang.String[] { + "ToolId", "Toolset", "Tool", "ExpectedArgsPattern", "MockResponse", "ToolIdentifier", + }); + descriptor.resolveAllFeaturesImmutable(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.ces.v1beta.ToolsetToolProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionServiceProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionServiceProto.java index b1b74f36d304..efd40d05bca8 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionServiceProto.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/SessionServiceProto.java @@ -40,6 +40,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_ces_v1beta_MockConfig_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_ces_v1beta_MockConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_ces_v1beta_InputAudioConfig_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -139,24 +143,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/api/annotations.proto\032\027google/api/clien" + "t.proto\032\037google/api/field_behavior.proto" + "\032\031google/api/resource.proto\032$google/clou" - + "d/ces/v1beta/common.proto\032%google/cloud/ces/v1beta/example.proto\0320google/cloud/c" - + "es/v1beta/search_suggestions.proto\032\034google/protobuf/struct.proto\"\235\001\n" + + "d/ces/v1beta/common.proto\032%google/cloud/ces/v1beta/example.proto\032#google/cloud/c" + + "es/v1beta/mocks.proto\0320google/cloud/ces/" + + "v1beta/search_suggestions.proto\032\034google/protobuf/struct.proto\"\246\002\n\n" + + "MockConfig\022G\n" + + "\021mocked_tool_calls\030\001" + + " \003(\0132\'.google.cloud.ces.v1beta.MockedToolCallB\003\340A\001\022h\n" + + "\034unmatched_tool_call_behavior\030\002 \001(\0162=.google.clo" + + "ud.ces.v1beta.MockConfig.UnmatchedToolCallBehaviorB\003\340A\002\"e\n" + + "\031UnmatchedToolCallBehavior\022,\n" + + "(UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED\020\000\022\010\n" + + "\004FAIL\020\001\022\020\n" + + "\014PASS_THROUGH\020\002\"\235\001\n" + "\020InputAudioConfig\022C\n" - + "\016audio_encoding\030\001" - + " \001(\0162&.google.cloud.ces.v1beta.AudioEncodingB\003\340A\002\022\036\n" + + "\016audio_encoding\030\001 " + + "\001(\0162&.google.cloud.ces.v1beta.AudioEncodingB\003\340A\002\022\036\n" + "\021sample_rate_hertz\030\002 \001(\005B\003\340A\002\022$\n" + "\027noise_suppression_level\030\006 \001(\tB\003\340A\001\"x\n" + "\021OutputAudioConfig\022C\n" - + "\016audio_encoding\030\001" - + " \001(\0162&.google.cloud.ces.v1beta.AudioEncodingB\003\340A\002\022\036\n" + + "\016audio_encoding\030\001 " + + "\001(\0162&.google.cloud.ces.v1beta.AudioEncodingB\003\340A\002\022\036\n" + "\021sample_rate_hertz\030\002 \001(\005B\003\340A\002\"\201\007\n\r" + "SessionConfig\0223\n" + "\007session\030\001 \001(\tB\"\340A\002\372A\034\n" + "\032ces.googleapis.com/Session\022J\n" + "\022input_audio_config\030\002" + " \001(\0132).google.cloud.ces.v1beta.InputAudioConfigB\003\340A\001\022L\n" - + "\023output_audio_config\030\003 \001" - + "(\0132*.google.cloud.ces.v1beta.OutputAudioConfigB\003\340A\001\022B\n" + + "\023output_audio_config\030\003" + + " \001(\0132*.google.cloud.ces.v1beta.OutputAudioConfigB\003\340A\001\022B\n" + "\023historical_contexts\030\005 \003(\0132" + " .google.cloud.ces.v1beta.MessageB\003\340A\001\0225\n" + "\013entry_agent\030\014 \001(\tB \340A\001\372A\032\n" @@ -164,13 +178,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "deployment\030\010 \001(\tB\003\340A\001\022\026\n" + "\ttime_zone\030\013 \001(\tB\003\340A\001\022\033\n" + "\016use_tool_fakes\030\016 \001(\010B\003\340A\001\022w\n" - + "\"remote_dialogflow_query_parameters\030\017 \001(\0132F.google.cloud.ces.v1be" - + "ta.SessionConfig.RemoteDialogflowQueryParametersB\003\340A\001\022\"\n" + + "\"remote_dialogflow_query_parameters\030\017 \001(\0132F.google." + + "cloud.ces.v1beta.SessionConfig.RemoteDialogflowQueryParametersB\003\340A\001\022\"\n" + "\025enable_text_streaming\030\022 \001(\010B\003\340A\001\032\272\002\n" + "\037RemoteDialogflowQueryParameters\022x\n" - + "\017webhook_headers\030\001 \003(\0132Z.google." - + "cloud.ces.v1beta.SessionConfig.RemoteDia" - + "logflowQueryParameters.WebhookHeadersEntryB\003\340A\001\022-\n" + + "\017webhook_headers\030\001 \003(\0132Z.google.cloud.ces.v1beta.SessionCo" + + "nfig.RemoteDialogflowQueryParameters.WebhookHeadersEntryB\003\340A\001\022-\n" + "\007payload\030\002 \001(\0132\027.google.protobuf.StructB\003\340A\001\0227\n" + "\021end_user_metadata\030\003" + " \001(\0132\027.google.protobuf.StructB\003\340A\001\0325\n" @@ -180,11 +193,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tToolCalls\022:\n\n" + "tool_calls\030\001 \003(\0132!.google.cloud.ces.v1beta.ToolCallB\003\340A\001\"S\n\r" + "ToolResponses\022B\n" - + "\016tool_responses\030\001 \003(\013" - + "2%.google.cloud.ces.v1beta.ToolResponseB\003\340A\001\"\210\001\n" + + "\016tool_responses\030\001" + + " \003(\0132%.google.cloud.ces.v1beta.ToolResponseB\003\340A\001\"\210\001\n" + "\tCitations\022C\n" - + "\014cited_chunks\030\001 \003(\013" - + "2-.google.cloud.ces.v1beta.Citations.CitedChunk\0326\n\n" + + "\014cited_chunks\030\001" + + " \003(\0132-.google.cloud.ces.v1beta.Citations.CitedChunk\0326\n\n" + "CitedChunk\022\013\n" + "\003uri\030\001 \001(\t\022\r\n" + "\005title\030\002 \001(\t\022\014\n" @@ -195,8 +208,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004text\030\001 \001(\tB\003\340A\001H\000\022\023\n" + "\004dtmf\030\006 \001(\tB\003\340A\001H\000\022\024\n" + "\005audio\030\002 \001(\014B\003\340A\001H\000\022E\n" - + "\016tool_responses\030\003 \001(\0132&." - + "google.cloud.ces.v1beta.ToolResponsesB\003\340A\001H\000\0224\n" + + "\016tool_responses\030\003" + + " \001(\0132&.google.cloud.ces.v1beta.ToolResponsesB\003\340A\001H\000\0224\n" + "\005image\030\004" + " \001(\0132\036.google.cloud.ces.v1beta.ImageB\003\340A\001H\000\0222\n" + "\004blob\030\007 \001(\0132\035.google.cloud.ces.v1beta.BlobB\003\340A\001H\000\0221\n" @@ -216,8 +229,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007payload\030\013 \001(\0132\027.google.protobuf.StructH\000\022\022\n\n" + "turn_index\030\006 \001(\005\022\026\n" + "\016turn_completed\030\004 \001(\010\022S\n" - + "\017diagnostic_info\030\007 " - + "\001(\01325.google.cloud.ces.v1beta.SessionOutput.DiagnosticInfoB\003\340A\001\032v\n" + + "\017diagnostic_info\030\007" + + " \001(\01325.google.cloud.ces.v1beta.SessionOutput.DiagnosticInfoB\003\340A\001\032v\n" + "\016DiagnosticInfo\0222\n" + "\010messages\030\001 \003(\0132 .google.cloud.ces.v1beta.Message\0220\n" + "\troot_span\030\003 \001(\0132\035.google.cloud.ces.v1beta.SpanB\r\n" @@ -230,14 +243,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010metadata\030\001 \001(\0132\027.google.protobuf.StructB\003\340A\001\"\010\n" + "\006GoAway\"\214\001\n" + "\021RunSessionRequest\022;\n" - + "\006config\030\001 \001(\0132&.goo" - + "gle.cloud.ces.v1beta.SessionConfigB\003\340A\002\022:\n" + + "\006config\030\001" + + " \001(\0132&.google.cloud.ces.v1beta.SessionConfigB\003\340A\002\022:\n" + "\006inputs\030\003 \003(\0132%.google.cloud.ces.v1beta.SessionInputB\003\340A\002\"M\n" + "\022RunSessionResponse\0227\n" + "\007outputs\030\001 \003(\0132&.google.cloud.ces.v1beta.SessionOutput\"\257\001\n" + "\030BidiSessionClientMessage\022=\n" - + "\006config\030\001" - + " \001(\0132&.google.cloud.ces.v1beta.SessionConfigB\003\340A\001H\000\022D\n" + + "\006config\030\001 \001(\0132&." + + "google.cloud.ces.v1beta.SessionConfigB\003\340A\001H\000\022D\n" + "\016realtime_input\030\002" + " \001(\0132%.google.cloud.ces.v1beta.SessionInputB\003\340A\001H\000B\016\n" + "\014message_type\"\213\003\n" @@ -248,8 +261,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132*.google.cloud.ces.v1beta.RecognitionResultB\003\340A\001H\000\022O\n" + "\023interruption_signal\030\003" + " \001(\0132+.google.cloud.ces.v1beta.InterruptionSignalB\003\340A\001H\000\022?\n" - + "\013end_session\030\005 \001(\0132#." - + "google.cloud.ces.v1beta.EndSessionB\003\340A\001H\000\0227\n" + + "\013end_session\030\005" + + " \001(\0132#.google.cloud.ces.v1beta.EndSessionB\003\340A\001H\000\0227\n" + "\007go_away\030\006" + " \001(\0132\037.google.cloud.ces.v1beta.GoAwayB\003\340A\001H\000B\016\n" + "\014message_type*R\n\r" @@ -259,23 +272,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005MULAW\020\002\022\010\n" + "\004ALAW\020\0032\212\005\n" + "\016SessionService\022\276\001\n\n" - + "RunSession\022*.google.cloud.ces.v1beta.RunSessionRequest\032+.g" - + "oogle.cloud.ces.v1beta.RunSessionRespons" - + "e\"W\202\323\344\223\002Q\"L/v1beta/{config.session=proje" - + "cts/*/locations/*/apps/*/sessions/*}:runSession:\001*\022\314\001\n" - + "\020StreamRunSession\022*.google.cloud.ces.v1beta.RunSessionRequest\032+.go" - + "ogle.cloud.ces.v1beta.RunSessionResponse" - + "\"]\202\323\344\223\002W\"R/v1beta/{config.session=projec" - + "ts/*/locations/*/apps/*/sessions/*}:streamRunSession:\001*0\001\022|\n" - + "\016BidiRunSession\0221.google.cloud.ces.v1beta.BidiSessionClientM" - + "essage\0321.google.cloud.ces.v1beta.BidiSes" - + "sionServerMessage\"\000(\0010\001\032j\312A\022ces.googleap" - + "is.com\322ARhttps://www.googleapis.com/auth" - + "/ces,https://www.googleapis.com/auth/cloud-platformB\311\001\n" - + "\033com.google.cloud.ces.v1b" - + "etaB\023SessionServiceProtoP\001Z-cloud.google.com/go/ces/apiv1beta/cespb;cespb\352Ac\n" - + "\032ces.googleapis.com/Session\022Eprojects/{proj" - + "ect}/locations/{location}/apps/{app}/sessions/{session}b\006proto3" + + "RunSession\022*.google.cloud.ces.v1beta.RunSess" + + "ionRequest\032+.google.cloud.ces.v1beta.Run" + + "SessionResponse\"W\202\323\344\223\002Q\"L/v1beta/{config" + + ".session=projects/*/locations/*/apps/*/sessions/*}:runSession:\001*\022\314\001\n" + + "\020StreamRunSession\022*.google.cloud.ces.v1beta.RunSessi" + + "onRequest\032+.google.cloud.ces.v1beta.RunS" + + "essionResponse\"]\202\323\344\223\002W\"R/v1beta/{config." + + "session=projects/*/locations/*/apps/*/sessions/*}:streamRunSession:\001*0\001\022|\n" + + "\016BidiRunSession\0221.google.cloud.ces.v1beta.Bidi" + + "SessionClientMessage\0321.google.cloud.ces." + + "v1beta.BidiSessionServerMessage\"\000(\0010\001\032j\312" + + "A\022ces.googleapis.com\322ARhttps://www.googl" + + "eapis.com/auth/ces,https://www.googleapis.com/auth/cloud-platformB\311\001\n" + + "\033com.google.cloud.ces.v1betaB\023SessionServiceProtoP\001" + + "Z-cloud.google.com/go/ces/apiv1beta/cespb;cespb\352Ac\n" + + "\032ces.googleapis.com/Session\022Eprojects/{project}/locations/{location}/" + + "apps/{app}/sessions/{session}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -287,11 +300,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ResourceProto.getDescriptor(), com.google.cloud.ces.v1beta.CommonProto.getDescriptor(), com.google.cloud.ces.v1beta.ExampleProto.getDescriptor(), + com.google.cloud.ces.v1beta.MocksProto.getDescriptor(), com.google.cloud.ces.v1beta.SearchSuggestionsProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), }); - internal_static_google_cloud_ces_v1beta_InputAudioConfig_descriptor = + internal_static_google_cloud_ces_v1beta_MockConfig_descriptor = getDescriptor().getMessageType(0); + internal_static_google_cloud_ces_v1beta_MockConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_ces_v1beta_MockConfig_descriptor, + new java.lang.String[] { + "MockedToolCalls", "UnmatchedToolCallBehavior", + }); + internal_static_google_cloud_ces_v1beta_InputAudioConfig_descriptor = + getDescriptor().getMessageType(1); internal_static_google_cloud_ces_v1beta_InputAudioConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_InputAudioConfig_descriptor, @@ -299,7 +321,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AudioEncoding", "SampleRateHertz", "NoiseSuppressionLevel", }); internal_static_google_cloud_ces_v1beta_OutputAudioConfig_descriptor = - getDescriptor().getMessageType(1); + getDescriptor().getMessageType(2); internal_static_google_cloud_ces_v1beta_OutputAudioConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_OutputAudioConfig_descriptor, @@ -307,7 +329,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AudioEncoding", "SampleRateHertz", }); internal_static_google_cloud_ces_v1beta_SessionConfig_descriptor = - getDescriptor().getMessageType(2); + getDescriptor().getMessageType(3); internal_static_google_cloud_ces_v1beta_SessionConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_SessionConfig_descriptor, @@ -341,7 +363,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_ces_v1beta_ToolCalls_descriptor = - getDescriptor().getMessageType(3); + getDescriptor().getMessageType(4); internal_static_google_cloud_ces_v1beta_ToolCalls_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_ToolCalls_descriptor, @@ -349,7 +371,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ToolCalls", }); internal_static_google_cloud_ces_v1beta_ToolResponses_descriptor = - getDescriptor().getMessageType(4); + getDescriptor().getMessageType(5); internal_static_google_cloud_ces_v1beta_ToolResponses_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_ToolResponses_descriptor, @@ -357,7 +379,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ToolResponses", }); internal_static_google_cloud_ces_v1beta_Citations_descriptor = - getDescriptor().getMessageType(5); + getDescriptor().getMessageType(6); internal_static_google_cloud_ces_v1beta_Citations_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_Citations_descriptor, @@ -372,7 +394,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Uri", "Title", "Text", }); - internal_static_google_cloud_ces_v1beta_Event_descriptor = getDescriptor().getMessageType(6); + internal_static_google_cloud_ces_v1beta_Event_descriptor = getDescriptor().getMessageType(7); internal_static_google_cloud_ces_v1beta_Event_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_Event_descriptor, @@ -380,7 +402,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Event", }); internal_static_google_cloud_ces_v1beta_SessionInput_descriptor = - getDescriptor().getMessageType(7); + getDescriptor().getMessageType(8); internal_static_google_cloud_ces_v1beta_SessionInput_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_SessionInput_descriptor, @@ -397,7 +419,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InputType", }); internal_static_google_cloud_ces_v1beta_SessionOutput_descriptor = - getDescriptor().getMessageType(8); + getDescriptor().getMessageType(9); internal_static_google_cloud_ces_v1beta_SessionOutput_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_SessionOutput_descriptor, @@ -423,7 +445,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Messages", "RootSpan", }); internal_static_google_cloud_ces_v1beta_RecognitionResult_descriptor = - getDescriptor().getMessageType(9); + getDescriptor().getMessageType(10); internal_static_google_cloud_ces_v1beta_RecognitionResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_RecognitionResult_descriptor, @@ -431,7 +453,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Transcript", }); internal_static_google_cloud_ces_v1beta_InterruptionSignal_descriptor = - getDescriptor().getMessageType(10); + getDescriptor().getMessageType(11); internal_static_google_cloud_ces_v1beta_InterruptionSignal_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_InterruptionSignal_descriptor, @@ -439,19 +461,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BargeIn", }); internal_static_google_cloud_ces_v1beta_EndSession_descriptor = - getDescriptor().getMessageType(11); + getDescriptor().getMessageType(12); internal_static_google_cloud_ces_v1beta_EndSession_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_EndSession_descriptor, new java.lang.String[] { "Metadata", }); - internal_static_google_cloud_ces_v1beta_GoAway_descriptor = getDescriptor().getMessageType(12); + internal_static_google_cloud_ces_v1beta_GoAway_descriptor = getDescriptor().getMessageType(13); internal_static_google_cloud_ces_v1beta_GoAway_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_GoAway_descriptor, new java.lang.String[] {}); internal_static_google_cloud_ces_v1beta_RunSessionRequest_descriptor = - getDescriptor().getMessageType(13); + getDescriptor().getMessageType(14); internal_static_google_cloud_ces_v1beta_RunSessionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_RunSessionRequest_descriptor, @@ -459,7 +481,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Config", "Inputs", }); internal_static_google_cloud_ces_v1beta_RunSessionResponse_descriptor = - getDescriptor().getMessageType(14); + getDescriptor().getMessageType(15); internal_static_google_cloud_ces_v1beta_RunSessionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_RunSessionResponse_descriptor, @@ -467,7 +489,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Outputs", }); internal_static_google_cloud_ces_v1beta_BidiSessionClientMessage_descriptor = - getDescriptor().getMessageType(15); + getDescriptor().getMessageType(16); internal_static_google_cloud_ces_v1beta_BidiSessionClientMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_BidiSessionClientMessage_descriptor, @@ -475,7 +497,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Config", "RealtimeInput", "MessageType", }); internal_static_google_cloud_ces_v1beta_BidiSessionServerMessage_descriptor = - getDescriptor().getMessageType(16); + getDescriptor().getMessageType(17); internal_static_google_cloud_ces_v1beta_BidiSessionServerMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_ces_v1beta_BidiSessionServerMessage_descriptor, @@ -494,6 +516,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ResourceProto.getDescriptor(); com.google.cloud.ces.v1beta.CommonProto.getDescriptor(); com.google.cloud.ces.v1beta.ExampleProto.getDescriptor(); + com.google.cloud.ces.v1beta.MocksProto.getDescriptor(); com.google.cloud.ces.v1beta.SearchSuggestionsProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.ExtensionRegistry registry = diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ToolServiceProto.java b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ToolServiceProto.java index f891d5963d69..911a514f4c12 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ToolServiceProto.java +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/java/com/google/cloud/ces/v1beta/ToolServiceProto.java @@ -73,71 +73,70 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { - "\n" - + "*google/cloud/ces/v1beta/tool_service.p" + "\n*google/cloud/ces/v1beta/tool_service.p" + "roto\022\027google.cloud.ces.v1beta\032\034google/ap" + "i/annotations.proto\032\027google/api/client.p" + "roto\032\037google/api/field_behavior.proto\032\031g" + "oogle/api/resource.proto\032$google/cloud/c" - + "es/v1beta/schema.proto\032\"google/cloud/ces" - + "/v1beta/tool.proto\032*google/cloud/ces/v1b" - + "eta/toolset_tool.proto\032\034google/protobuf/struct.proto\"\365\002\n" - + "\022ExecuteToolRequest\022/\n" - + "\004tool\030\001 \001(\tB\037\340A\001\372A\031\n" - + "\027ces.googleapis.com/ToolH\000\022A\n" - + "\014toolset_tool\030\003" - + " \001(\0132$.google.cloud.ces.v1beta.ToolsetToolB\003\340A\001H\000\0221\n" - + "\tvariables\030\005 \001(\0132\027.google.protobuf.StructB\003\340A\001H\001\022/\n" - + "\007context\030\006 \001(\0132\027.google.protobuf.StructB\003\340A\001H\001\022.\n" - + "\006parent\030\004 \001(\tB\036\340A\002\372A\030\n" - + "\026ces.googleapis.com/App\022*\n" - + "\004args\030\002 \001(\0132\027.google.protobuf.StructB\003\340A\001B\021\n" - + "\017tool_identifierB\030\n" - + "\026tool_execution_context\"\353\001\n" - + "\023ExecuteToolResponse\022,\n" - + "\004tool\030\001 \001(\tB\034\372A\031\n" - + "\027ces.googleapis.com/ToolH\000\022<\n" - + "\014toolset_tool\030\003 \001(\0132$.google.cloud.ces.v1beta.ToolsetToolH\000\022)\n" - + "\010response\030\002 \001(\0132\027.google.protobuf.Struct\022*\n" - + "\tvariables\030\004 \001(\0132\027.google.protobuf.StructB\021\n" - + "\017tool_identifier\"\322\001\n" - + "\031RetrieveToolSchemaRequest\022/\n" - + "\004tool\030\001 \001(\tB\037\340A\001\372A\031\n" - + "\027ces.googleapis.com/ToolH\000\022A\n" - + "\014toolset_tool\030\002" - + " \001(\0132$.google.cloud.ces.v1beta.ToolsetToolB\003\340A\001H\000\022.\n" - + "\006parent\030\003 \001(\tB\036\340A\002\372A\030\n" - + "\026ces.googleapis.com/AppB\021\n" - + "\017tool_identifier\"\212\002\n" - + "\032RetrieveToolSchemaResponse\022,\n" - + "\004tool\030\001 \001(\tB\034\372A\031\n" - + "\027ces.googleapis.com/ToolH\000\022<\n" - + "\014toolset_tool\030\002 \001(\0132$.google.cloud.ces.v1beta.ToolsetToolH\000\0225\n" - + "\014input_schema\030\003 \001(\0132\037.google.cloud.ces.v1beta.Schema\0226\n\r" - + "output_schema\030\004 \001(\0132\037.google.cloud.ces.v1beta.SchemaB\021\n" - + "\017tool_identifier\"b\n" - + "\024RetrieveToolsRequest\0223\n" - + "\007toolset\030\001 \001(\tB\"\340A\002\372A\034\n" - + "\032ces.googleapis.com/Toolset\022\025\n" - + "\010tool_ids\030\003 \003(\tB\003\340A\001\"E\n" - + "\025RetrieveToolsResponse\022,\n" - + "\005tools\030\001 \003(\0132\035.google.cloud.ces.v1beta.Tool2\277\005\n" - + "\013ToolService\022\257\001\n" - + "\013ExecuteTool\022+.google.cloud.ces.v1beta.ExecuteToolRequest\032,.g" - + "oogle.cloud.ces.v1beta.ExecuteToolRespon" - + "se\"E\202\323\344\223\002?\":/v1beta/{parent=projects/*/locations/*/apps/*}:executeTool:\001*\022\313\001\n" - + "\022RetrieveToolSchema\0222.google.cloud.ces.v1be" - + "ta.RetrieveToolSchemaRequest\0323.google.cloud.ces.v1beta.RetrieveToolSchemaRespons" - + "e\"L\202\323\344\223\002F\"A/v1beta/{parent=projects/*/lo" - + "cations/*/apps/*}:retrieveToolSchema:\001*\022\303\001\n\r" - + "RetrieveTools\022-.google.cloud.ces.v1beta.RetrieveToolsRequest\032..google.cloud." - + "ces.v1beta.RetrieveToolsResponse\"S\202\323\344\223\002M" - + "\"H/v1beta/{toolset=projects/*/locations/" - + "*/apps/*/toolsets/*}:retrieveTools:\001*\032j\312" - + "A\022ces.googleapis.com\322ARhttps://www.googl" - + "eapis.com/auth/ces,https://www.googleapis.com/auth/cloud-platformB`\n" - + "\033com.google.cloud.ces.v1betaB\020ToolServiceProtoP\001Z-cl" - + "oud.google.com/go/ces/apiv1beta/cespb;cespbb\006proto3" + + "es/v1beta/schema.proto\032-google/cloud/ces" + + "/v1beta/session_service.proto\032\"google/cl" + + "oud/ces/v1beta/tool.proto\032*google/cloud/" + + "ces/v1beta/toolset_tool.proto\032\034google/pr" + + "otobuf/struct.proto\"\264\003\n\022ExecuteToolReque" + + "st\022/\n\004tool\030\001 \001(\tB\037\340A\001\372A\031\n\027ces.googleapis" + + ".com/ToolH\000\022A\n\014toolset_tool\030\003 \001(\0132$.goog" + + "le.cloud.ces.v1beta.ToolsetToolB\003\340A\001H\000\0221" + + "\n\tvariables\030\005 \001(\0132\027.google.protobuf.Stru" + + "ctB\003\340A\001H\001\022/\n\007context\030\006 \001(\0132\027.google.prot" + + "obuf.StructB\003\340A\001H\001\022.\n\006parent\030\004 \001(\tB\036\340A\002\372" + + "A\030\n\026ces.googleapis.com/App\022*\n\004args\030\002 \001(\013" + + "2\027.google.protobuf.StructB\003\340A\001\022=\n\013mock_c" + + "onfig\030\007 \001(\0132#.google.cloud.ces.v1beta.Mo" + + "ckConfigB\003\340A\001B\021\n\017tool_identifierB\030\n\026tool" + + "_execution_context\"\353\001\n\023ExecuteToolRespon" + + "se\022,\n\004tool\030\001 \001(\tB\034\372A\031\n\027ces.googleapis.co" + + "m/ToolH\000\022<\n\014toolset_tool\030\003 \001(\0132$.google." + + "cloud.ces.v1beta.ToolsetToolH\000\022)\n\010respon" + + "se\030\002 \001(\0132\027.google.protobuf.Struct\022*\n\tvar" + + "iables\030\004 \001(\0132\027.google.protobuf.StructB\021\n" + + "\017tool_identifier\"\322\001\n\031RetrieveToolSchemaR" + + "equest\022/\n\004tool\030\001 \001(\tB\037\340A\001\372A\031\n\027ces.google" + + "apis.com/ToolH\000\022A\n\014toolset_tool\030\002 \001(\0132$." + + "google.cloud.ces.v1beta.ToolsetToolB\003\340A\001" + + "H\000\022.\n\006parent\030\003 \001(\tB\036\340A\002\372A\030\n\026ces.googleap" + + "is.com/AppB\021\n\017tool_identifier\"\212\002\n\032Retrie" + + "veToolSchemaResponse\022,\n\004tool\030\001 \001(\tB\034\372A\031\n" + + "\027ces.googleapis.com/ToolH\000\022<\n\014toolset_to" + + "ol\030\002 \001(\0132$.google.cloud.ces.v1beta.Tools" + + "etToolH\000\0225\n\014input_schema\030\003 \001(\0132\037.google." + + "cloud.ces.v1beta.Schema\0226\n\routput_schema" + + "\030\004 \001(\0132\037.google.cloud.ces.v1beta.SchemaB" + + "\021\n\017tool_identifier\"b\n\024RetrieveToolsReque" + + "st\0223\n\007toolset\030\001 \001(\tB\"\340A\002\372A\034\n\032ces.googlea" + + "pis.com/Toolset\022\025\n\010tool_ids\030\003 \003(\tB\003\340A\001\"E" + + "\n\025RetrieveToolsResponse\022,\n\005tools\030\001 \003(\0132\035" + + ".google.cloud.ces.v1beta.Tool2\277\005\n\013ToolSe" + + "rvice\022\257\001\n\013ExecuteTool\022+.google.cloud.ces" + + ".v1beta.ExecuteToolRequest\032,.google.clou" + + "d.ces.v1beta.ExecuteToolResponse\"E\202\323\344\223\002?" + + "\":/v1beta/{parent=projects/*/locations/*" + + "/apps/*}:executeTool:\001*\022\313\001\n\022RetrieveTool" + + "Schema\0222.google.cloud.ces.v1beta.Retriev" + + "eToolSchemaRequest\0323.google.cloud.ces.v1" + + "beta.RetrieveToolSchemaResponse\"L\202\323\344\223\002F\"" + + "A/v1beta/{parent=projects/*/locations/*/" + + "apps/*}:retrieveToolSchema:\001*\022\303\001\n\rRetrie" + + "veTools\022-.google.cloud.ces.v1beta.Retrie" + + "veToolsRequest\032..google.cloud.ces.v1beta" + + ".RetrieveToolsResponse\"S\202\323\344\223\002M\"H/v1beta/" + + "{toolset=projects/*/locations/*/apps/*/t" + + "oolsets/*}:retrieveTools:\001*\032j\312A\022ces.goog" + + "leapis.com\322ARhttps://www.googleapis.com/" + + "auth/ces,https://www.googleapis.com/auth" + + "/cloud-platformB`\n\033com.google.cloud.ces." + + "v1betaB\020ToolServiceProtoP\001Z-cloud.google" + + ".com/go/ces/apiv1beta/cespb;cespbb\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -148,6 +147,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.ces.v1beta.SchemaProto.getDescriptor(), + com.google.cloud.ces.v1beta.SessionServiceProto.getDescriptor(), com.google.cloud.ces.v1beta.ToolProto.getDescriptor(), com.google.cloud.ces.v1beta.ToolsetToolProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), @@ -164,6 +164,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Context", "Parent", "Args", + "MockConfig", "ToolIdentifier", "ToolExecutionContext", }); @@ -213,6 +214,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.ces.v1beta.SchemaProto.getDescriptor(); + com.google.cloud.ces.v1beta.SessionServiceProto.getDescriptor(); com.google.cloud.ces.v1beta.ToolProto.getDescriptor(); com.google.cloud.ces.v1beta.ToolsetToolProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/app.proto b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/app.proto index 7ac3059788d9..8d32f2f4d894 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/app.proto +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/app.proto @@ -424,6 +424,32 @@ message LoggingSettings { // Settings to describe how errors should be handled in the app. message ErrorHandlingSettings { + // Configuration for handling fallback responses. + message FallbackResponseConfig { + // Optional. The fallback messages in case of system errors (e.g. LLM + // errors), mapped by [supported language + // code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language). + map custom_fallback_messages = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The maximum number of fallback attempts to make before the + // agent emitting [EndSession][google.cloud.ces.v1beta.EndSession] Signal. + int32 max_fallback_attempts = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + // Configuration for ending the session in case of system errors (e.g. LLM + // errors). + message EndSessionConfig { + // Optional. Whether to escalate the session in + // [EndSession][google.cloud.ces.v1beta.EndSession]. If session is + // escalated, [metadata in + // EndSession][google.cloud.ces.v1beta.EndSession.metadata] will contain + // `session_escalated = true`. See + // https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent + // for details. + optional bool escalate_session = 1 [(google.api.field_behavior) = OPTIONAL]; + } + // Defines the strategy for handling errors. enum ErrorHandlingStrategy { // Unspecified error handling strategy. @@ -444,6 +470,15 @@ message ErrorHandlingSettings { // Optional. The strategy to use for error handling. ErrorHandlingStrategy error_handling_strategy = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration for handling fallback responses. + FallbackResponseConfig fallback_response_config = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration for ending the session in case of system errors + // (e.g. LLM errors). + EndSessionConfig end_session_config = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Threshold settings for metrics in an Evaluation. @@ -618,6 +653,11 @@ message ConversationLoggingSettings { // Optional. Whether to disable conversation logging for the sessions. bool disable_conversation_logging = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Controls the retention window for the conversation. + // If not set, the conversation will be retained for 365 days. + google.protobuf.Duration retention_window = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Settings to describe the Cloud Logging behaviors for the app. diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/evaluation.proto b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/evaluation.proto index aacb4fd09310..1ec191d70e4c 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/evaluation.proto +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/evaluation.proto @@ -919,6 +919,9 @@ message EvaluationResult { // Evaluation/Expectation failed. In the case of an evaluation, this means // that at least one expectation was not met. FAIL = 2; + + // Evaluation/Expectation was skipped. + SKIPPED = 3; } // The state of the evaluation result execution. diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/evaluation_service.proto b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/evaluation_service.proto index 9e61271d789b..fc676c7010a9 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/evaluation_service.proto +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/evaluation_service.proto @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/ces/v1beta/agent_service.proto"; import "google/cloud/ces/v1beta/conversation.proto"; import "google/cloud/ces/v1beta/evaluation.proto"; import "google/longrunning/operations.proto"; @@ -354,6 +355,20 @@ service EvaluationService { }; option (google.api.method_signature) = "app"; } + + // Exports evaluations. + rpc ExportEvaluations(ExportEvaluationsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta/{parent=projects/*/locations/*/apps/*}/evaluations:export" + body: "*" + }; + option (google.api.method_signature) = "parent"; + option (google.longrunning.operation_info) = { + response_type: "ExportEvaluationsResponse" + metadata_type: "OperationMetadata" + }; + } } // Response message for @@ -521,12 +536,27 @@ message ImportEvaluationsResponse { // The list of evaluations that were imported into the app. repeated Evaluation evaluations = 1; + // The list of evaluation results that were imported into the app. + repeated EvaluationResult evaluation_results = 4; + + // The list of evaluation runs that were imported into the app. + repeated EvaluationRun evaluation_runs = 5; + // Optional. A list of error messages associated with evaluations that failed // to be imported. repeated string error_messages = 2 [(google.api.field_behavior) = OPTIONAL]; - // The number of evaluations that were not imported due to errors. + // The number of evaluations that either failed to import entirely or + // completed import with one or more errors. int32 import_failure_count = 3; + + // The number of evaluation results that either failed to import entirely or + // completed import with one or more errors. + int32 evaluation_result_import_failure_count = 6; + + // The number of evaluation runs that either failed to import entirely or + // completed import with one or more errors. + int32 evaluation_run_import_failure_count = 7; } // Represents the metadata of the long-running operation for @@ -1195,3 +1225,107 @@ message ListEvaluationExpectationsResponse { // subsequent pages. string next_page_token = 2; } + +// Options for exporting CES evaluation resources. +message ExportOptions { + // The format to export the items in. Defaults to JSON if not + // specified. + enum ExportFormat { + // Unspecified format. + EXPORT_FORMAT_UNSPECIFIED = 0; + + // JSON format. + JSON = 1; + + // YAML format. + YAML = 2; + } + + // Optional. The format to export the evaluation results in. Defaults to JSON + // if not specified. + ExportFormat export_format = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The Google Cloud Storage URI to write the exported Evaluation + // Results to. + string gcs_uri = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [EvaluationService.ExportEvaluations][google.cloud.ces.v1beta.EvaluationService.ExportEvaluations]. +message ExportEvaluationsRequest { + // Required. The resource name of the app to export evaluations from. + // Format: `projects/{project}/locations/{location}/apps/{app}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "ces.googleapis.com/App" } + ]; + + // Required. The resource names of the evaluations to export. + repeated string names = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "ces.googleapis.com/Evaluation" } + ]; + + // Optional. The export options for the evaluations. + ExportOptions export_options = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Includes evaluation results in the export. At least one of + // include_evaluation_results or include_evaluations must be set. + bool include_evaluation_results = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Includes evaluations in the export. At least one of + // include_evaluation_results or include_evaluations must be set. + bool include_evaluations = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [EvaluationService.ExportEvaluations][google.cloud.ces.v1beta.EvaluationService.ExportEvaluations]. +message ExportEvaluationsResponse { + // The exported evaluations. + oneof evaluations { + // The content of the exported Evaluations. This will be populated if + // gcs_uri was not specified in the request. + bytes evaluations_content = 1; + + // The Google Cloud Storage URI folder where the exported evaluations were + // written. This will be populated if gcs_uri was specified in the request. + string evaluations_uri = 2; + } + + // Output only. A map of evaluation resource names that could not be exported, + // to the reason why they failed. + map failed_evaluations = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Response message for +// [EvaluationService.ExportEvaluationResults][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationResults]. +message ExportEvaluationResultsResponse { + // The exported evaluation results. + oneof evaluation_results { + // The content of the exported Evaluation Results. This will be populated if + // gcs_uri was not specified in the request. + bytes evaluation_results_content = 1; + + // The Google Cloud Storage URI folder where the exported Evaluation Results + // were written. This will be populated if gcs_uri was specified in the + // request. + string evaluation_results_uri = 2; + } +} + +// Response message for +// [EvaluationService.ExportEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationRuns]. +message ExportEvaluationRunsResponse { + // The exported evaluation runs. + oneof evaluation_runs { + // The content of the exported Evaluation Runs. This will be populated if + // gcs_uri was not specified in the request. + bytes evaluation_runs_content = 1; + + // The Google Cloud Storage URI folder where the exported Evaluation Runs + // were written. This will be populated if gcs_uri was specified in the + // request. + string evaluation_runs_uri = 2; + } +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/mocks.proto b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/mocks.proto new file mode 100644 index 000000000000..7dafb78e95a9 --- /dev/null +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/mocks.proto @@ -0,0 +1,65 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.cloud.ces.v1beta; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/cloud/ces/v1beta/toolset_tool.proto"; +import "google/protobuf/struct.proto"; + +option go_package = "cloud.google.com/go/ces/apiv1beta/cespb;cespb"; +option java_multiple_files = true; +option java_outer_classname = "MocksProto"; +option java_package = "com.google.cloud.ces.v1beta"; + +// A mocked tool call. +// +// Expresses the target tool + a pattern to match against that tool's +// args / inputs. If the pattern matches, then the mock response will be +// returned. +message MockedToolCall { + // The identifier of the tool to mock. + oneof tool_identifier { + // Optional. The name of the tool to mock. + // Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` + string tool_id = 4 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { type: "ces.googleapis.com/Tool" } + ]; + + // Optional. The toolset to mock. + ToolsetTool toolset = 5 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. Deprecated. Use tool_identifier instead. + string tool = 1 [ + deprecated = true, + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { type: "ces.googleapis.com/Tool" } + ]; + + // Required. A pattern to match against the args / inputs of all dispatched + // tool calls. If the tool call inputs match this pattern, then mock output + // will be returned. + google.protobuf.Struct expected_args_pattern = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. The mock response / output to return if the tool call args / + // inputs match the pattern. + google.protobuf.Struct mock_response = 3 + [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/session_service.proto b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/session_service.proto index 59f00fc67d56..b8f893fdce82 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/session_service.proto +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/session_service.proto @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/ces/v1beta/common.proto"; import "google/cloud/ces/v1beta/example.proto"; +import "google/cloud/ces/v1beta/mocks.proto"; import "google/cloud/ces/v1beta/search_suggestions.proto"; import "google/protobuf/struct.proto"; @@ -148,6 +149,31 @@ enum AudioEncoding { ALAW = 3; } +// Mock tool calls configuration for the session. +message MockConfig { + // What to do when a tool call doesn't match any mocked tool calls. + enum UnmatchedToolCallBehavior { + // Default value. This value is unused. + UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED = 0; + + // Throw an error for any tool calls that don't match a mock expected input + // pattern. + FAIL = 1; + + // For unmatched tool calls, pass the tool call through to real tool. + PASS_THROUGH = 2; + } + + // Optional. All tool calls to mock for the duration of the session. + repeated MockedToolCall mocked_tool_calls = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Required. Beavhior for tool calls that don't match any args patterns in + // mocked_tool_calls. + UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // InputAudioConfig configures how the CES agent should interpret the incoming // audio data. message InputAudioConfig { diff --git a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/tool_service.proto b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/tool_service.proto index deb16b4bc4c0..6a6ba4758a91 100644 --- a/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/tool_service.proto +++ b/java-ces/proto-google-cloud-ces-v1beta/src/main/proto/google/cloud/ces/v1beta/tool_service.proto @@ -21,6 +21,7 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/ces/v1beta/schema.proto"; +import "google/cloud/ces/v1beta/session_service.proto"; import "google/cloud/ces/v1beta/tool.proto"; import "google/cloud/ces/v1beta/toolset_tool.proto"; import "google/protobuf/struct.proto"; @@ -105,6 +106,11 @@ message ExecuteToolRequest { // Optional. The input parameters and values for the tool in JSON object // format. google.protobuf.Struct args = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Mock configuration for the tool execution. + // If this field is set, tools that call other tools will be + // mocked based on the provided patterns and responses. + MockConfig mock_config = 7 [(google.api.field_behavior) = OPTIONAL]; } // Response message for diff --git a/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/AsyncExportEvaluations.java b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/AsyncExportEvaluations.java new file mode 100644 index 000000000000..a27f787a7ebc --- /dev/null +++ b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/AsyncExportEvaluations.java @@ -0,0 +1,56 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.ces.v1beta.samples; + +// [START ces_v1beta_generated_EvaluationService_ExportEvaluations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.ces.v1beta.AppName; +import com.google.cloud.ces.v1beta.EvaluationServiceClient; +import com.google.cloud.ces.v1beta.ExportEvaluationsRequest; +import com.google.cloud.ces.v1beta.ExportOptions; +import com.google.longrunning.Operation; +import java.util.ArrayList; + +public class AsyncExportEvaluations { + + public static void main(String[] args) throws Exception { + asyncExportEvaluations(); + } + + public static void asyncExportEvaluations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EvaluationServiceClient evaluationServiceClient = EvaluationServiceClient.create()) { + ExportEvaluationsRequest request = + ExportEvaluationsRequest.newBuilder() + .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) + .addAllNames(new ArrayList()) + .setExportOptions(ExportOptions.newBuilder().build()) + .setIncludeEvaluationResults(true) + .setIncludeEvaluations(true) + .build(); + ApiFuture future = + evaluationServiceClient.exportEvaluationsCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END ces_v1beta_generated_EvaluationService_ExportEvaluations_async] diff --git a/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/AsyncExportEvaluationsLRO.java b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/AsyncExportEvaluationsLRO.java new file mode 100644 index 000000000000..2cee87512dfc --- /dev/null +++ b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/AsyncExportEvaluationsLRO.java @@ -0,0 +1,57 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.ces.v1beta.samples; + +// [START ces_v1beta_generated_EvaluationService_ExportEvaluations_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.ces.v1beta.AppName; +import com.google.cloud.ces.v1beta.EvaluationServiceClient; +import com.google.cloud.ces.v1beta.ExportEvaluationsRequest; +import com.google.cloud.ces.v1beta.ExportEvaluationsResponse; +import com.google.cloud.ces.v1beta.ExportOptions; +import com.google.cloud.ces.v1beta.OperationMetadata; +import java.util.ArrayList; + +public class AsyncExportEvaluationsLRO { + + public static void main(String[] args) throws Exception { + asyncExportEvaluationsLRO(); + } + + public static void asyncExportEvaluationsLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EvaluationServiceClient evaluationServiceClient = EvaluationServiceClient.create()) { + ExportEvaluationsRequest request = + ExportEvaluationsRequest.newBuilder() + .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) + .addAllNames(new ArrayList()) + .setExportOptions(ExportOptions.newBuilder().build()) + .setIncludeEvaluationResults(true) + .setIncludeEvaluations(true) + .build(); + OperationFuture future = + evaluationServiceClient.exportEvaluationsOperationCallable().futureCall(request); + // Do something. + ExportEvaluationsResponse response = future.get(); + } + } +} +// [END ces_v1beta_generated_EvaluationService_ExportEvaluations_LRO_async] diff --git a/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluations.java b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluations.java new file mode 100644 index 000000000000..280f512e566f --- /dev/null +++ b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluations.java @@ -0,0 +1,53 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.ces.v1beta.samples; + +// [START ces_v1beta_generated_EvaluationService_ExportEvaluations_sync] +import com.google.cloud.ces.v1beta.AppName; +import com.google.cloud.ces.v1beta.EvaluationServiceClient; +import com.google.cloud.ces.v1beta.ExportEvaluationsRequest; +import com.google.cloud.ces.v1beta.ExportEvaluationsResponse; +import com.google.cloud.ces.v1beta.ExportOptions; +import java.util.ArrayList; + +public class SyncExportEvaluations { + + public static void main(String[] args) throws Exception { + syncExportEvaluations(); + } + + public static void syncExportEvaluations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EvaluationServiceClient evaluationServiceClient = EvaluationServiceClient.create()) { + ExportEvaluationsRequest request = + ExportEvaluationsRequest.newBuilder() + .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) + .addAllNames(new ArrayList()) + .setExportOptions(ExportOptions.newBuilder().build()) + .setIncludeEvaluationResults(true) + .setIncludeEvaluations(true) + .build(); + ExportEvaluationsResponse response = + evaluationServiceClient.exportEvaluationsAsync(request).get(); + } + } +} +// [END ces_v1beta_generated_EvaluationService_ExportEvaluations_sync] diff --git a/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluationsAppname.java b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluationsAppname.java new file mode 100644 index 000000000000..aa0ae7537687 --- /dev/null +++ b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluationsAppname.java @@ -0,0 +1,43 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.ces.v1beta.samples; + +// [START ces_v1beta_generated_EvaluationService_ExportEvaluations_Appname_sync] +import com.google.cloud.ces.v1beta.AppName; +import com.google.cloud.ces.v1beta.EvaluationServiceClient; +import com.google.cloud.ces.v1beta.ExportEvaluationsResponse; + +public class SyncExportEvaluationsAppname { + + public static void main(String[] args) throws Exception { + syncExportEvaluationsAppname(); + } + + public static void syncExportEvaluationsAppname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EvaluationServiceClient evaluationServiceClient = EvaluationServiceClient.create()) { + AppName parent = AppName.of("[PROJECT]", "[LOCATION]", "[APP]"); + ExportEvaluationsResponse response = + evaluationServiceClient.exportEvaluationsAsync(parent).get(); + } + } +} +// [END ces_v1beta_generated_EvaluationService_ExportEvaluations_Appname_sync] diff --git a/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluationsString.java b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluationsString.java new file mode 100644 index 000000000000..cc01e7a50624 --- /dev/null +++ b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/evaluationservice/exportevaluations/SyncExportEvaluationsString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.ces.v1beta.samples; + +// [START ces_v1beta_generated_EvaluationService_ExportEvaluations_String_sync] +import com.google.cloud.ces.v1beta.AppName; +import com.google.cloud.ces.v1beta.EvaluationServiceClient; +import com.google.cloud.ces.v1beta.ExportEvaluationsResponse; + +public class SyncExportEvaluationsString { + + public static void main(String[] args) throws Exception { + syncExportEvaluationsString(); + } + + public static void syncExportEvaluationsString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EvaluationServiceClient evaluationServiceClient = EvaluationServiceClient.create()) { + String parent = AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString(); + ExportEvaluationsResponse response = + evaluationServiceClient.exportEvaluationsAsync(parent).get(); + } + } +} +// [END ces_v1beta_generated_EvaluationService_ExportEvaluations_String_sync] diff --git a/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/toolservice/executetool/AsyncExecuteTool.java b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/toolservice/executetool/AsyncExecuteTool.java index 03c83d6d3a56..8956968f1e36 100644 --- a/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/toolservice/executetool/AsyncExecuteTool.java +++ b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/toolservice/executetool/AsyncExecuteTool.java @@ -21,6 +21,7 @@ import com.google.cloud.ces.v1beta.AppName; import com.google.cloud.ces.v1beta.ExecuteToolRequest; import com.google.cloud.ces.v1beta.ExecuteToolResponse; +import com.google.cloud.ces.v1beta.MockConfig; import com.google.cloud.ces.v1beta.ToolServiceClient; import com.google.protobuf.Struct; @@ -41,6 +42,7 @@ public static void asyncExecuteTool() throws Exception { ExecuteToolRequest.newBuilder() .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) .setArgs(Struct.newBuilder().build()) + .setMockConfig(MockConfig.newBuilder().build()) .build(); ApiFuture future = toolServiceClient.executeToolCallable().futureCall(request); diff --git a/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/toolservice/executetool/SyncExecuteTool.java b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/toolservice/executetool/SyncExecuteTool.java index a04abcc0a5f0..c92f063794f4 100644 --- a/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/toolservice/executetool/SyncExecuteTool.java +++ b/java-ces/samples/snippets/generated/com/google/cloud/ces/v1beta/toolservice/executetool/SyncExecuteTool.java @@ -20,6 +20,7 @@ import com.google.cloud.ces.v1beta.AppName; import com.google.cloud.ces.v1beta.ExecuteToolRequest; import com.google.cloud.ces.v1beta.ExecuteToolResponse; +import com.google.cloud.ces.v1beta.MockConfig; import com.google.cloud.ces.v1beta.ToolServiceClient; import com.google.protobuf.Struct; @@ -40,6 +41,7 @@ public static void syncExecuteTool() throws Exception { ExecuteToolRequest.newBuilder() .setParent(AppName.of("[PROJECT]", "[LOCATION]", "[APP]").toString()) .setArgs(Struct.newBuilder().build()) + .setMockConfig(MockConfig.newBuilder().build()) .build(); ExecuteToolResponse response = toolServiceClient.executeTool(request); } diff --git a/java-channel/README.md b/java-channel/README.md index 913268f92071..cbb932557afb 100644 --- a/java-channel/README.md +++ b/java-channel/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-chat/README.md b/java-chat/README.md index bd8ddb7cf7c8..d93ab91a7ad0 100644 --- a/java-chat/README.md +++ b/java-chat/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-chronicle/README.md b/java-chronicle/README.md index f99becb50d75..127408863414 100644 --- a/java-chronicle/README.md +++ b/java-chronicle/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-cloudapiregistry/README.md b/java-cloudapiregistry/README.md index 6d6b2f6c3412..6a4430671f04 100644 --- a/java-cloudapiregistry/README.md +++ b/java-cloudapiregistry/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-cloudbuild/README.md b/java-cloudbuild/README.md index ea83eb23398f..4ea36052571d 100644 --- a/java-cloudbuild/README.md +++ b/java-cloudbuild/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-cloudcommerceconsumerprocurement/README.md b/java-cloudcommerceconsumerprocurement/README.md index 05f539000aec..36280f78bca6 100644 --- a/java-cloudcommerceconsumerprocurement/README.md +++ b/java-cloudcommerceconsumerprocurement/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-cloudcontrolspartner/README.md b/java-cloudcontrolspartner/README.md index d7669b8a16aa..b4a7e15bc66d 100644 --- a/java-cloudcontrolspartner/README.md +++ b/java-cloudcontrolspartner/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-cloudquotas/README.md b/java-cloudquotas/README.md index 5ec4a9d1c8a8..6d8ac5cf0045 100644 --- a/java-cloudquotas/README.md +++ b/java-cloudquotas/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-cloudsecuritycompliance/README.md b/java-cloudsecuritycompliance/README.md index 1f444108f2a0..b639ede70d11 100644 --- a/java-cloudsecuritycompliance/README.md +++ b/java-cloudsecuritycompliance/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-cloudsupport/README.md b/java-cloudsupport/README.md index 2bbf16a7c7a2..83218edb67e9 100644 --- a/java-cloudsupport/README.md +++ b/java-cloudsupport/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-compute/README.md b/java-compute/README.md index c49b515c1d6f..1eec3366c0bd 100644 --- a/java-compute/README.md +++ b/java-compute/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-confidentialcomputing/README.md b/java-confidentialcomputing/README.md index acfd55fb98a7..ae33afb9ede3 100644 --- a/java-confidentialcomputing/README.md +++ b/java-confidentialcomputing/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-configdelivery/README.md b/java-configdelivery/README.md index a6ff0195dbc7..37b3477831e9 100644 --- a/java-configdelivery/README.md +++ b/java-configdelivery/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-connectgateway/README.md b/java-connectgateway/README.md index aa0116ad336f..453be0126648 100644 --- a/java-connectgateway/README.md +++ b/java-connectgateway/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-contact-center-insights/README.md b/java-contact-center-insights/README.md index 322c6e5f8813..e35370997c46 100644 --- a/java-contact-center-insights/README.md +++ b/java-contact-center-insights/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-container/README.md b/java-container/README.md index 9c44302180bb..4f9388d21d37 100644 --- a/java-container/README.md +++ b/java-container/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-containeranalysis/README.md b/java-containeranalysis/README.md index 249e933d555a..6da3c37fcb24 100644 --- a/java-containeranalysis/README.md +++ b/java-containeranalysis/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-contentwarehouse/README.md b/java-contentwarehouse/README.md index d5b09818e109..1656d2049781 100644 --- a/java-contentwarehouse/README.md +++ b/java-contentwarehouse/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-data-fusion/README.md b/java-data-fusion/README.md index 9a0f41f3314b..8f1d6850df46 100644 --- a/java-data-fusion/README.md +++ b/java-data-fusion/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-databasecenter/README.md b/java-databasecenter/README.md index 175ceba4f45e..90a2a8c5c868 100644 --- a/java-databasecenter/README.md +++ b/java-databasecenter/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-datacatalog/README.md b/java-datacatalog/README.md index e825a06212cb..98420871d359 100644 --- a/java-datacatalog/README.md +++ b/java-datacatalog/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-dataflow/README.md b/java-dataflow/README.md index a6a452b68ae3..825e6eda6868 100644 --- a/java-dataflow/README.md +++ b/java-dataflow/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-dataform/README.md b/java-dataform/README.md index 0ceec3754f71..62cf4efd8700 100644 --- a/java-dataform/README.md +++ b/java-dataform/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-datalabeling/README.md b/java-datalabeling/README.md index 039d696b7d94..8b233c77be22 100644 --- a/java-datalabeling/README.md +++ b/java-datalabeling/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-datalineage/README.md b/java-datalineage/README.md index 6d205b1728ff..b550d06800b6 100644 --- a/java-datalineage/README.md +++ b/java-datalineage/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-dataplex/README.md b/java-dataplex/README.md index be66b9b371f2..1b07b62f7b3b 100644 --- a/java-dataplex/README.md +++ b/java-dataplex/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-dataproc-metastore/README.md b/java-dataproc-metastore/README.md index c4316ca507db..a3e85124324f 100644 --- a/java-dataproc-metastore/README.md +++ b/java-dataproc-metastore/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-dataproc/README.md b/java-dataproc/README.md index 6b12094cdbf4..c47d0204d334 100644 --- a/java-dataproc/README.md +++ b/java-dataproc/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-datastore/README.md b/java-datastore/README.md index 87c24967f9c9..227c2422ab81 100644 --- a/java-datastore/README.md +++ b/java-datastore/README.md @@ -49,7 +49,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.79.0') +implementation platform('com.google.cloud:libraries-bom:26.80.0') implementation 'com.google.cloud:google-cloud-datastore' ``` diff --git a/java-datastream/README.md b/java-datastream/README.md index 57ea057c1b8e..c87838711913 100644 --- a/java-datastream/README.md +++ b/java-datastream/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-deploy/README.md b/java-deploy/README.md index 43c1e24df8b1..e525ebbacbd7 100644 --- a/java-deploy/README.md +++ b/java-deploy/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-developerconnect/README.md b/java-developerconnect/README.md index 0d009d22f3ea..22bd2909be3b 100644 --- a/java-developerconnect/README.md +++ b/java-developerconnect/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-devicestreaming/README.md b/java-devicestreaming/README.md index 30887993c75f..3e93facfa7bb 100644 --- a/java-devicestreaming/README.md +++ b/java-devicestreaming/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-dialogflow-cx/README.md b/java-dialogflow-cx/README.md index 8d9397cb2db2..51bcc7f33701 100644 --- a/java-dialogflow-cx/README.md +++ b/java-dialogflow-cx/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-dialogflow/README.md b/java-dialogflow/README.md index 5a20dcb1802a..b387c4ba9983 100644 --- a/java-dialogflow/README.md +++ b/java-dialogflow/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-discoveryengine/README.md b/java-discoveryengine/README.md index 0c069c5ff508..061ea787dd26 100644 --- a/java-discoveryengine/README.md +++ b/java-discoveryengine/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-distributedcloudedge/README.md b/java-distributedcloudedge/README.md index 4f31fb6840b7..480d014cde33 100644 --- a/java-distributedcloudedge/README.md +++ b/java-distributedcloudedge/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-dlp/README.md b/java-dlp/README.md index 764721ffb499..a20ed262820f 100644 --- a/java-dlp/README.md +++ b/java-dlp/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-dms/README.md b/java-dms/README.md index c2165a5124d4..ee6026d479cc 100644 --- a/java-dms/README.md +++ b/java-dms/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-document-ai/README.md b/java-document-ai/README.md index 62020de1cb2f..e1d34d1dfa20 100644 --- a/java-document-ai/README.md +++ b/java-document-ai/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-domains/README.md b/java-domains/README.md index bf9931e1e3b7..decc52fa3452 100644 --- a/java-domains/README.md +++ b/java-domains/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-edgenetwork/README.md b/java-edgenetwork/README.md index cb81ea4f1429..5e49fb7cf038 100644 --- a/java-edgenetwork/README.md +++ b/java-edgenetwork/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-enterpriseknowledgegraph/README.md b/java-enterpriseknowledgegraph/README.md index 368d8b0e526f..34cb5e0715a7 100644 --- a/java-enterpriseknowledgegraph/README.md +++ b/java-enterpriseknowledgegraph/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-errorreporting/README.md b/java-errorreporting/README.md index 1512689e7156..0dd70fcab297 100644 --- a/java-errorreporting/README.md +++ b/java-errorreporting/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-essential-contacts/README.md b/java-essential-contacts/README.md index 303ac25ba619..2dd316aabd82 100644 --- a/java-essential-contacts/README.md +++ b/java-essential-contacts/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-eventarc-publishing/README.md b/java-eventarc-publishing/README.md index 001b422caddf..d27aa49b7ffb 100644 --- a/java-eventarc-publishing/README.md +++ b/java-eventarc-publishing/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-eventarc/README.md b/java-eventarc/README.md index 6d4f2da858a7..b107f6efc532 100644 --- a/java-eventarc/README.md +++ b/java-eventarc/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-filestore/README.md b/java-filestore/README.md index 2137f187bb20..77ab536b641b 100644 --- a/java-filestore/README.md +++ b/java-filestore/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-financialservices/README.md b/java-financialservices/README.md index 15dcf6d7d632..d991d00b3268 100644 --- a/java-financialservices/README.md +++ b/java-financialservices/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-functions/README.md b/java-functions/README.md index 64c893e4b509..7220a2902103 100644 --- a/java-functions/README.md +++ b/java-functions/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-gdchardwaremanagement/README.md b/java-gdchardwaremanagement/README.md index 4ebf289ad12d..f327f54c57b7 100644 --- a/java-gdchardwaremanagement/README.md +++ b/java-gdchardwaremanagement/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-geminidataanalytics/README.md b/java-geminidataanalytics/README.md index a6ab8d10b0b3..1bf311cf2e57 100644 --- a/java-geminidataanalytics/README.md +++ b/java-geminidataanalytics/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-gke-backup/README.md b/java-gke-backup/README.md index d5fb5b21da75..9b5792c463ce 100644 --- a/java-gke-backup/README.md +++ b/java-gke-backup/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-gke-connect-gateway/README.md b/java-gke-connect-gateway/README.md index a9f794fa0d66..baf6cd79714b 100644 --- a/java-gke-connect-gateway/README.md +++ b/java-gke-connect-gateway/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-gke-multi-cloud/README.md b/java-gke-multi-cloud/README.md index 5c2182f5d0c6..ff067aa7ff72 100644 --- a/java-gke-multi-cloud/README.md +++ b/java-gke-multi-cloud/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-gkehub/README.md b/java-gkehub/README.md index 9fa72e953ab0..d5b99b784f6b 100644 --- a/java-gkehub/README.md +++ b/java-gkehub/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-gkerecommender/README.md b/java-gkerecommender/README.md index d0e6f92b8643..112e4af54862 100644 --- a/java-gkerecommender/README.md +++ b/java-gkerecommender/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-gsuite-addons/README.md b/java-gsuite-addons/README.md index ffd1ed2687d7..53ca99a10d81 100644 --- a/java-gsuite-addons/README.md +++ b/java-gsuite-addons/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-hypercomputecluster/README.md b/java-hypercomputecluster/README.md index 36ba2fb18f6b..6787416e4b27 100644 --- a/java-hypercomputecluster/README.md +++ b/java-hypercomputecluster/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-iam-admin/README.md b/java-iam-admin/README.md index b94718266aa5..6600a41c6571 100644 --- a/java-iam-admin/README.md +++ b/java-iam-admin/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-iam/README.md b/java-iam/README.md index a31d56fecfdc..05b669204eba 100644 --- a/java-iam/README.md +++ b/java-iam/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-iamcredentials/README.md b/java-iamcredentials/README.md index 957ac5d2c201..a0c3061d88ce 100644 --- a/java-iamcredentials/README.md +++ b/java-iamcredentials/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-iap/README.md b/java-iap/README.md index 94901f359406..269bfbde1aa3 100644 --- a/java-iap/README.md +++ b/java-iap/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-ids/README.md b/java-ids/README.md index eb8e042a62db..cff34b34688d 100644 --- a/java-ids/README.md +++ b/java-ids/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-infra-manager/README.md b/java-infra-manager/README.md index ffe5fb54fe43..ca46fce0088f 100644 --- a/java-infra-manager/README.md +++ b/java-infra-manager/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-iot/README.md b/java-iot/README.md index d9ffe28ab42f..3867d69f60bd 100644 --- a/java-iot/README.md +++ b/java-iot/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-kms/README.md b/java-kms/README.md index d6a4a2b4d474..f178b8731b4e 100644 --- a/java-kms/README.md +++ b/java-kms/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-kmsinventory/README.md b/java-kmsinventory/README.md index e36de569ccd4..228eb47a11d3 100644 --- a/java-kmsinventory/README.md +++ b/java-kmsinventory/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-language/README.md b/java-language/README.md index 018d9fb509f3..50b6e9b88846 100644 --- a/java-language/README.md +++ b/java-language/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-licensemanager/README.md b/java-licensemanager/README.md index 7a15aecf68a3..1609a049665c 100644 --- a/java-licensemanager/README.md +++ b/java-licensemanager/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-life-sciences/README.md b/java-life-sciences/README.md index 2b5c5e1c24f3..2465b6c2d742 100644 --- a/java-life-sciences/README.md +++ b/java-life-sciences/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-locationfinder/README.md b/java-locationfinder/README.md index 75a8e1c30307..8d4d1c313301 100644 --- a/java-locationfinder/README.md +++ b/java-locationfinder/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-logging/README.md b/java-logging/README.md index cb0e813f5c8d..c9cca3391a07 100644 --- a/java-logging/README.md +++ b/java-logging/README.md @@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.79.0') +implementation platform('com.google.cloud:libraries-bom:26.80.0') implementation 'com.google.cloud:google-cloud-logging' ``` diff --git a/java-lustre/README.md b/java-lustre/README.md index 7b70cfe24556..7551b79f133a 100644 --- a/java-lustre/README.md +++ b/java-lustre/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-maintenance/README.md b/java-maintenance/README.md index 36d0cf85861e..b5a13a365cd9 100644 --- a/java-maintenance/README.md +++ b/java-maintenance/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-managed-identities/README.md b/java-managed-identities/README.md index b18b2509605f..9c7c63ed3f70 100644 --- a/java-managed-identities/README.md +++ b/java-managed-identities/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-managedkafka/README.md b/java-managedkafka/README.md index f33f1083fd02..36e85f9e4472 100644 --- a/java-managedkafka/README.md +++ b/java-managedkafka/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-mediatranslation/README.md b/java-mediatranslation/README.md index 5294149830b3..3bbfad5159a9 100644 --- a/java-mediatranslation/README.md +++ b/java-mediatranslation/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-meet/README.md b/java-meet/README.md index f2cbc3ce4b5e..5df639e7ee32 100644 --- a/java-meet/README.md +++ b/java-meet/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-memcache/README.md b/java-memcache/README.md index 8e085a505c1a..9c982336f77a 100644 --- a/java-memcache/README.md +++ b/java-memcache/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-migrationcenter/README.md b/java-migrationcenter/README.md index 6429003e76d2..a34aa13ddbac 100644 --- a/java-migrationcenter/README.md +++ b/java-migrationcenter/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-modelarmor/README.md b/java-modelarmor/README.md index e59ca775b971..7efc9b8bbcbe 100644 --- a/java-modelarmor/README.md +++ b/java-modelarmor/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-monitoring-dashboards/README.md b/java-monitoring-dashboards/README.md index 2f976bc3ccf0..f462e426aaf1 100644 --- a/java-monitoring-dashboards/README.md +++ b/java-monitoring-dashboards/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-monitoring-metricsscope/README.md b/java-monitoring-metricsscope/README.md index 2106cb332e32..9b7eb85d83e2 100644 --- a/java-monitoring-metricsscope/README.md +++ b/java-monitoring-metricsscope/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-monitoring/README.md b/java-monitoring/README.md index 99a786b03881..2ccffb82b760 100644 --- a/java-monitoring/README.md +++ b/java-monitoring/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-netapp/README.md b/java-netapp/README.md index 1d512427ec7f..4c2930f1608a 100644 --- a/java-netapp/README.md +++ b/java-netapp/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-network-management/README.md b/java-network-management/README.md index d3cc522355ab..b27227a7e983 100644 --- a/java-network-management/README.md +++ b/java-network-management/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-network-security/README.md b/java-network-security/README.md index d80584442e7c..55b04c3845d9 100644 --- a/java-network-security/README.md +++ b/java-network-security/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-networkconnectivity/README.md b/java-networkconnectivity/README.md index 734e99826d4d..b21a1e781f16 100644 --- a/java-networkconnectivity/README.md +++ b/java-networkconnectivity/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-networkservices/README.md b/java-networkservices/README.md index 8168bcb689b8..b8b63bb0cfe4 100644 --- a/java-networkservices/README.md +++ b/java-networkservices/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-notebooks/README.md b/java-notebooks/README.md index 5063392f0ea1..e90120ba1a2b 100644 --- a/java-notebooks/README.md +++ b/java-notebooks/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-optimization/README.md b/java-optimization/README.md index 3efcccc36364..1c8d39ab4ec9 100644 --- a/java-optimization/README.md +++ b/java-optimization/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-oracledatabase/README.md b/java-oracledatabase/README.md index 4bf75b6e0430..27e4e4ea0004 100644 --- a/java-oracledatabase/README.md +++ b/java-oracledatabase/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-orchestration-airflow/README.md b/java-orchestration-airflow/README.md index d41fffe7202c..a0ca6489114e 100644 --- a/java-orchestration-airflow/README.md +++ b/java-orchestration-airflow/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-orgpolicy/README.md b/java-orgpolicy/README.md index 1cf17597ef09..72c2bd8825a0 100644 --- a/java-orgpolicy/README.md +++ b/java-orgpolicy/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-os-config/README.md b/java-os-config/README.md index 624ab171b342..50206e59aa40 100644 --- a/java-os-config/README.md +++ b/java-os-config/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-os-login/README.md b/java-os-login/README.md index d6ba7e25033d..de34bb0b0847 100644 --- a/java-os-login/README.md +++ b/java-os-login/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-parallelstore/README.md b/java-parallelstore/README.md index 91649b9b2348..3602d4eabb85 100644 --- a/java-parallelstore/README.md +++ b/java-parallelstore/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-parametermanager/README.md b/java-parametermanager/README.md index 57e12f888e21..3c5cb1b81eb2 100644 --- a/java-parametermanager/README.md +++ b/java-parametermanager/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-phishingprotection/README.md b/java-phishingprotection/README.md index 3f53867fab47..2b4175b2203a 100644 --- a/java-phishingprotection/README.md +++ b/java-phishingprotection/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-policy-troubleshooter/README.md b/java-policy-troubleshooter/README.md index 85cad9efd7fb..76fbd4b49d69 100644 --- a/java-policy-troubleshooter/README.md +++ b/java-policy-troubleshooter/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-policysimulator/README.md b/java-policysimulator/README.md index c84b2a146567..7602e73505eb 100644 --- a/java-policysimulator/README.md +++ b/java-policysimulator/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-private-catalog/README.md b/java-private-catalog/README.md index 5298bce3926c..93a635e151a6 100644 --- a/java-private-catalog/README.md +++ b/java-private-catalog/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-privilegedaccessmanager/README.md b/java-privilegedaccessmanager/README.md index 5b353100428d..bc7c35a0610e 100644 --- a/java-privilegedaccessmanager/README.md +++ b/java-privilegedaccessmanager/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-profiler/README.md b/java-profiler/README.md index 7bd3a8d2cf36..2dd8c785e857 100644 --- a/java-profiler/README.md +++ b/java-profiler/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-publicca/README.md b/java-publicca/README.md index a6ab2cd9e03b..3e79ab32da1d 100644 --- a/java-publicca/README.md +++ b/java-publicca/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-rapidmigrationassessment/README.md b/java-rapidmigrationassessment/README.md index 876edd7ac7ed..3334c1c0a232 100644 --- a/java-rapidmigrationassessment/README.md +++ b/java-rapidmigrationassessment/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-recaptchaenterprise/README.md b/java-recaptchaenterprise/README.md index 4fa931357438..285355eacbc3 100644 --- a/java-recaptchaenterprise/README.md +++ b/java-recaptchaenterprise/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-recommendations-ai/README.md b/java-recommendations-ai/README.md index 024fb9a21ebb..39fadd094959 100644 --- a/java-recommendations-ai/README.md +++ b/java-recommendations-ai/README.md @@ -24,7 +24,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-recommender/README.md b/java-recommender/README.md index 80b56f499db5..2b3ab2b34f81 100644 --- a/java-recommender/README.md +++ b/java-recommender/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-redis-cluster/README.md b/java-redis-cluster/README.md index 74f81ce56273..90b7d3f36b2c 100644 --- a/java-redis-cluster/README.md +++ b/java-redis-cluster/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-redis/README.md b/java-redis/README.md index d9cfc2be1144..7c0b4f2c707d 100644 --- a/java-redis/README.md +++ b/java-redis/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-resourcemanager/README.md b/java-resourcemanager/README.md index 4401c899b6e3..006c2c9a65d0 100644 --- a/java-resourcemanager/README.md +++ b/java-resourcemanager/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-retail/README.md b/java-retail/README.md index dda9e6ec0010..081d44456ce6 100644 --- a/java-retail/README.md +++ b/java-retail/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-run/README.md b/java-run/README.md index aa4acf0019f1..c08931993241 100644 --- a/java-run/README.md +++ b/java-run/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-saasservicemgmt/README.md b/java-saasservicemgmt/README.md index d97d017c9c70..e9a87e22c03a 100644 --- a/java-saasservicemgmt/README.md +++ b/java-saasservicemgmt/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/SaasDeploymentsClient.java b/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/SaasDeploymentsClient.java index 54e98b8f9a7a..8d1a1abfe48c 100644 --- a/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/SaasDeploymentsClient.java +++ b/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/SaasDeploymentsClient.java @@ -641,7 +641,10 @@ * * *

ListLocations - *

Lists information about the supported locations for this service. + *

Lists information about the supported locations for this service. + *

This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *

* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *

For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version. * *

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

*
    @@ -4496,6 +4499,19 @@ public final UnaryCallable deleteReleaseCallable() /** * Lists information about the supported locations for this service. * + *

    This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *

    * **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *

    For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. + * *

    Sample code: * *

    {@code
    @@ -4529,6 +4545,19 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
       /**
        * Lists information about the supported locations for this service.
        *
    +   * 

    This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *

    * **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *

    For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. + * *

    Sample code: * *

    {@code
    @@ -4563,6 +4592,19 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
       /**
        * Lists information about the supported locations for this service.
        *
    +   * 

    This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *

    * **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *

    For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. + * *

    Sample code: * *

    {@code
    diff --git a/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/SaasRolloutsClient.java b/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/SaasRolloutsClient.java
    index 00be275bb6da..97ad5af7d29b 100644
    --- a/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/SaasRolloutsClient.java
    +++ b/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/SaasRolloutsClient.java
    @@ -260,7 +260,10 @@
      *    
      *    
      *      

    ListLocations - *

    Lists information about the supported locations for this service. + *

    Lists information about the supported locations for this service. + *

    This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *

    * **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *

    For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version. * *

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

    *
      @@ -1649,6 +1652,19 @@ public final UnaryCallable deleteRolloutKindCal /** * Lists information about the supported locations for this service. * + *

      This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *

      * **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *

      For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. + * *

      Sample code: * *

      {@code
      @@ -1682,6 +1698,19 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
         /**
          * Lists information about the supported locations for this service.
          *
      +   * 

      This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *

      * **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *

      For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. + * *

      Sample code: * *

      {@code
      @@ -1716,6 +1745,19 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
         /**
          * Lists information about the supported locations for this service.
          *
      +   * 

      This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *

      * **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *

      For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. + * *

      Sample code: * *

      {@code
      diff --git a/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/package-info.java b/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/package-info.java
      index 628708c85f7f..054eae140354 100644
      --- a/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/package-info.java
      +++ b/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/package-info.java
      @@ -15,7 +15,7 @@
        */
       
       /**
      - * A client to SaaS Runtime API
      + * A client to App Lifecycle Manager API
        *
        * 

      The interfaces provided are listed below, along with usage samples. * diff --git a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/Tenant.java b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/Tenant.java index 3f7f5d6e505f..97ebd80f6e3a 100644 --- a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/Tenant.java +++ b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/Tenant.java @@ -169,9 +169,9 @@ public com.google.protobuf.ByteString getNameBytes() { * Optional. Immutable. A reference to the consumer resource this SaaS Tenant * is representing. * - * The relationship with a consumer resource can be used by SaaS Runtime for - * retrieving consumer-defined settings and policies such as maintenance - * policies (using Unified Maintenance Policy API). + * The relationship with a consumer resource can be used by App Lifecycle + * Manager for retrieving consumer-defined settings and policies such as + * maintenance policies (using Unified Maintenance Policy API). *

      * * @@ -200,9 +200,9 @@ public java.lang.String getConsumerResource() { * Optional. Immutable. A reference to the consumer resource this SaaS Tenant * is representing. * - * The relationship with a consumer resource can be used by SaaS Runtime for - * retrieving consumer-defined settings and policies such as maintenance - * policies (using Unified Maintenance Policy API). + * The relationship with a consumer resource can be used by App Lifecycle + * Manager for retrieving consumer-defined settings and policies such as + * maintenance policies (using Unified Maintenance Policy API). *
      * * @@ -234,8 +234,8 @@ public com.google.protobuf.ByteString getConsumerResourceBytes() { * *
          * Required. Immutable. A reference to the Saas that defines the product
      -   * (managed service) that the producer wants to manage with SaaS Runtime. Part
      -   * of the SaaS Runtime common data model.
      +   * (managed service) that the producer wants to manage with App Lifecycle
      +   * Manager. Part of the App Lifecycle Manager common data model.
          * 
      * * @@ -262,8 +262,8 @@ public java.lang.String getSaas() { * *
          * Required. Immutable. A reference to the Saas that defines the product
      -   * (managed service) that the producer wants to manage with SaaS Runtime. Part
      -   * of the SaaS Runtime common data model.
      +   * (managed service) that the producer wants to manage with App Lifecycle
      +   * Manager. Part of the App Lifecycle Manager common data model.
          * 
      * * @@ -1500,9 +1500,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Optional. Immutable. A reference to the consumer resource this SaaS Tenant * is representing. * - * The relationship with a consumer resource can be used by SaaS Runtime for - * retrieving consumer-defined settings and policies such as maintenance - * policies (using Unified Maintenance Policy API). + * The relationship with a consumer resource can be used by App Lifecycle + * Manager for retrieving consumer-defined settings and policies such as + * maintenance policies (using Unified Maintenance Policy API). *
      * * @@ -1530,9 +1530,9 @@ public java.lang.String getConsumerResource() { * Optional. Immutable. A reference to the consumer resource this SaaS Tenant * is representing. * - * The relationship with a consumer resource can be used by SaaS Runtime for - * retrieving consumer-defined settings and policies such as maintenance - * policies (using Unified Maintenance Policy API). + * The relationship with a consumer resource can be used by App Lifecycle + * Manager for retrieving consumer-defined settings and policies such as + * maintenance policies (using Unified Maintenance Policy API). *
    * * @@ -1560,9 +1560,9 @@ public com.google.protobuf.ByteString getConsumerResourceBytes() { * Optional. Immutable. A reference to the consumer resource this SaaS Tenant * is representing. * - * The relationship with a consumer resource can be used by SaaS Runtime for - * retrieving consumer-defined settings and policies such as maintenance - * policies (using Unified Maintenance Policy API). + * The relationship with a consumer resource can be used by App Lifecycle + * Manager for retrieving consumer-defined settings and policies such as + * maintenance policies (using Unified Maintenance Policy API). *
    * * @@ -1589,9 +1589,9 @@ public Builder setConsumerResource(java.lang.String value) { * Optional. Immutable. A reference to the consumer resource this SaaS Tenant * is representing. * - * The relationship with a consumer resource can be used by SaaS Runtime for - * retrieving consumer-defined settings and policies such as maintenance - * policies (using Unified Maintenance Policy API). + * The relationship with a consumer resource can be used by App Lifecycle + * Manager for retrieving consumer-defined settings and policies such as + * maintenance policies (using Unified Maintenance Policy API). *
    * * @@ -1614,9 +1614,9 @@ public Builder clearConsumerResource() { * Optional. Immutable. A reference to the consumer resource this SaaS Tenant * is representing. * - * The relationship with a consumer resource can be used by SaaS Runtime for - * retrieving consumer-defined settings and policies such as maintenance - * policies (using Unified Maintenance Policy API). + * The relationship with a consumer resource can be used by App Lifecycle + * Manager for retrieving consumer-defined settings and policies such as + * maintenance policies (using Unified Maintenance Policy API). * * * @@ -1644,8 +1644,8 @@ public Builder setConsumerResourceBytes(com.google.protobuf.ByteString value) { * *
          * Required. Immutable. A reference to the Saas that defines the product
    -     * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -     * of the SaaS Runtime common data model.
    +     * (managed service) that the producer wants to manage with App Lifecycle
    +     * Manager. Part of the App Lifecycle Manager common data model.
          * 
    * * @@ -1671,8 +1671,8 @@ public java.lang.String getSaas() { * *
          * Required. Immutable. A reference to the Saas that defines the product
    -     * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -     * of the SaaS Runtime common data model.
    +     * (managed service) that the producer wants to manage with App Lifecycle
    +     * Manager. Part of the App Lifecycle Manager common data model.
          * 
    * * @@ -1698,8 +1698,8 @@ public com.google.protobuf.ByteString getSaasBytes() { * *
          * Required. Immutable. A reference to the Saas that defines the product
    -     * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -     * of the SaaS Runtime common data model.
    +     * (managed service) that the producer wants to manage with App Lifecycle
    +     * Manager. Part of the App Lifecycle Manager common data model.
          * 
    * * @@ -1724,8 +1724,8 @@ public Builder setSaas(java.lang.String value) { * *
          * Required. Immutable. A reference to the Saas that defines the product
    -     * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -     * of the SaaS Runtime common data model.
    +     * (managed service) that the producer wants to manage with App Lifecycle
    +     * Manager. Part of the App Lifecycle Manager common data model.
          * 
    * * @@ -1746,8 +1746,8 @@ public Builder clearSaas() { * *
          * Required. Immutable. A reference to the Saas that defines the product
    -     * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -     * of the SaaS Runtime common data model.
    +     * (managed service) that the producer wants to manage with App Lifecycle
    +     * Manager. Part of the App Lifecycle Manager common data model.
          * 
    * * diff --git a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/TenantOrBuilder.java b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/TenantOrBuilder.java index 69a03303bd8b..c80bdc27e1a1 100644 --- a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/TenantOrBuilder.java +++ b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/TenantOrBuilder.java @@ -65,9 +65,9 @@ public interface TenantOrBuilder * Optional. Immutable. A reference to the consumer resource this SaaS Tenant * is representing. * - * The relationship with a consumer resource can be used by SaaS Runtime for - * retrieving consumer-defined settings and policies such as maintenance - * policies (using Unified Maintenance Policy API). + * The relationship with a consumer resource can be used by App Lifecycle + * Manager for retrieving consumer-defined settings and policies such as + * maintenance policies (using Unified Maintenance Policy API). * * * @@ -85,9 +85,9 @@ public interface TenantOrBuilder * Optional. Immutable. A reference to the consumer resource this SaaS Tenant * is representing. * - * The relationship with a consumer resource can be used by SaaS Runtime for - * retrieving consumer-defined settings and policies such as maintenance - * policies (using Unified Maintenance Policy API). + * The relationship with a consumer resource can be used by App Lifecycle + * Manager for retrieving consumer-defined settings and policies such as + * maintenance policies (using Unified Maintenance Policy API). * * * @@ -103,8 +103,8 @@ public interface TenantOrBuilder * *
        * Required. Immutable. A reference to the Saas that defines the product
    -   * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -   * of the SaaS Runtime common data model.
    +   * (managed service) that the producer wants to manage with App Lifecycle
    +   * Manager. Part of the App Lifecycle Manager common data model.
        * 
    * * @@ -120,8 +120,8 @@ public interface TenantOrBuilder * *
        * Required. Immutable. A reference to the Saas that defines the product
    -   * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -   * of the SaaS Runtime common data model.
    +   * (managed service) that the producer wants to manage with App Lifecycle
    +   * Manager. Part of the App Lifecycle Manager common data model.
        * 
    * * diff --git a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/ToMapping.java b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/ToMapping.java index 2d9666dbaaf6..cddb1d4d1c87 100644 --- a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/ToMapping.java +++ b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/ToMapping.java @@ -186,8 +186,8 @@ public com.google.protobuf.ByteString getInputVariableBytes() { * * *
    -   * Optional. Tells SaaS Runtime if this mapping should be used during lookup
    -   * or not
    +   * Optional. Tells App Lifecycle Manager if this mapping should be used during
    +   * lookup or not
        * 
    * * bool ignore_for_lookup = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -793,8 +793,8 @@ public Builder setInputVariableBytes(com.google.protobuf.ByteString value) { * * *
    -     * Optional. Tells SaaS Runtime if this mapping should be used during lookup
    -     * or not
    +     * Optional. Tells App Lifecycle Manager if this mapping should be used during
    +     * lookup or not
          * 
    * * bool ignore_for_lookup = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -810,8 +810,8 @@ public boolean getIgnoreForLookup() { * * *
    -     * Optional. Tells SaaS Runtime if this mapping should be used during lookup
    -     * or not
    +     * Optional. Tells App Lifecycle Manager if this mapping should be used during
    +     * lookup or not
          * 
    * * bool ignore_for_lookup = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -831,8 +831,8 @@ public Builder setIgnoreForLookup(boolean value) { * * *
    -     * Optional. Tells SaaS Runtime if this mapping should be used during lookup
    -     * or not
    +     * Optional. Tells App Lifecycle Manager if this mapping should be used during
    +     * lookup or not
          * 
    * * bool ignore_for_lookup = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/ToMappingOrBuilder.java b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/ToMappingOrBuilder.java index 4979b2789814..910c33cbe5c0 100644 --- a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/ToMappingOrBuilder.java +++ b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/ToMappingOrBuilder.java @@ -84,8 +84,8 @@ public interface ToMappingOrBuilder * * *
    -   * Optional. Tells SaaS Runtime if this mapping should be used during lookup
    -   * or not
    +   * Optional. Tells App Lifecycle Manager if this mapping should be used during
    +   * lookup or not
        * 
    * * bool ignore_for_lookup = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/UnitKind.java b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/UnitKind.java index 1e972ed3f1ba..8015f19d8bdb 100644 --- a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/UnitKind.java +++ b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/UnitKind.java @@ -526,8 +526,9 @@ public int getOutputVariableMappingsCount() { * *
        * Required. Immutable. A reference to the Saas that defines the product
    -   * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -   * of the SaaS Runtime common data model. Immutable once set.
    +   * (managed service) that the producer wants to manage with App Lifecycle
    +   * Manager. Part of the App Lifecycle Manager common data model. Immutable
    +   * once set.
        * 
    * * @@ -554,8 +555,9 @@ public java.lang.String getSaas() { * *
        * Required. Immutable. A reference to the Saas that defines the product
    -   * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -   * of the SaaS Runtime common data model. Immutable once set.
    +   * (managed service) that the producer wants to manage with App Lifecycle
    +   * Manager. Part of the App Lifecycle Manager common data model. Immutable
    +   * once set.
        * 
    * * @@ -3523,8 +3525,9 @@ public Builder removeOutputVariableMappings(int index) { * *
          * Required. Immutable. A reference to the Saas that defines the product
    -     * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -     * of the SaaS Runtime common data model. Immutable once set.
    +     * (managed service) that the producer wants to manage with App Lifecycle
    +     * Manager. Part of the App Lifecycle Manager common data model. Immutable
    +     * once set.
          * 
    * * @@ -3550,8 +3553,9 @@ public java.lang.String getSaas() { * *
          * Required. Immutable. A reference to the Saas that defines the product
    -     * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -     * of the SaaS Runtime common data model. Immutable once set.
    +     * (managed service) that the producer wants to manage with App Lifecycle
    +     * Manager. Part of the App Lifecycle Manager common data model. Immutable
    +     * once set.
          * 
    * * @@ -3577,8 +3581,9 @@ public com.google.protobuf.ByteString getSaasBytes() { * *
          * Required. Immutable. A reference to the Saas that defines the product
    -     * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -     * of the SaaS Runtime common data model. Immutable once set.
    +     * (managed service) that the producer wants to manage with App Lifecycle
    +     * Manager. Part of the App Lifecycle Manager common data model. Immutable
    +     * once set.
          * 
    * * @@ -3603,8 +3608,9 @@ public Builder setSaas(java.lang.String value) { * *
          * Required. Immutable. A reference to the Saas that defines the product
    -     * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -     * of the SaaS Runtime common data model. Immutable once set.
    +     * (managed service) that the producer wants to manage with App Lifecycle
    +     * Manager. Part of the App Lifecycle Manager common data model. Immutable
    +     * once set.
          * 
    * * @@ -3625,8 +3631,9 @@ public Builder clearSaas() { * *
          * Required. Immutable. A reference to the Saas that defines the product
    -     * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -     * of the SaaS Runtime common data model. Immutable once set.
    +     * (managed service) that the producer wants to manage with App Lifecycle
    +     * Manager. Part of the App Lifecycle Manager common data model. Immutable
    +     * once set.
          * 
    * * diff --git a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/UnitKindOrBuilder.java b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/UnitKindOrBuilder.java index da56ebdc77ac..28178d584a1a 100644 --- a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/UnitKindOrBuilder.java +++ b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/UnitKindOrBuilder.java @@ -335,8 +335,9 @@ com.google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping getOutputV * *
        * Required. Immutable. A reference to the Saas that defines the product
    -   * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -   * of the SaaS Runtime common data model. Immutable once set.
    +   * (managed service) that the producer wants to manage with App Lifecycle
    +   * Manager. Part of the App Lifecycle Manager common data model. Immutable
    +   * once set.
        * 
    * * @@ -352,8 +353,9 @@ com.google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping getOutputV * *
        * Required. Immutable. A reference to the Saas that defines the product
    -   * (managed service) that the producer wants to manage with SaaS Runtime. Part
    -   * of the SaaS Runtime common data model. Immutable once set.
    +   * (managed service) that the producer wants to manage with App Lifecycle
    +   * Manager. Part of the App Lifecycle Manager common data model. Immutable
    +   * once set.
        * 
    * * diff --git a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto index 43747d901764..61faa3dcd279 100644 --- a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto +++ b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.proto b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.proto index be75899128d0..797d9464394c 100644 --- a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.proto +++ b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -121,17 +121,17 @@ message Tenant { // Optional. Immutable. A reference to the consumer resource this SaaS Tenant // is representing. // - // The relationship with a consumer resource can be used by SaaS Runtime for - // retrieving consumer-defined settings and policies such as maintenance - // policies (using Unified Maintenance Policy API). + // The relationship with a consumer resource can be used by App Lifecycle + // Manager for retrieving consumer-defined settings and policies such as + // maintenance policies (using Unified Maintenance Policy API). string consumer_resource = 2 [ (google.api.field_behavior) = OPTIONAL, (google.api.field_behavior) = IMMUTABLE ]; // Required. Immutable. A reference to the Saas that defines the product - // (managed service) that the producer wants to manage with SaaS Runtime. Part - // of the SaaS Runtime common data model. + // (managed service) that the producer wants to manage with App Lifecycle + // Manager. Part of the App Lifecycle Manager common data model. string saas = 3 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE, @@ -228,8 +228,9 @@ message UnitKind { [(google.api.field_behavior) = OPTIONAL]; // Required. Immutable. A reference to the Saas that defines the product - // (managed service) that the producer wants to manage with SaaS Runtime. Part - // of the SaaS Runtime common data model. Immutable once set. + // (managed service) that the producer wants to manage with App Lifecycle + // Manager. Part of the App Lifecycle Manager common data model. Immutable + // once set. string saas = 8 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE, @@ -890,8 +891,8 @@ message ToMapping { // Required. Name of the inputVariable on the dependency string input_variable = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. Tells SaaS Runtime if this mapping should be used during lookup - // or not + // Optional. Tells App Lifecycle Manager if this mapping should be used during + // lookup or not bool ignore_for_lookup = 3 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service.proto b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service.proto index e3240bda648d..473dcd30c397 100644 --- a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service.proto +++ b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.proto b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.proto index adfb27b3a3a7..40502985c0bd 100644 --- a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.proto +++ b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service.proto b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service.proto index dc1e00bb5a9b..6465e579b393 100644 --- a/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service.proto +++ b/java-saasservicemgmt/proto-google-cloud-saasservicemgmt-v1beta1/src/main/proto/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-scheduler/README.md b/java-scheduler/README.md index decf2bb8a49c..648d292be345 100644 --- a/java-scheduler/README.md +++ b/java-scheduler/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-secretmanager/README.md b/java-secretmanager/README.md index 9fe9c48ae345..9ce9d9bcd256 100644 --- a/java-secretmanager/README.md +++ b/java-secretmanager/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-securesourcemanager/README.md b/java-securesourcemanager/README.md index 33fe3d0f9c6d..cbfaefadd859 100644 --- a/java-securesourcemanager/README.md +++ b/java-securesourcemanager/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-security-private-ca/README.md b/java-security-private-ca/README.md index bd085758edcc..c900ef811a45 100644 --- a/java-security-private-ca/README.md +++ b/java-security-private-ca/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-securitycenter-settings/README.md b/java-securitycenter-settings/README.md index 91a8619af908..ba0ac71727fd 100644 --- a/java-securitycenter-settings/README.md +++ b/java-securitycenter-settings/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-securitycenter/README.md b/java-securitycenter/README.md index 8cb9fe06426c..44220ae22432 100644 --- a/java-securitycenter/README.md +++ b/java-securitycenter/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-securitycentermanagement/README.md b/java-securitycentermanagement/README.md index ce67a35e860c..7103d2e13628 100644 --- a/java-securitycentermanagement/README.md +++ b/java-securitycentermanagement/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-securityposture/README.md b/java-securityposture/README.md index 6e09b2e1ac6a..6b69d7fd9a4c 100644 --- a/java-securityposture/README.md +++ b/java-securityposture/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-service-control/README.md b/java-service-control/README.md index ff5db4c65c8b..924e709ea8e3 100644 --- a/java-service-control/README.md +++ b/java-service-control/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-service-management/README.md b/java-service-management/README.md index 17116efd2a80..bb3a06e98c1b 100644 --- a/java-service-management/README.md +++ b/java-service-management/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-service-usage/README.md b/java-service-usage/README.md index 7b5c01e490e9..f766126c9039 100644 --- a/java-service-usage/README.md +++ b/java-service-usage/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-servicedirectory/README.md b/java-servicedirectory/README.md index 6addef77b76c..c3eb9320e5cf 100644 --- a/java-servicedirectory/README.md +++ b/java-servicedirectory/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-servicehealth/README.md b/java-servicehealth/README.md index 2a19a9ad00ec..ece2acea5e73 100644 --- a/java-servicehealth/README.md +++ b/java-servicehealth/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-shell/README.md b/java-shell/README.md index 59450b4d82a9..bf8e05f29152 100644 --- a/java-shell/README.md +++ b/java-shell/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-spanner/README.md b/java-spanner/README.md index 9c203beeae1f..b469d404c2e6 100644 --- a/java-spanner/README.md +++ b/java-spanner/README.md @@ -49,7 +49,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.79.0') +implementation platform('com.google.cloud:libraries-bom:26.80.0') implementation 'com.google.cloud:google-cloud-spanner' ``` diff --git a/java-spanneradapter/README.md b/java-spanneradapter/README.md index 41332cf586c6..44f9a8633ed7 100644 --- a/java-spanneradapter/README.md +++ b/java-spanneradapter/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-speech/README.md b/java-speech/README.md index 4e297a5a9bb5..cbf68171a9b0 100644 --- a/java-speech/README.md +++ b/java-speech/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-storage-transfer/README.md b/java-storage-transfer/README.md index 3c5276dcb65a..648633a076d2 100644 --- a/java-storage-transfer/README.md +++ b/java-storage-transfer/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-storage/README.md b/java-storage/README.md index 00d44d6eceb6..55974418eb8a 100644 --- a/java-storage/README.md +++ b/java-storage/README.md @@ -59,7 +59,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.79.0') +implementation platform('com.google.cloud:libraries-bom:26.80.0') implementation 'com.google.cloud:google-cloud-storage' ``` diff --git a/java-storagebatchoperations/README.md b/java-storagebatchoperations/README.md index 513d6b37b54c..8586d32616fa 100644 --- a/java-storagebatchoperations/README.md +++ b/java-storagebatchoperations/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-storageinsights/README.md b/java-storageinsights/README.md index e8223b520aac..efafd0b1d1e6 100644 --- a/java-storageinsights/README.md +++ b/java-storageinsights/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-talent/README.md b/java-talent/README.md index c3e229e82590..9798be2827e7 100644 --- a/java-talent/README.md +++ b/java-talent/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-tasks/README.md b/java-tasks/README.md index 807a87cffd22..fec0b03d4c3e 100644 --- a/java-tasks/README.md +++ b/java-tasks/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-telcoautomation/README.md b/java-telcoautomation/README.md index 9e10a5d46564..6281051b3e5c 100644 --- a/java-telcoautomation/README.md +++ b/java-telcoautomation/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-texttospeech/README.md b/java-texttospeech/README.md index 5e47f5f61d5e..6d7a8681ba5c 100644 --- a/java-texttospeech/README.md +++ b/java-texttospeech/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-tpu/README.md b/java-tpu/README.md index 1fc0bfed5dcb..7069fb15c9ae 100644 --- a/java-tpu/README.md +++ b/java-tpu/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-trace/README.md b/java-trace/README.md index f93be4119fd2..7ba8e11d1a08 100644 --- a/java-trace/README.md +++ b/java-trace/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-translate/README.md b/java-translate/README.md index 9a52885af143..88b0d3b0e83e 100644 --- a/java-translate/README.md +++ b/java-translate/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-valkey/README.md b/java-valkey/README.md index 0224bfa0f272..44e8d77404fd 100644 --- a/java-valkey/README.md +++ b/java-valkey/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-vectorsearch/README.md b/java-vectorsearch/README.md index 79c8a3179fb2..a0e3585eff21 100644 --- a/java-vectorsearch/README.md +++ b/java-vectorsearch/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vectorsearch - 0.12.0 + 0.13.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vectorsearch:0.12.0' +implementation 'com.google.cloud:google-cloud-vectorsearch:0.13.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vectorsearch" % "0.12.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vectorsearch" % "0.13.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-vectorsearch/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vectorsearch.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vectorsearch/0.12.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vectorsearch/0.13.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-intelligence/README.md b/java-video-intelligence/README.md index 94b609148454..63d3b7520572 100644 --- a/java-video-intelligence/README.md +++ b/java-video-intelligence/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-video-live-stream/README.md b/java-video-live-stream/README.md index d5510644cf6b..a4cc61090bc1 100644 --- a/java-video-live-stream/README.md +++ b/java-video-live-stream/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-video-stitcher/README.md b/java-video-stitcher/README.md index e0f63feaf385..1f53e27f23b5 100644 --- a/java-video-stitcher/README.md +++ b/java-video-stitcher/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-video-transcoder/README.md b/java-video-transcoder/README.md index 8338509353ff..3d74899fbc02 100644 --- a/java-video-transcoder/README.md +++ b/java-video-transcoder/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-vision/README.md b/java-vision/README.md index 30641d6a7cd8..d9c420a66f8f 100644 --- a/java-vision/README.md +++ b/java-vision/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-visionai/README.md b/java-visionai/README.md index 9e8ce993d38d..9179274ae919 100644 --- a/java-visionai/README.md +++ b/java-visionai/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-vmmigration/README.md b/java-vmmigration/README.md index f0b9671b01f0..4b9e5e347149 100644 --- a/java-vmmigration/README.md +++ b/java-vmmigration/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-vmwareengine/README.md b/java-vmwareengine/README.md index ef21ecdd3ca4..570c0c956e7a 100644 --- a/java-vmwareengine/README.md +++ b/java-vmwareengine/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-vpcaccess/README.md b/java-vpcaccess/README.md index c235fa9c914e..725b1cec417d 100644 --- a/java-vpcaccess/README.md +++ b/java-vpcaccess/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-webrisk/README.md b/java-webrisk/README.md index 19201b5b96e8..3201b41770af 100644 --- a/java-webrisk/README.md +++ b/java-webrisk/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-websecurityscanner/README.md b/java-websecurityscanner/README.md index 9bca9e6990b3..0bd816cbb55a 100644 --- a/java-websecurityscanner/README.md +++ b/java-websecurityscanner/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-workflow-executions/README.md b/java-workflow-executions/README.md index 37115b9476be..d7a856be2a87 100644 --- a/java-workflow-executions/README.md +++ b/java-workflow-executions/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-workflows/README.md b/java-workflows/README.md index 5bc87ae7fd8d..82a488082ba9 100644 --- a/java-workflows/README.md +++ b/java-workflows/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-workloadmanager/README.md b/java-workloadmanager/README.md index 9b1f537d4de3..fcbfcf57a192 100644 --- a/java-workloadmanager/README.md +++ b/java-workloadmanager/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-workspaceevents/README.md b/java-workspaceevents/README.md index a47f4e31c11e..557be3285274 100644 --- a/java-workspaceevents/README.md +++ b/java-workspaceevents/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import diff --git a/java-workstations/README.md b/java-workstations/README.md index e2ee31189fc3..c01a4d0f5394 100644 --- a/java-workstations/README.md +++ b/java-workstations/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.79.0 + 26.80.0 pom import From 7c9c1a13f9d24bd11c8a74acdeb884153e72fd6e Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 16 Apr 2026 03:01:12 +0000 Subject: [PATCH 3/4] chore: Update generation configuration at Thu Apr 16 03:01:04 UTC 2026 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index a7a98a939325..5a4df79daa53 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.71.0 -googleapis_commitish: bf85cad8abc13cd38d42b0cf8545d323243ff7e2 +googleapis_commitish: 13ca8dbc797515144104ee799e429f8e29b45c08 libraries_bom_version: 26.80.0 libraries: - api_shortname: accessapproval From ecda6e65f877b6c62b4ee9579e5f5e0ed6eb6f54 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 16 Apr 2026 04:37:37 +0000 Subject: [PATCH 4/4] chore: generate libraries at Thu Apr 16 03:03:50 UTC 2026 --- .../com/google/chat/v1/ChatServiceClient.java | 255 +++ .../google/chat/v1/ChatServiceSettings.java | 15 + .../com/google/chat/v1/gapic_metadata.json | 3 + .../google/chat/v1/stub/ChatServiceStub.java | 12 + .../chat/v1/stub/ChatServiceStubSettings.java | 85 + .../chat/v1/stub/GrpcChatServiceStub.java | 40 + .../chat/v1/stub/HttpJsonChatServiceStub.java | 68 + .../com.google.chat.v1/reflect-config.json | 45 + .../v1/ChatServiceClientHttpJsonTest.java | 63 + .../google/chat/v1/ChatServiceClientTest.java | 60 + .../google/chat/v1/MockChatServiceImpl.java | 21 + .../com/google/chat/v1/ChatServiceGrpc.java | 249 ++- .../com/google/chat/v1/ChatServiceProto.java | 298 ++-- .../google/chat/v1/FindGroupChatsRequest.java | 1431 +++++++++++++++++ .../v1/FindGroupChatsRequestOrBuilder.java | 235 +++ .../chat/v1/FindGroupChatsResponse.java | 1110 +++++++++++++ .../v1/FindGroupChatsResponseOrBuilder.java | 111 ++ .../java/com/google/chat/v1/SpaceProto.java | 59 +- .../java/com/google/chat/v1/SpaceView.java | 205 +++ .../proto/google/chat/v1/chat_service.proto | 26 + .../src/main/proto/google/chat/v1/space.proto | 82 +- .../findgroupchats/AsyncFindGroupChats.java | 55 + .../AsyncFindGroupChatsPaged.java | 63 + .../findgroupchats/SyncFindGroupChats.java | 52 + .../cloud/kms/v1/SingleTenantHsmInstance.java | 24 +- .../v1/SingleTenantHsmInstanceOrBuilder.java | 6 +- .../google/cloud/kms/v1/hsm_management.proto | 2 +- 27 files changed, 4476 insertions(+), 199 deletions(-) create mode 100644 java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsRequest.java create mode 100644 java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsRequestOrBuilder.java create mode 100644 java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsResponse.java create mode 100644 java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsResponseOrBuilder.java create mode 100644 java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceView.java create mode 100644 java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/AsyncFindGroupChats.java create mode 100644 java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/AsyncFindGroupChatsPaged.java create mode 100644 java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/SyncFindGroupChats.java diff --git a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceClient.java b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceClient.java index b36fe40cb319..e7ab105d23c3 100644 --- a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceClient.java +++ b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceClient.java @@ -471,6 +471,25 @@ * * * + *

    FindGroupChats + *

    Returns all spaces with `spaceType == GROUP_CHAT`, whose human memberships contain exactly the calling user, and the users specified in `FindGroupChatsRequest.users`. Only members that have joined the conversation are supported. For an example, see [Find group chats](https://developers.google.com/workspace/chat/find-group-chats). + *

    If the calling user blocks, or is blocked by, some users, and no spaces with the entire specified set of users are found, this method returns spaces that don't include the blocked or blocking users. + *

    The specified set of users must contain only human (non-app) memberships. A request that contains non-human users doesn't return any spaces. + *

    Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + *

    - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` + * + *

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

    + *
      + *
    • findGroupChats(FindGroupChatsRequest request) + *

    + *

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

    + *
      + *
    • findGroupChatsPagedCallable() + *

    • findGroupChatsCallable() + *

    + * + * + * *

    CreateMembership *

    Creates a membership for the calling Chat app, a user, or a Google Group. Creating memberships for other Chat apps isn't supported. When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. *

    Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): @@ -4500,6 +4519,166 @@ public final UnaryCallable findDirectMessageCal return stub.findDirectMessageCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns all spaces with `spaceType == GROUP_CHAT`, whose human memberships contain exactly the + * calling user, and the users specified in `FindGroupChatsRequest.users`. Only members that have + * joined the conversation are supported. For an example, see [Find group + * chats](https://developers.google.com/workspace/chat/find-group-chats). + * + *

    If the calling user blocks, or is blocked by, some users, and no spaces with the entire + * specified set of users are found, this method returns spaces that don't include the blocked or + * blocking users. + * + *

    The specified set of users must contain only human (non-app) memberships. A request that + * contains non-human users doesn't return any spaces. + * + *

    Requires [user + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * + *

    - `https://www.googleapis.com/auth/chat.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.memberships` + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated and should be regarded as a code template only.
    +   * // It will require modifications to work:
    +   * // - It may require correct/in-range values for request initialization.
    +   * // - It may require specifying regional endpoints when creating the service client as shown in
    +   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    +   * try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
    +   *   FindGroupChatsRequest request =
    +   *       FindGroupChatsRequest.newBuilder()
    +   *           .addAllUsers(new ArrayList())
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .setSpaceView(SpaceView.forNumber(0))
    +   *           .build();
    +   *   for (Space element : chatServiceClient.findGroupChats(request).iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FindGroupChatsPagedResponse findGroupChats(FindGroupChatsRequest request) { + return findGroupChatsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns all spaces with `spaceType == GROUP_CHAT`, whose human memberships contain exactly the + * calling user, and the users specified in `FindGroupChatsRequest.users`. Only members that have + * joined the conversation are supported. For an example, see [Find group + * chats](https://developers.google.com/workspace/chat/find-group-chats). + * + *

    If the calling user blocks, or is blocked by, some users, and no spaces with the entire + * specified set of users are found, this method returns spaces that don't include the blocked or + * blocking users. + * + *

    The specified set of users must contain only human (non-app) memberships. A request that + * contains non-human users doesn't return any spaces. + * + *

    Requires [user + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * + *

    - `https://www.googleapis.com/auth/chat.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.memberships` + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated and should be regarded as a code template only.
    +   * // It will require modifications to work:
    +   * // - It may require correct/in-range values for request initialization.
    +   * // - It may require specifying regional endpoints when creating the service client as shown in
    +   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    +   * try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
    +   *   FindGroupChatsRequest request =
    +   *       FindGroupChatsRequest.newBuilder()
    +   *           .addAllUsers(new ArrayList())
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .setSpaceView(SpaceView.forNumber(0))
    +   *           .build();
    +   *   ApiFuture future = chatServiceClient.findGroupChatsPagedCallable().futureCall(request);
    +   *   // Do something.
    +   *   for (Space element : future.get().iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable + findGroupChatsPagedCallable() { + return stub.findGroupChatsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns all spaces with `spaceType == GROUP_CHAT`, whose human memberships contain exactly the + * calling user, and the users specified in `FindGroupChatsRequest.users`. Only members that have + * joined the conversation are supported. For an example, see [Find group + * chats](https://developers.google.com/workspace/chat/find-group-chats). + * + *

    If the calling user blocks, or is blocked by, some users, and no spaces with the entire + * specified set of users are found, this method returns spaces that don't include the blocked or + * blocking users. + * + *

    The specified set of users must contain only human (non-app) memberships. A request that + * contains non-human users doesn't return any spaces. + * + *

    Requires [user + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * + *

    - `https://www.googleapis.com/auth/chat.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.memberships` + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated and should be regarded as a code template only.
    +   * // It will require modifications to work:
    +   * // - It may require correct/in-range values for request initialization.
    +   * // - It may require specifying regional endpoints when creating the service client as shown in
    +   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    +   * try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
    +   *   FindGroupChatsRequest request =
    +   *       FindGroupChatsRequest.newBuilder()
    +   *           .addAllUsers(new ArrayList())
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .setSpaceView(SpaceView.forNumber(0))
    +   *           .build();
    +   *   while (true) {
    +   *     FindGroupChatsResponse response = chatServiceClient.findGroupChatsCallable().call(request);
    +   *     for (Space element : response.getSpacesList()) {
    +   *       // doThingsWith(element);
    +   *     }
    +   *     String nextPageToken = response.getNextPageToken();
    +   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
    +   *       request = request.toBuilder().setPageToken(nextPageToken).build();
    +   *     } else {
    +   *       break;
    +   *     }
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable + findGroupChatsCallable() { + return stub.findGroupChatsCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a membership for the calling Chat app, a user, or a Google Group. Creating memberships @@ -9374,6 +9553,82 @@ protected SearchSpacesFixedSizeCollection createCollection( } } + public static class FindGroupChatsPagedResponse + extends AbstractPagedListResponse< + FindGroupChatsRequest, + FindGroupChatsResponse, + Space, + FindGroupChatsPage, + FindGroupChatsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + FindGroupChatsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new FindGroupChatsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private FindGroupChatsPagedResponse(FindGroupChatsPage page) { + super(page, FindGroupChatsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class FindGroupChatsPage + extends AbstractPage< + FindGroupChatsRequest, FindGroupChatsResponse, Space, FindGroupChatsPage> { + + private FindGroupChatsPage( + PageContext context, + FindGroupChatsResponse response) { + super(context, response); + } + + private static FindGroupChatsPage createEmptyPage() { + return new FindGroupChatsPage(null, null); + } + + @Override + protected FindGroupChatsPage createPage( + PageContext context, + FindGroupChatsResponse response) { + return new FindGroupChatsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class FindGroupChatsFixedSizeCollection + extends AbstractFixedSizeCollection< + FindGroupChatsRequest, + FindGroupChatsResponse, + Space, + FindGroupChatsPage, + FindGroupChatsFixedSizeCollection> { + + private FindGroupChatsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static FindGroupChatsFixedSizeCollection createEmptyCollection() { + return new FindGroupChatsFixedSizeCollection(null, 0); + } + + @Override + protected FindGroupChatsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new FindGroupChatsFixedSizeCollection(pages, collectionSize); + } + } + public static class ListReactionsPagedResponse extends AbstractPagedListResponse< ListReactionsRequest, diff --git a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceSettings.java b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceSettings.java index d0f288e2fc7e..414c7437df2f 100644 --- a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceSettings.java +++ b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/ChatServiceSettings.java @@ -16,6 +16,7 @@ package com.google.chat.v1; +import static com.google.chat.v1.ChatServiceClient.FindGroupChatsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListCustomEmojisPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMembershipsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMessagesPagedResponse; @@ -193,6 +194,13 @@ public UnaryCallSettings findDirectMessageSetti return ((ChatServiceStubSettings) getStubSettings()).findDirectMessageSettings(); } + /** Returns the object with the settings used for calls to findGroupChats. */ + public PagedCallSettings< + FindGroupChatsRequest, FindGroupChatsResponse, FindGroupChatsPagedResponse> + findGroupChatsSettings() { + return ((ChatServiceStubSettings) getStubSettings()).findGroupChatsSettings(); + } + /** Returns the object with the settings used for calls to createMembership. */ public UnaryCallSettings createMembershipSettings() { return ((ChatServiceStubSettings) getStubSettings()).createMembershipSettings(); @@ -537,6 +545,13 @@ public UnaryCallSettings.Builder findDirectMess return getStubSettingsBuilder().findDirectMessageSettings(); } + /** Returns the builder for the settings used for calls to findGroupChats. */ + public PagedCallSettings.Builder< + FindGroupChatsRequest, FindGroupChatsResponse, FindGroupChatsPagedResponse> + findGroupChatsSettings() { + return getStubSettingsBuilder().findGroupChatsSettings(); + } + /** Returns the builder for the settings used for calls to createMembership. */ public UnaryCallSettings.Builder createMembershipSettings() { diff --git a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/gapic_metadata.json b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/gapic_metadata.json index ccdd152e2645..3c17aa5e5b7f 100644 --- a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/gapic_metadata.json +++ b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/gapic_metadata.json @@ -52,6 +52,9 @@ "FindDirectMessage": { "methods": ["findDirectMessage", "findDirectMessageCallable"] }, + "FindGroupChats": { + "methods": ["findGroupChats", "findGroupChatsPagedCallable", "findGroupChatsCallable"] + }, "GetAttachment": { "methods": ["getAttachment", "getAttachment", "getAttachment", "getAttachmentCallable"] }, diff --git a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStub.java b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStub.java index bf882802d428..8f023fcf7c43 100644 --- a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStub.java +++ b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStub.java @@ -16,6 +16,7 @@ package com.google.chat.v1.stub; +import static com.google.chat.v1.ChatServiceClient.FindGroupChatsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListCustomEmojisPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMembershipsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMessagesPagedResponse; @@ -45,6 +46,8 @@ import com.google.chat.v1.DeleteSectionRequest; import com.google.chat.v1.DeleteSpaceRequest; import com.google.chat.v1.FindDirectMessageRequest; +import com.google.chat.v1.FindGroupChatsRequest; +import com.google.chat.v1.FindGroupChatsResponse; import com.google.chat.v1.GetAttachmentRequest; import com.google.chat.v1.GetCustomEmojiRequest; import com.google.chat.v1.GetMembershipRequest; @@ -197,6 +200,15 @@ public UnaryCallable findDirectMessageCallable( throw new UnsupportedOperationException("Not implemented: findDirectMessageCallable()"); } + public UnaryCallable + findGroupChatsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: findGroupChatsPagedCallable()"); + } + + public UnaryCallable findGroupChatsCallable() { + throw new UnsupportedOperationException("Not implemented: findGroupChatsCallable()"); + } + public UnaryCallable createMembershipCallable() { throw new UnsupportedOperationException("Not implemented: createMembershipCallable()"); } diff --git a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStubSettings.java b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStubSettings.java index e230dff29482..b3ff9092fe8f 100644 --- a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStubSettings.java +++ b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStubSettings.java @@ -16,6 +16,7 @@ package com.google.chat.v1.stub; +import static com.google.chat.v1.ChatServiceClient.FindGroupChatsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListCustomEmojisPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMembershipsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMessagesPagedResponse; @@ -70,6 +71,8 @@ import com.google.chat.v1.DeleteSectionRequest; import com.google.chat.v1.DeleteSpaceRequest; import com.google.chat.v1.FindDirectMessageRequest; +import com.google.chat.v1.FindGroupChatsRequest; +import com.google.chat.v1.FindGroupChatsResponse; import com.google.chat.v1.GetAttachmentRequest; import com.google.chat.v1.GetCustomEmojiRequest; import com.google.chat.v1.GetMembershipRequest; @@ -249,6 +252,9 @@ public class ChatServiceStubSettings extends StubSettings completeImportSpaceSettings; private final UnaryCallSettings findDirectMessageSettings; + private final PagedCallSettings< + FindGroupChatsRequest, FindGroupChatsResponse, FindGroupChatsPagedResponse> + findGroupChatsSettings; private final UnaryCallSettings createMembershipSettings; private final UnaryCallSettings updateMembershipSettings; private final UnaryCallSettings deleteMembershipSettings; @@ -430,6 +436,41 @@ public Iterable extractResources(SearchSpacesResponse payload) { } }; + private static final PagedListDescriptor + FIND_GROUP_CHATS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public FindGroupChatsRequest injectToken(FindGroupChatsRequest payload, String token) { + return FindGroupChatsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public FindGroupChatsRequest injectPageSize( + FindGroupChatsRequest payload, int pageSize) { + return FindGroupChatsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(FindGroupChatsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(FindGroupChatsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(FindGroupChatsResponse payload) { + return payload.getSpacesList(); + } + }; + private static final PagedListDescriptor LIST_REACTIONS_PAGE_STR_DESC = new PagedListDescriptor() { @@ -679,6 +720,23 @@ public ApiFuture getFuturePagedResponse( } }; + private static final PagedListResponseFactory< + FindGroupChatsRequest, FindGroupChatsResponse, FindGroupChatsPagedResponse> + FIND_GROUP_CHATS_PAGE_STR_FACT = + new PagedListResponseFactory< + FindGroupChatsRequest, FindGroupChatsResponse, FindGroupChatsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + FindGroupChatsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, FIND_GROUP_CHATS_PAGE_STR_DESC, request, context); + return FindGroupChatsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + private static final PagedListResponseFactory< ListReactionsRequest, ListReactionsResponse, ListReactionsPagedResponse> LIST_REACTIONS_PAGE_STR_FACT = @@ -865,6 +923,13 @@ public UnaryCallSettings findDirectMessageSetti return findDirectMessageSettings; } + /** Returns the object with the settings used for calls to findGroupChats. */ + public PagedCallSettings< + FindGroupChatsRequest, FindGroupChatsResponse, FindGroupChatsPagedResponse> + findGroupChatsSettings() { + return findGroupChatsSettings; + } + /** Returns the object with the settings used for calls to createMembership. */ public UnaryCallSettings createMembershipSettings() { return createMembershipSettings; @@ -1128,6 +1193,7 @@ protected ChatServiceStubSettings(Builder settingsBuilder) throws IOException { deleteSpaceSettings = settingsBuilder.deleteSpaceSettings().build(); completeImportSpaceSettings = settingsBuilder.completeImportSpaceSettings().build(); findDirectMessageSettings = settingsBuilder.findDirectMessageSettings().build(); + findGroupChatsSettings = settingsBuilder.findGroupChatsSettings().build(); createMembershipSettings = settingsBuilder.createMembershipSettings().build(); updateMembershipSettings = settingsBuilder.updateMembershipSettings().build(); deleteMembershipSettings = settingsBuilder.deleteMembershipSettings().build(); @@ -1197,6 +1263,9 @@ public static class Builder extends StubSettings.Builder findDirectMessageSettings; + private final PagedCallSettings.Builder< + FindGroupChatsRequest, FindGroupChatsResponse, FindGroupChatsPagedResponse> + findGroupChatsSettings; private final UnaryCallSettings.Builder createMembershipSettings; private final UnaryCallSettings.Builder @@ -1302,6 +1371,7 @@ protected Builder(ClientContext clientContext) { deleteSpaceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); completeImportSpaceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); findDirectMessageSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + findGroupChatsSettings = PagedCallSettings.newBuilder(FIND_GROUP_CHATS_PAGE_STR_FACT); createMembershipSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); updateMembershipSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteMembershipSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -1347,6 +1417,7 @@ protected Builder(ClientContext clientContext) { deleteSpaceSettings, completeImportSpaceSettings, findDirectMessageSettings, + findGroupChatsSettings, createMembershipSettings, updateMembershipSettings, deleteMembershipSettings, @@ -1395,6 +1466,7 @@ protected Builder(ChatServiceStubSettings settings) { deleteSpaceSettings = settings.deleteSpaceSettings.toBuilder(); completeImportSpaceSettings = settings.completeImportSpaceSettings.toBuilder(); findDirectMessageSettings = settings.findDirectMessageSettings.toBuilder(); + findGroupChatsSettings = settings.findGroupChatsSettings.toBuilder(); createMembershipSettings = settings.createMembershipSettings.toBuilder(); updateMembershipSettings = settings.updateMembershipSettings.toBuilder(); deleteMembershipSettings = settings.deleteMembershipSettings.toBuilder(); @@ -1442,6 +1514,7 @@ protected Builder(ChatServiceStubSettings settings) { deleteSpaceSettings, completeImportSpaceSettings, findDirectMessageSettings, + findGroupChatsSettings, createMembershipSettings, updateMembershipSettings, deleteMembershipSettings, @@ -1583,6 +1656,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder + .findGroupChatsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .createMembershipSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -1820,6 +1898,13 @@ public UnaryCallSettings.Builder findDirectMess return findDirectMessageSettings; } + /** Returns the builder for the settings used for calls to findGroupChats. */ + public PagedCallSettings.Builder< + FindGroupChatsRequest, FindGroupChatsResponse, FindGroupChatsPagedResponse> + findGroupChatsSettings() { + return findGroupChatsSettings; + } + /** Returns the builder for the settings used for calls to createMembership. */ public UnaryCallSettings.Builder createMembershipSettings() { diff --git a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/GrpcChatServiceStub.java b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/GrpcChatServiceStub.java index 79293686d5c3..54f7371c6f4b 100644 --- a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/GrpcChatServiceStub.java +++ b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/GrpcChatServiceStub.java @@ -16,6 +16,7 @@ package com.google.chat.v1.stub; +import static com.google.chat.v1.ChatServiceClient.FindGroupChatsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListCustomEmojisPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMembershipsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMessagesPagedResponse; @@ -50,6 +51,8 @@ import com.google.chat.v1.DeleteSectionRequest; import com.google.chat.v1.DeleteSpaceRequest; import com.google.chat.v1.FindDirectMessageRequest; +import com.google.chat.v1.FindGroupChatsRequest; +import com.google.chat.v1.FindGroupChatsResponse; import com.google.chat.v1.GetAttachmentRequest; import com.google.chat.v1.GetCustomEmojiRequest; import com.google.chat.v1.GetMembershipRequest; @@ -301,6 +304,18 @@ public class GrpcChatServiceStub extends ChatServiceStub { .setSampledToLocalTracing(true) .build(); + private static final MethodDescriptor + findGroupChatsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.chat.v1.ChatService/FindGroupChats") + .setRequestMarshaller( + ProtoUtils.marshaller(FindGroupChatsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(FindGroupChatsResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + private static final MethodDescriptor createMembershipMethodDescriptor = MethodDescriptor.newBuilder() @@ -603,6 +618,9 @@ public class GrpcChatServiceStub extends ChatServiceStub { private final UnaryCallable completeImportSpaceCallable; private final UnaryCallable findDirectMessageCallable; + private final UnaryCallable findGroupChatsCallable; + private final UnaryCallable + findGroupChatsPagedCallable; private final UnaryCallable createMembershipCallable; private final UnaryCallable updateMembershipCallable; private final UnaryCallable deleteMembershipCallable; @@ -853,6 +871,11 @@ protected GrpcChatServiceStub( GrpcCallSettings.newBuilder() .setMethodDescriptor(findDirectMessageMethodDescriptor) .build(); + GrpcCallSettings + findGroupChatsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(findGroupChatsMethodDescriptor) + .build(); GrpcCallSettings createMembershipTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(createMembershipMethodDescriptor) @@ -1185,6 +1208,12 @@ protected GrpcChatServiceStub( findDirectMessageTransportSettings, settings.findDirectMessageSettings(), clientContext); + this.findGroupChatsCallable = + callableFactory.createUnaryCallable( + findGroupChatsTransportSettings, settings.findGroupChatsSettings(), clientContext); + this.findGroupChatsPagedCallable = + callableFactory.createPagedCallable( + findGroupChatsTransportSettings, settings.findGroupChatsSettings(), clientContext); this.createMembershipCallable = callableFactory.createUnaryCallable( createMembershipTransportSettings, settings.createMembershipSettings(), clientContext); @@ -1408,6 +1437,17 @@ public UnaryCallable findDirectMessageCallable( return findDirectMessageCallable; } + @Override + public UnaryCallable findGroupChatsCallable() { + return findGroupChatsCallable; + } + + @Override + public UnaryCallable + findGroupChatsPagedCallable() { + return findGroupChatsPagedCallable; + } + @Override public UnaryCallable createMembershipCallable() { return createMembershipCallable; diff --git a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/HttpJsonChatServiceStub.java b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/HttpJsonChatServiceStub.java index 860c48a928df..e218f956a5db 100644 --- a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/HttpJsonChatServiceStub.java +++ b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/HttpJsonChatServiceStub.java @@ -16,6 +16,7 @@ package com.google.chat.v1.stub; +import static com.google.chat.v1.ChatServiceClient.FindGroupChatsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListCustomEmojisPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMembershipsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMessagesPagedResponse; @@ -55,6 +56,8 @@ import com.google.chat.v1.DeleteSectionRequest; import com.google.chat.v1.DeleteSpaceRequest; import com.google.chat.v1.FindDirectMessageRequest; +import com.google.chat.v1.FindGroupChatsRequest; +import com.google.chat.v1.FindGroupChatsResponse; import com.google.chat.v1.GetAttachmentRequest; import com.google.chat.v1.GetCustomEmojiRequest; import com.google.chat.v1.GetMembershipRequest; @@ -789,6 +792,44 @@ public class HttpJsonChatServiceStub extends ChatServiceStub { .build()) .build(); + private static final ApiMethodDescriptor + findGroupChatsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.chat.v1.ChatService/FindGroupChats") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/spaces:findGroupChats", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam( + fields, "spaceView", request.getSpaceViewValue()); + serializer.putQueryParam(fields, "users", request.getUsersList()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FindGroupChatsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor createMembershipMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -1700,6 +1741,9 @@ public class HttpJsonChatServiceStub extends ChatServiceStub { private final UnaryCallable completeImportSpaceCallable; private final UnaryCallable findDirectMessageCallable; + private final UnaryCallable findGroupChatsCallable; + private final UnaryCallable + findGroupChatsPagedCallable; private final UnaryCallable createMembershipCallable; private final UnaryCallable updateMembershipCallable; private final UnaryCallable deleteMembershipCallable; @@ -1969,6 +2013,12 @@ protected HttpJsonChatServiceStub( .setMethodDescriptor(findDirectMessageMethodDescriptor) .setTypeRegistry(typeRegistry) .build(); + HttpJsonCallSettings + findGroupChatsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(findGroupChatsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); HttpJsonCallSettings createMembershipTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(createMembershipMethodDescriptor) @@ -2327,6 +2377,12 @@ protected HttpJsonChatServiceStub( findDirectMessageTransportSettings, settings.findDirectMessageSettings(), clientContext); + this.findGroupChatsCallable = + callableFactory.createUnaryCallable( + findGroupChatsTransportSettings, settings.findGroupChatsSettings(), clientContext); + this.findGroupChatsPagedCallable = + callableFactory.createPagedCallable( + findGroupChatsTransportSettings, settings.findGroupChatsSettings(), clientContext); this.createMembershipCallable = callableFactory.createUnaryCallable( createMembershipTransportSettings, settings.createMembershipSettings(), clientContext); @@ -2454,6 +2510,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(deleteSpaceMethodDescriptor); methodDescriptors.add(completeImportSpaceMethodDescriptor); methodDescriptors.add(findDirectMessageMethodDescriptor); + methodDescriptors.add(findGroupChatsMethodDescriptor); methodDescriptors.add(createMembershipMethodDescriptor); methodDescriptors.add(updateMembershipMethodDescriptor); methodDescriptors.add(deleteMembershipMethodDescriptor); @@ -2594,6 +2651,17 @@ public UnaryCallable findDirectMessageCallable( return findDirectMessageCallable; } + @Override + public UnaryCallable findGroupChatsCallable() { + return findGroupChatsCallable; + } + + @Override + public UnaryCallable + findGroupChatsPagedCallable() { + return findGroupChatsPagedCallable; + } + @Override public UnaryCallable createMembershipCallable() { return createMembershipCallable; diff --git a/java-chat/google-cloud-chat/src/main/resources/META-INF/native-image/com.google.chat.v1/reflect-config.json b/java-chat/google-cloud-chat/src/main/resources/META-INF/native-image/com.google.chat.v1/reflect-config.json index e15da918c968..380734d403e7 100644 --- a/java-chat/google-cloud-chat/src/main/resources/META-INF/native-image/com.google.chat.v1/reflect-config.json +++ b/java-chat/google-cloud-chat/src/main/resources/META-INF/native-image/com.google.chat.v1/reflect-config.json @@ -2312,6 +2312,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.chat.v1.FindGroupChatsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.chat.v1.FindGroupChatsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.chat.v1.FindGroupChatsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.chat.v1.FindGroupChatsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.chat.v1.ForwardedMetadata", "queryAllDeclaredConstructors": true, @@ -3779,6 +3815,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.chat.v1.SpaceView", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.chat.v1.Thread", "queryAllDeclaredConstructors": true, diff --git a/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/ChatServiceClientHttpJsonTest.java b/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/ChatServiceClientHttpJsonTest.java index 9a326688ccc6..102c5df63892 100644 --- a/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/ChatServiceClientHttpJsonTest.java +++ b/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/ChatServiceClientHttpJsonTest.java @@ -16,6 +16,7 @@ package com.google.chat.v1; +import static com.google.chat.v1.ChatServiceClient.FindGroupChatsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListCustomEmojisPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMembershipsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMessagesPagedResponse; @@ -1656,6 +1657,68 @@ public void findDirectMessageExceptionTest() throws Exception { } } + @Test + public void findGroupChatsTest() throws Exception { + Space responsesElement = Space.newBuilder().build(); + FindGroupChatsResponse expectedResponse = + FindGroupChatsResponse.newBuilder() + .setNextPageToken("") + .addAllSpaces(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + FindGroupChatsRequest request = + FindGroupChatsRequest.newBuilder() + .addAllUsers(new ArrayList()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setSpaceView(SpaceView.forNumber(0)) + .build(); + + FindGroupChatsPagedResponse pagedListResponse = client.findGroupChats(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSpacesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void findGroupChatsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FindGroupChatsRequest request = + FindGroupChatsRequest.newBuilder() + .addAllUsers(new ArrayList()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setSpaceView(SpaceView.forNumber(0)) + .build(); + client.findGroupChats(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void createMembershipTest() throws Exception { Membership expectedResponse = diff --git a/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/ChatServiceClientTest.java b/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/ChatServiceClientTest.java index b6817f027887..e0a31917330a 100644 --- a/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/ChatServiceClientTest.java +++ b/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/ChatServiceClientTest.java @@ -16,6 +16,7 @@ package com.google.chat.v1; +import static com.google.chat.v1.ChatServiceClient.FindGroupChatsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListCustomEmojisPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMembershipsPagedResponse; import static com.google.chat.v1.ChatServiceClient.ListMessagesPagedResponse; @@ -1412,6 +1413,65 @@ public void findDirectMessageExceptionTest() throws Exception { } } + @Test + public void findGroupChatsTest() throws Exception { + Space responsesElement = Space.newBuilder().build(); + FindGroupChatsResponse expectedResponse = + FindGroupChatsResponse.newBuilder() + .setNextPageToken("") + .addAllSpaces(Arrays.asList(responsesElement)) + .build(); + mockChatService.addResponse(expectedResponse); + + FindGroupChatsRequest request = + FindGroupChatsRequest.newBuilder() + .addAllUsers(new ArrayList()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setSpaceView(SpaceView.forNumber(0)) + .build(); + + FindGroupChatsPagedResponse pagedListResponse = client.findGroupChats(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSpacesList().get(0), resources.get(0)); + + List actualRequests = mockChatService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + FindGroupChatsRequest actualRequest = ((FindGroupChatsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getUsersList(), actualRequest.getUsersList()); + Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize()); + Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken()); + Assert.assertEquals(request.getSpaceView(), actualRequest.getSpaceView()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void findGroupChatsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockChatService.addException(exception); + + try { + FindGroupChatsRequest request = + FindGroupChatsRequest.newBuilder() + .addAllUsers(new ArrayList()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setSpaceView(SpaceView.forNumber(0)) + .build(); + client.findGroupChats(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void createMembershipTest() throws Exception { Membership expectedResponse = diff --git a/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/MockChatServiceImpl.java b/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/MockChatServiceImpl.java index 33c98f3ce115..276c57293fa2 100644 --- a/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/MockChatServiceImpl.java +++ b/java-chat/google-cloud-chat/src/test/java/com/google/chat/v1/MockChatServiceImpl.java @@ -431,6 +431,27 @@ public void findDirectMessage( } } + @Override + public void findGroupChats( + FindGroupChatsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof FindGroupChatsResponse) { + requests.add(request); + responseObserver.onNext(((FindGroupChatsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method FindGroupChats, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + FindGroupChatsResponse.class.getName(), + Exception.class.getName()))); + } + } + @Override public void createMembership( CreateMembershipRequest request, StreamObserver responseObserver) { diff --git a/java-chat/grpc-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceGrpc.java b/java-chat/grpc-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceGrpc.java index ff694f9e63de..9b1af68b3d96 100644 --- a/java-chat/grpc-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceGrpc.java +++ b/java-chat/grpc-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceGrpc.java @@ -750,6 +750,48 @@ private ChatServiceGrpc() {} return getFindDirectMessageMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.chat.v1.FindGroupChatsRequest, com.google.chat.v1.FindGroupChatsResponse> + getFindGroupChatsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FindGroupChats", + requestType = com.google.chat.v1.FindGroupChatsRequest.class, + responseType = com.google.chat.v1.FindGroupChatsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.chat.v1.FindGroupChatsRequest, com.google.chat.v1.FindGroupChatsResponse> + getFindGroupChatsMethod() { + io.grpc.MethodDescriptor< + com.google.chat.v1.FindGroupChatsRequest, com.google.chat.v1.FindGroupChatsResponse> + getFindGroupChatsMethod; + if ((getFindGroupChatsMethod = ChatServiceGrpc.getFindGroupChatsMethod) == null) { + synchronized (ChatServiceGrpc.class) { + if ((getFindGroupChatsMethod = ChatServiceGrpc.getFindGroupChatsMethod) == null) { + ChatServiceGrpc.getFindGroupChatsMethod = + getFindGroupChatsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FindGroupChats")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.chat.v1.FindGroupChatsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.chat.v1.FindGroupChatsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ChatServiceMethodDescriptorSupplier("FindGroupChats")) + .build(); + } + } + } + return getFindGroupChatsMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.chat.v1.CreateMembershipRequest, com.google.chat.v1.Membership> getCreateMembershipMethod; @@ -2468,6 +2510,35 @@ default void findDirectMessage( getFindDirectMessageMethod(), responseObserver); } + /** + * + * + *
    +     * Returns all spaces with `spaceType == GROUP_CHAT`, whose
    +     * human memberships contain exactly the calling user, and the users specified
    +     * in `FindGroupChatsRequest.users`. Only members that have joined the
    +     * conversation are supported. For an example, see [Find group
    +     * chats](https://developers.google.com/workspace/chat/find-group-chats).
    +     * If the calling user blocks, or is blocked by, some users, and no spaces
    +     * with the entire specified set of users are found, this method returns
    +     * spaces that don't include the blocked or blocking users.
    +     * The specified set of users must contain only human (non-app) memberships.
    +     * A request that contains non-human users doesn't return any spaces.
    +     * Requires [user
    +     * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
    +     * with one of the following [authorization
    +     * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
    +     *   - `https://www.googleapis.com/auth/chat.memberships.readonly`
    +     *   - `https://www.googleapis.com/auth/chat.memberships`
    +     * 
    + */ + default void findGroupChats( + com.google.chat.v1.FindGroupChatsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFindGroupChatsMethod(), responseObserver); + } + /** * * @@ -3857,6 +3928,37 @@ public void findDirectMessage( responseObserver); } + /** + * + * + *
    +     * Returns all spaces with `spaceType == GROUP_CHAT`, whose
    +     * human memberships contain exactly the calling user, and the users specified
    +     * in `FindGroupChatsRequest.users`. Only members that have joined the
    +     * conversation are supported. For an example, see [Find group
    +     * chats](https://developers.google.com/workspace/chat/find-group-chats).
    +     * If the calling user blocks, or is blocked by, some users, and no spaces
    +     * with the entire specified set of users are found, this method returns
    +     * spaces that don't include the blocked or blocking users.
    +     * The specified set of users must contain only human (non-app) memberships.
    +     * A request that contains non-human users doesn't return any spaces.
    +     * Requires [user
    +     * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
    +     * with one of the following [authorization
    +     * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
    +     *   - `https://www.googleapis.com/auth/chat.memberships.readonly`
    +     *   - `https://www.googleapis.com/auth/chat.memberships`
    +     * 
    + */ + public void findGroupChats( + com.google.chat.v1.FindGroupChatsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFindGroupChatsMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -5231,6 +5333,34 @@ public com.google.chat.v1.Space findDirectMessage( getChannel(), getFindDirectMessageMethod(), getCallOptions(), request); } + /** + * + * + *
    +     * Returns all spaces with `spaceType == GROUP_CHAT`, whose
    +     * human memberships contain exactly the calling user, and the users specified
    +     * in `FindGroupChatsRequest.users`. Only members that have joined the
    +     * conversation are supported. For an example, see [Find group
    +     * chats](https://developers.google.com/workspace/chat/find-group-chats).
    +     * If the calling user blocks, or is blocked by, some users, and no spaces
    +     * with the entire specified set of users are found, this method returns
    +     * spaces that don't include the blocked or blocking users.
    +     * The specified set of users must contain only human (non-app) memberships.
    +     * A request that contains non-human users doesn't return any spaces.
    +     * Requires [user
    +     * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
    +     * with one of the following [authorization
    +     * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
    +     *   - `https://www.googleapis.com/auth/chat.memberships.readonly`
    +     *   - `https://www.googleapis.com/auth/chat.memberships`
    +     * 
    + */ + public com.google.chat.v1.FindGroupChatsResponse findGroupChats( + com.google.chat.v1.FindGroupChatsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getFindGroupChatsMethod(), getCallOptions(), request); + } + /** * * @@ -6529,6 +6659,34 @@ public com.google.chat.v1.Space findDirectMessage( getChannel(), getFindDirectMessageMethod(), getCallOptions(), request); } + /** + * + * + *
    +     * Returns all spaces with `spaceType == GROUP_CHAT`, whose
    +     * human memberships contain exactly the calling user, and the users specified
    +     * in `FindGroupChatsRequest.users`. Only members that have joined the
    +     * conversation are supported. For an example, see [Find group
    +     * chats](https://developers.google.com/workspace/chat/find-group-chats).
    +     * If the calling user blocks, or is blocked by, some users, and no spaces
    +     * with the entire specified set of users are found, this method returns
    +     * spaces that don't include the blocked or blocking users.
    +     * The specified set of users must contain only human (non-app) memberships.
    +     * A request that contains non-human users doesn't return any spaces.
    +     * Requires [user
    +     * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
    +     * with one of the following [authorization
    +     * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
    +     *   - `https://www.googleapis.com/auth/chat.memberships.readonly`
    +     *   - `https://www.googleapis.com/auth/chat.memberships`
    +     * 
    + */ + public com.google.chat.v1.FindGroupChatsResponse findGroupChats( + com.google.chat.v1.FindGroupChatsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFindGroupChatsMethod(), getCallOptions(), request); + } + /** * * @@ -7836,6 +7994,35 @@ public com.google.common.util.concurrent.ListenableFuture + * Returns all spaces with `spaceType == GROUP_CHAT`, whose + * human memberships contain exactly the calling user, and the users specified + * in `FindGroupChatsRequest.users`. Only members that have joined the + * conversation are supported. For an example, see [Find group + * chats](https://developers.google.com/workspace/chat/find-group-chats). + * If the calling user blocks, or is blocked by, some users, and no spaces + * with the entire specified set of users are found, this method returns + * spaces that don't include the blocked or blocking users. + * The specified set of users must contain only human (non-app) memberships. + * A request that contains non-human users doesn't return any spaces. + * Requires [user + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.memberships.readonly` + * - `https://www.googleapis.com/auth/chat.memberships` + * + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.chat.v1.FindGroupChatsResponse> + findGroupChats(com.google.chat.v1.FindGroupChatsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFindGroupChatsMethod(), getCallOptions()), request); + } + /** * * @@ -8510,30 +8697,31 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -8648,6 +8836,12 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.chat.v1.FindDirectMessageRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_FIND_GROUP_CHATS: + serviceImpl.findGroupChats( + (com.google.chat.v1.FindGroupChatsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; case METHODID_CREATE_MEMBERSHIP: serviceImpl.createMembership( (com.google.chat.v1.CreateMembershipRequest) request, @@ -8902,6 +9096,12 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser new MethodHandlers< com.google.chat.v1.FindDirectMessageRequest, com.google.chat.v1.Space>( service, METHODID_FIND_DIRECT_MESSAGE))) + .addMethod( + getFindGroupChatsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.chat.v1.FindGroupChatsRequest, + com.google.chat.v1.FindGroupChatsResponse>(service, METHODID_FIND_GROUP_CHATS))) .addMethod( getCreateMembershipMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -9122,6 +9322,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getDeleteSpaceMethod()) .addMethod(getCompleteImportSpaceMethod()) .addMethod(getFindDirectMessageMethod()) + .addMethod(getFindGroupChatsMethod()) .addMethod(getCreateMembershipMethod()) .addMethod(getUpdateMembershipMethod()) .addMethod(getDeleteMembershipMethod()) diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java index 2af0aa39dbc3..5139ea4ce4fc 100644 --- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java +++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java @@ -60,7 +60,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_setting.proto\032%google/chat/v1/space_rea" + "d_state.proto\032 google/chat/v1/space_setu" + "p.proto\032&google/chat/v1/thread_read_stat" - + "e.proto\032\033google/protobuf/empty.proto2\314?\n" + + "e.proto\032\033google/protobuf/empty.proto2\321@\n" + "\013ChatService\022\233\001\n\rCreateMessage\022$.google." + "chat.v1.CreateMessageRequest\032\027.google.ch" + "at.v1.Message\"K\332A\031parent,message,message" @@ -121,154 +121,158 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/*}:completeImport:\001*\022z\n\021FindDirectMessa" + "ge\022(.google.chat.v1.FindDirectMessageReq" + "uest\032\025.google.chat.v1.Space\"$\202\323\344\223\002\036\022\034/v1" - + "/spaces:findDirectMessage\022\236\001\n\020CreateMemb" - + "ership\022\'.google.chat.v1.CreateMembership" - + "Request\032\032.google.chat.v1.Membership\"E\332A\021" - + "parent,membership\202\323\344\223\002+\"\035/v1/{parent=spa" - + "ces/*}/members:\nmembership\022\256\001\n\020UpdateMem" - + "bership\022\'.google.chat.v1.UpdateMembershi" - + "pRequest\032\032.google.chat.v1.Membership\"U\332A" - + "\026membership,update_mask\202\323\344\223\00262(/v1/{memb" - + "ership.name=spaces/*/members/*}:\nmembers" - + "hip\022\205\001\n\020DeleteMembership\022\'.google.chat.v" - + "1.DeleteMembershipRequest\032\032.google.chat." - + "v1.Membership\",\332A\004name\202\323\344\223\002\037*\035/v1/{name=" - + "spaces/*/members/*}\022\241\001\n\016CreateReaction\022%" - + ".google.chat.v1.CreateReactionRequest\032\030." - + "google.chat.v1.Reaction\"N\332A\017parent,react" - + "ion\202\323\344\223\0026\"*/v1/{parent=spaces/*/messages" - + "/*}/reactions:\010reaction\022\231\001\n\rListReaction" - + "s\022$.google.chat.v1.ListReactionsRequest\032" - + "%.google.chat.v1.ListReactionsResponse\";" - + "\332A\006parent\202\323\344\223\002,\022*/v1/{parent=spaces/*/me" - + "ssages/*}/reactions\022\212\001\n\016DeleteReaction\022%" - + ".google.chat.v1.DeleteReactionRequest\032\026." - + "google.protobuf.Empty\"9\332A\004name\202\323\344\223\002,**/v" - + "1/{name=spaces/*/messages/*/reactions/*}" - + "\022\221\001\n\021CreateCustomEmoji\022(.google.chat.v1." - + "CreateCustomEmojiRequest\032\033.google.chat.v" - + "1.CustomEmoji\"5\332A\014custom_emoji\202\323\344\223\002 \"\020/v" - + "1/customEmojis:\014custom_emoji\022~\n\016GetCusto" - + "mEmoji\022%.google.chat.v1.GetCustomEmojiRe" - + "quest\032\033.google.chat.v1.CustomEmoji\"(\332A\004n" - + "ame\202\323\344\223\002\033\022\031/v1/{name=customEmojis/*}\022\202\001\n" - + "\020ListCustomEmojis\022\'.google.chat.v1.ListC" - + "ustomEmojisRequest\032(.google.chat.v1.List" - + "CustomEmojisResponse\"\033\332A\000\202\323\344\223\002\022\022\020/v1/cus" - + "tomEmojis\022\177\n\021DeleteCustomEmoji\022(.google." - + "chat.v1.DeleteCustomEmojiRequest\032\026.googl" - + "e.protobuf.Empty\"(\332A\004name\202\323\344\223\002\033*\031/v1/{na" - + "me=customEmojis/*}\022\230\001\n\021GetSpaceReadState" - + "\022(.google.chat.v1.GetSpaceReadStateReque" - + "st\032\036.google.chat.v1.SpaceReadState\"9\332A\004n" - + "ame\202\323\344\223\002,\022*/v1/{name=users/*/spaces/*/sp" - + "aceReadState}\022\331\001\n\024UpdateSpaceReadState\022+" - + ".google.chat.v1.UpdateSpaceReadStateRequ" - + "est\032\036.google.chat.v1.SpaceReadState\"t\332A\034" - + "space_read_state,update_mask\202\323\344\223\002O2;/v1/" - + "{space_read_state.name=users/*/spaces/*/" - + "spaceReadState}:\020space_read_state\022\246\001\n\022Ge" - + "tThreadReadState\022).google.chat.v1.GetThr" - + "eadReadStateRequest\032\037.google.chat.v1.Thr" - + "eadReadState\"D\332A\004name\202\323\344\223\0027\0225/v1/{name=u" - + "sers/*/spaces/*/threads/*/threadReadStat" - + "e}\022\203\001\n\rGetSpaceEvent\022$.google.chat.v1.Ge" - + "tSpaceEventRequest\032\032.google.chat.v1.Spac" - + "eEvent\"0\332A\004name\202\323\344\223\002#\022!/v1/{name=spaces/" - + "*/spaceEvents/*}\022\235\001\n\017ListSpaceEvents\022&.g" - + "oogle.chat.v1.ListSpaceEventsRequest\032\'.g" - + "oogle.chat.v1.ListSpaceEventsResponse\"9\332" - + "A\rparent,filter\202\323\344\223\002#\022!/v1/{parent=space" - + "s/*}/spaceEvents\022\300\001\n\033GetSpaceNotificatio" - + "nSetting\0222.google.chat.v1.GetSpaceNotifi" - + "cationSettingRequest\032(.google.chat.v1.Sp" - + "aceNotificationSetting\"C\332A\004name\202\323\344\223\0026\0224/" - + "v1/{name=users/*/spaces/*/spaceNotificat" - + "ionSetting}\022\240\002\n\036UpdateSpaceNotificationS" - + "etting\0225.google.chat.v1.UpdateSpaceNotif" - + "icationSettingRequest\032(.google.chat.v1.S" - + "paceNotificationSetting\"\234\001\332A&space_notif" - + "ication_setting,update_mask\202\323\344\223\002m2O/v1/{" - + "space_notification_setting.name=users/*/" - + "spaces/*/spaceNotificationSetting}:\032spac" - + "e_notification_setting\022\217\001\n\rCreateSection" - + "\022$.google.chat.v1.CreateSectionRequest\032\027" - + ".google.chat.v1.Section\"?\332A\016parent,secti" - + "on\202\323\344\223\002(\"\035/v1/{parent=users/*}/sections:" - + "\007section\022{\n\rDeleteSection\022$.google.chat." - + "v1.DeleteSectionRequest\032\026.google.protobu" - + "f.Empty\",\332A\004name\202\323\344\223\002\037*\035/v1/{name=users/" - + "*/sections/*}\022\234\001\n\rUpdateSection\022$.google" - + ".chat.v1.UpdateSectionRequest\032\027.google.c" - + "hat.v1.Section\"L\332A\023section,update_mask\202\323" - + "\344\223\00202%/v1/{section.name=users/*/sections" - + "/*}:\007section\022\211\001\n\014ListSections\022#.google.c" - + "hat.v1.ListSectionsRequest\032$.google.chat" - + ".v1.ListSectionsResponse\".\332A\006parent\202\323\344\223\002" - + "\037\022\035/v1/{parent=users/*}/sections\022\225\001\n\017Pos" - + "itionSection\022&.google.chat.v1.PositionSe" - + "ctionRequest\032\'.google.chat.v1.PositionSe" - + "ctionResponse\"1\202\323\344\223\002+\"&/v1/{name=users/*" - + "/sections/*}:position:\001*\022\235\001\n\020ListSection" - + "Items\022\'.google.chat.v1.ListSectionItemsR" - + "equest\032(.google.chat.v1.ListSectionItems" - + "Response\"6\332A\006parent\202\323\344\223\002\'\022%/v1/{parent=u" - + "sers/*/sections/*}/items\022\257\001\n\017MoveSection" - + "Item\022&.google.chat.v1.MoveSectionItemReq" - + "uest\032\'.google.chat.v1.MoveSectionItemRes" - + "ponse\"K\332A\023name,target_section\202\323\344\223\002/\"*/v1" - + "/{name=users/*/sections/*/items/*}:move:" - + "\001*\032\276\016\312A\023chat.googleapis.com\322A\244\016https://w" - + "ww.googleapis.com/auth/chat.admin.delete" - + ",https://www.googleapis.com/auth/chat.ad" - + "min.memberships,https://www.googleapis.c" - + "om/auth/chat.admin.memberships.readonly," - + "https://www.googleapis.com/auth/chat.adm" - + "in.spaces,https://www.googleapis.com/aut" - + "h/chat.admin.spaces.readonly,https://www" - + ".googleapis.com/auth/chat.app.delete,htt" - + "ps://www.googleapis.com/auth/chat.app.me" - + "mberships,https://www.googleapis.com/aut" - + "h/chat.app.memberships.readonly,https://" - + "www.googleapis.com/auth/chat.app.message" - + "s.readonly,https://www.googleapis.com/au" - + "th/chat.app.spaces,https://www.googleapi" - + "s.com/auth/chat.app.spaces.create,https:" - + "//www.googleapis.com/auth/chat.app.space" - + "s.readonly,https://www.googleapis.com/au" - + "th/chat.bot,https://www.googleapis.com/a" - + "uth/chat.customemojis,https://www.google" - + "apis.com/auth/chat.customemojis.readonly" - + ",https://www.googleapis.com/auth/chat.de" - + "lete,https://www.googleapis.com/auth/cha" - + "t.import,https://www.googleapis.com/auth" - + "/chat.memberships,https://www.googleapis" - + ".com/auth/chat.memberships.app,https://w" + + "/spaces:findDirectMessage\022\202\001\n\016FindGroupC" + + "hats\022%.google.chat.v1.FindGroupChatsRequ" + + "est\032&.google.chat.v1.FindGroupChatsRespo" + + "nse\"!\202\323\344\223\002\033\022\031/v1/spaces:findGroupChats\022\236" + + "\001\n\020CreateMembership\022\'.google.chat.v1.Cre" + + "ateMembershipRequest\032\032.google.chat.v1.Me" + + "mbership\"E\332A\021parent,membership\202\323\344\223\002+\"\035/v" + + "1/{parent=spaces/*}/members:\nmembership\022" + + "\256\001\n\020UpdateMembership\022\'.google.chat.v1.Up" + + "dateMembershipRequest\032\032.google.chat.v1.M" + + "embership\"U\332A\026membership,update_mask\202\323\344\223" + + "\00262(/v1/{membership.name=spaces/*/member" + + "s/*}:\nmembership\022\205\001\n\020DeleteMembership\022\'." + + "google.chat.v1.DeleteMembershipRequest\032\032" + + ".google.chat.v1.Membership\",\332A\004name\202\323\344\223\002" + + "\037*\035/v1/{name=spaces/*/members/*}\022\241\001\n\016Cre" + + "ateReaction\022%.google.chat.v1.CreateReact" + + "ionRequest\032\030.google.chat.v1.Reaction\"N\332A" + + "\017parent,reaction\202\323\344\223\0026\"*/v1/{parent=spac" + + "es/*/messages/*}/reactions:\010reaction\022\231\001\n" + + "\rListReactions\022$.google.chat.v1.ListReac" + + "tionsRequest\032%.google.chat.v1.ListReacti" + + "onsResponse\";\332A\006parent\202\323\344\223\002,\022*/v1/{paren" + + "t=spaces/*/messages/*}/reactions\022\212\001\n\016Del" + + "eteReaction\022%.google.chat.v1.DeleteReact" + + "ionRequest\032\026.google.protobuf.Empty\"9\332A\004n" + + "ame\202\323\344\223\002,**/v1/{name=spaces/*/messages/*" + + "/reactions/*}\022\221\001\n\021CreateCustomEmoji\022(.go" + + "ogle.chat.v1.CreateCustomEmojiRequest\032\033." + + "google.chat.v1.CustomEmoji\"5\332A\014custom_em" + + "oji\202\323\344\223\002 \"\020/v1/customEmojis:\014custom_emoj" + + "i\022~\n\016GetCustomEmoji\022%.google.chat.v1.Get" + + "CustomEmojiRequest\032\033.google.chat.v1.Cust" + + "omEmoji\"(\332A\004name\202\323\344\223\002\033\022\031/v1/{name=custom" + + "Emojis/*}\022\202\001\n\020ListCustomEmojis\022\'.google." + + "chat.v1.ListCustomEmojisRequest\032(.google" + + ".chat.v1.ListCustomEmojisResponse\"\033\332A\000\202\323" + + "\344\223\002\022\022\020/v1/customEmojis\022\177\n\021DeleteCustomEm" + + "oji\022(.google.chat.v1.DeleteCustomEmojiRe" + + "quest\032\026.google.protobuf.Empty\"(\332A\004name\202\323" + + "\344\223\002\033*\031/v1/{name=customEmojis/*}\022\230\001\n\021GetS" + + "paceReadState\022(.google.chat.v1.GetSpaceR" + + "eadStateRequest\032\036.google.chat.v1.SpaceRe" + + "adState\"9\332A\004name\202\323\344\223\002,\022*/v1/{name=users/" + + "*/spaces/*/spaceReadState}\022\331\001\n\024UpdateSpa" + + "ceReadState\022+.google.chat.v1.UpdateSpace" + + "ReadStateRequest\032\036.google.chat.v1.SpaceR" + + "eadState\"t\332A\034space_read_state,update_mas" + + "k\202\323\344\223\002O2;/v1/{space_read_state.name=user" + + "s/*/spaces/*/spaceReadState}:\020space_read" + + "_state\022\246\001\n\022GetThreadReadState\022).google.c" + + "hat.v1.GetThreadReadStateRequest\032\037.googl" + + "e.chat.v1.ThreadReadState\"D\332A\004name\202\323\344\223\0027" + + "\0225/v1/{name=users/*/spaces/*/threads/*/t" + + "hreadReadState}\022\203\001\n\rGetSpaceEvent\022$.goog" + + "le.chat.v1.GetSpaceEventRequest\032\032.google" + + ".chat.v1.SpaceEvent\"0\332A\004name\202\323\344\223\002#\022!/v1/" + + "{name=spaces/*/spaceEvents/*}\022\235\001\n\017ListSp" + + "aceEvents\022&.google.chat.v1.ListSpaceEven" + + "tsRequest\032\'.google.chat.v1.ListSpaceEven" + + "tsResponse\"9\332A\rparent,filter\202\323\344\223\002#\022!/v1/" + + "{parent=spaces/*}/spaceEvents\022\300\001\n\033GetSpa" + + "ceNotificationSetting\0222.google.chat.v1.G" + + "etSpaceNotificationSettingRequest\032(.goog" + + "le.chat.v1.SpaceNotificationSetting\"C\332A\004" + + "name\202\323\344\223\0026\0224/v1/{name=users/*/spaces/*/s" + + "paceNotificationSetting}\022\240\002\n\036UpdateSpace" + + "NotificationSetting\0225.google.chat.v1.Upd" + + "ateSpaceNotificationSettingRequest\032(.goo" + + "gle.chat.v1.SpaceNotificationSetting\"\234\001\332" + + "A&space_notification_setting,update_mask" + + "\202\323\344\223\002m2O/v1/{space_notification_setting." + + "name=users/*/spaces/*/spaceNotificationS" + + "etting}:\032space_notification_setting\022\217\001\n\r" + + "CreateSection\022$.google.chat.v1.CreateSec" + + "tionRequest\032\027.google.chat.v1.Section\"?\332A" + + "\016parent,section\202\323\344\223\002(\"\035/v1/{parent=users" + + "/*}/sections:\007section\022{\n\rDeleteSection\022$" + + ".google.chat.v1.DeleteSectionRequest\032\026.g" + + "oogle.protobuf.Empty\",\332A\004name\202\323\344\223\002\037*\035/v1" + + "/{name=users/*/sections/*}\022\234\001\n\rUpdateSec" + + "tion\022$.google.chat.v1.UpdateSectionReque" + + "st\032\027.google.chat.v1.Section\"L\332A\023section," + + "update_mask\202\323\344\223\00202%/v1/{section.name=use" + + "rs/*/sections/*}:\007section\022\211\001\n\014ListSectio" + + "ns\022#.google.chat.v1.ListSectionsRequest\032" + + "$.google.chat.v1.ListSectionsResponse\".\332" + + "A\006parent\202\323\344\223\002\037\022\035/v1/{parent=users/*}/sec" + + "tions\022\225\001\n\017PositionSection\022&.google.chat." + + "v1.PositionSectionRequest\032\'.google.chat." + + "v1.PositionSectionResponse\"1\202\323\344\223\002+\"&/v1/" + + "{name=users/*/sections/*}:position:\001*\022\235\001" + + "\n\020ListSectionItems\022\'.google.chat.v1.List" + + "SectionItemsRequest\032(.google.chat.v1.Lis" + + "tSectionItemsResponse\"6\332A\006parent\202\323\344\223\002\'\022%" + + "/v1/{parent=users/*/sections/*}/items\022\257\001" + + "\n\017MoveSectionItem\022&.google.chat.v1.MoveS" + + "ectionItemRequest\032\'.google.chat.v1.MoveS" + + "ectionItemResponse\"K\332A\023name,target_secti" + + "on\202\323\344\223\002/\"*/v1/{name=users/*/sections/*/i" + + "tems/*}:move:\001*\032\276\016\312A\023chat.googleapis.com" + + "\322A\244\016https://www.googleapis.com/auth/chat" + + ".admin.delete,https://www.googleapis.com" + + "/auth/chat.admin.memberships,https://www" + + ".googleapis.com/auth/chat.admin.membersh" + + "ips.readonly,https://www.googleapis.com/" + + "auth/chat.admin.spaces,https://www.googl" + + "eapis.com/auth/chat.admin.spaces.readonl" + + "y,https://www.googleapis.com/auth/chat.a" + + "pp.delete,https://www.googleapis.com/aut" + + "h/chat.app.memberships,https://www.googl" + + "eapis.com/auth/chat.app.memberships.read" + + "only,https://www.googleapis.com/auth/cha" + + "t.app.messages.readonly,https://www.goog" + + "leapis.com/auth/chat.app.spaces,https://" + + "www.googleapis.com/auth/chat.app.spaces." + + "create,https://www.googleapis.com/auth/c" + + "hat.app.spaces.readonly,https://www.goog" + + "leapis.com/auth/chat.bot,https://www.goo" + + "gleapis.com/auth/chat.customemojis,https" + + "://www.googleapis.com/auth/chat.customem" + + "ojis.readonly,https://www.googleapis.com" + + "/auth/chat.delete,https://www.googleapis" + + ".com/auth/chat.import,https://www.google" + + "apis.com/auth/chat.memberships,https://w" + "ww.googleapis.com/auth/chat.memberships." - + "readonly,https://www.googleapis.com/auth" - + "/chat.messages,https://www.googleapis.co" - + "m/auth/chat.messages.create,https://www." - + "googleapis.com/auth/chat.messages.reacti" - + "ons,https://www.googleapis.com/auth/chat" - + ".messages.reactions.create,https://www.g" - + "oogleapis.com/auth/chat.messages.reactio" - + "ns.readonly,https://www.googleapis.com/a" - + "uth/chat.messages.readonly,https://www.g" - + "oogleapis.com/auth/chat.spaces,https://w" - + "ww.googleapis.com/auth/chat.spaces.creat" - + "e,https://www.googleapis.com/auth/chat.s" - + "paces.readonly,https://www.googleapis.co" - + "m/auth/chat.users.readstate,https://www." + + "app,https://www.googleapis.com/auth/chat" + + ".memberships.readonly,https://www.google" + + "apis.com/auth/chat.messages,https://www." + + "googleapis.com/auth/chat.messages.create" + + ",https://www.googleapis.com/auth/chat.me" + + "ssages.reactions,https://www.googleapis." + + "com/auth/chat.messages.reactions.create," + + "https://www.googleapis.com/auth/chat.mes" + + "sages.reactions.readonly,https://www.goo" + + "gleapis.com/auth/chat.messages.readonly," + + "https://www.googleapis.com/auth/chat.spa" + + "ces,https://www.googleapis.com/auth/chat" + + ".spaces.create,https://www.googleapis.co" + + "m/auth/chat.spaces.readonly,https://www." + "googleapis.com/auth/chat.users.readstate" - + ".readonly,https://www.googleapis.com/aut" - + "h/chat.users.sections,https://www.google" - + "apis.com/auth/chat.users.sections.readon" - + "ly,https://www.googleapis.com/auth/chat." - + "users.spacesettingsB\251\001\n\022com.google.chat." - + "v1B\020ChatServiceProtoP\001Z,cloud.google.com" - + "/go/chat/apiv1/chatpb;chatpb\242\002\013DYNAPIPro" - + "to\252\002\023Google.Apps.Chat.V1\312\002\023Google\\Apps\\C" - + "hat\\V1\352\002\026Google::Apps::Chat::V1b\006proto3" + + ",https://www.googleapis.com/auth/chat.us" + + "ers.readstate.readonly,https://www.googl" + + "eapis.com/auth/chat.users.sections,https" + + "://www.googleapis.com/auth/chat.users.se" + + "ctions.readonly,https://www.googleapis.c" + + "om/auth/chat.users.spacesettingsB\251\001\n\022com" + + ".google.chat.v1B\020ChatServiceProtoP\001Z,clo" + + "ud.google.com/go/chat/apiv1/chatpb;chatp" + + "b\242\002\013DYNAPIProto\252\002\023Google.Apps.Chat.V1\312\002\023" + + "Google\\Apps\\Chat\\V1\352\002\026Google::Apps::Chat" + + "::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsRequest.java new file mode 100644 index 000000000000..b973415cb584 --- /dev/null +++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsRequest.java @@ -0,0 +1,1431 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/chat/v1/space.proto +// Protobuf Java Version: 4.33.2 + +package com.google.chat.v1; + +/** + * + * + *
    + * A request to get group chat spaces based on user resources.
    + * 
    + * + * Protobuf type {@code google.chat.v1.FindGroupChatsRequest} + */ +@com.google.protobuf.Generated +public final class FindGroupChatsRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.chat.v1.FindGroupChatsRequest) + FindGroupChatsRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "FindGroupChatsRequest"); + } + + // Use FindGroupChatsRequest.newBuilder() to construct. + private FindGroupChatsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private FindGroupChatsRequest() { + users_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pageToken_ = ""; + spaceView_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.chat.v1.SpaceProto + .internal_static_google_chat_v1_FindGroupChatsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.chat.v1.SpaceProto + .internal_static_google_chat_v1_FindGroupChatsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.chat.v1.FindGroupChatsRequest.class, + com.google.chat.v1.FindGroupChatsRequest.Builder.class); + } + + public static final int USERS_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList users_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
    +   * Optional. Resource names of all human users in group chat with the calling
    +   * user. Chat apps can't be included in the request.
    +   *
    +   * The maximum number of users that can be specified in a single request is
    +   * `49`.
    +   *
    +   * Format: `users/{user}`, where `{user}` is either the `id` for the
    +   * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +   * People API, or the `id` for the
    +   * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +   * in the Directory API. For example, to find all group chats with the calling
    +   * user and two other users, with People API profile IDs `123456789` and
    +   * `987654321`, you can use `users/123456789` and `users/987654321`.
    +   * You can also use the email as an alias for `{user}`. For example,
    +   * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +   * Google Chat user.
    +   * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the users. + */ + public com.google.protobuf.ProtocolStringList getUsersList() { + return users_; + } + + /** + * + * + *
    +   * Optional. Resource names of all human users in group chat with the calling
    +   * user. Chat apps can't be included in the request.
    +   *
    +   * The maximum number of users that can be specified in a single request is
    +   * `49`.
    +   *
    +   * Format: `users/{user}`, where `{user}` is either the `id` for the
    +   * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +   * People API, or the `id` for the
    +   * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +   * in the Directory API. For example, to find all group chats with the calling
    +   * user and two other users, with People API profile IDs `123456789` and
    +   * `987654321`, you can use `users/123456789` and `users/987654321`.
    +   * You can also use the email as an alias for `{user}`. For example,
    +   * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +   * Google Chat user.
    +   * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of users. + */ + public int getUsersCount() { + return users_.size(); + } + + /** + * + * + *
    +   * Optional. Resource names of all human users in group chat with the calling
    +   * user. Chat apps can't be included in the request.
    +   *
    +   * The maximum number of users that can be specified in a single request is
    +   * `49`.
    +   *
    +   * Format: `users/{user}`, where `{user}` is either the `id` for the
    +   * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +   * People API, or the `id` for the
    +   * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +   * in the Directory API. For example, to find all group chats with the calling
    +   * user and two other users, with People API profile IDs `123456789` and
    +   * `987654321`, you can use `users/123456789` and `users/987654321`.
    +   * You can also use the email as an alias for `{user}`. For example,
    +   * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +   * Google Chat user.
    +   * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The users at the given index. + */ + public java.lang.String getUsers(int index) { + return users_.get(index); + } + + /** + * + * + *
    +   * Optional. Resource names of all human users in group chat with the calling
    +   * user. Chat apps can't be included in the request.
    +   *
    +   * The maximum number of users that can be specified in a single request is
    +   * `49`.
    +   *
    +   * Format: `users/{user}`, where `{user}` is either the `id` for the
    +   * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +   * People API, or the `id` for the
    +   * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +   * in the Directory API. For example, to find all group chats with the calling
    +   * user and two other users, with People API profile IDs `123456789` and
    +   * `987654321`, you can use `users/123456789` and `users/987654321`.
    +   * You can also use the email as an alias for `{user}`. For example,
    +   * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +   * Google Chat user.
    +   * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the users at the given index. + */ + public com.google.protobuf.ByteString getUsersBytes(int index) { + return users_.getByteString(index); + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + + /** + * + * + *
    +   * Optional. The maximum number of spaces to return. The service might return
    +   * fewer than this value.
    +   *
    +   * If unspecified, at most 10 spaces are returned.
    +   *
    +   * The maximum value is 30. If you use a value more than 30, it's
    +   * automatically changed to 30.
    +   *
    +   * Negative values return an `INVALID_ARGUMENT` error.
    +   * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + + /** + * + * + *
    +   * Optional. A page token, received from a previous call to find group chats.
    +   * Provide this parameter to retrieve the subsequent page.
    +   *
    +   * When paginating, all other parameters provided should match the call that
    +   * provided the token. Passing different values may lead to unexpected
    +   * results.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + + /** + * + * + *
    +   * Optional. A page token, received from a previous call to find group chats.
    +   * Provide this parameter to retrieve the subsequent page.
    +   *
    +   * When paginating, all other parameters provided should match the call that
    +   * provided the token. Passing different values may lead to unexpected
    +   * results.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SPACE_VIEW_FIELD_NUMBER = 4; + private int spaceView_ = 0; + + /** + * + * + *
    +   * Requested space view type. If unset, defaults to
    +   * `SPACE_VIEW_RESOURCE_NAME_ONLY`. Requests that specify
    +   * `SPACE_VIEW_EXPANDED` must include scopes that allow reading space data,
    +   * for example,
    +   * https://www.googleapis.com/auth/chat.spaces or
    +   * https://www.googleapis.com/auth/chat.spaces.readonly.
    +   * 
    + * + * .google.chat.v1.SpaceView space_view = 4; + * + * @return The enum numeric value on the wire for spaceView. + */ + @java.lang.Override + public int getSpaceViewValue() { + return spaceView_; + } + + /** + * + * + *
    +   * Requested space view type. If unset, defaults to
    +   * `SPACE_VIEW_RESOURCE_NAME_ONLY`. Requests that specify
    +   * `SPACE_VIEW_EXPANDED` must include scopes that allow reading space data,
    +   * for example,
    +   * https://www.googleapis.com/auth/chat.spaces or
    +   * https://www.googleapis.com/auth/chat.spaces.readonly.
    +   * 
    + * + * .google.chat.v1.SpaceView space_view = 4; + * + * @return The spaceView. + */ + @java.lang.Override + public com.google.chat.v1.SpaceView getSpaceView() { + com.google.chat.v1.SpaceView result = com.google.chat.v1.SpaceView.forNumber(spaceView_); + return result == null ? com.google.chat.v1.SpaceView.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); + } + if (spaceView_ != com.google.chat.v1.SpaceView.SPACE_VIEW_UNSPECIFIED.getNumber()) { + output.writeEnum(4, spaceView_); + } + for (int i = 0; i < users_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, users_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); + } + if (spaceView_ != com.google.chat.v1.SpaceView.SPACE_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, spaceView_); + } + { + int dataSize = 0; + for (int i = 0; i < users_.size(); i++) { + dataSize += computeStringSizeNoTag(users_.getRaw(i)); + } + size += dataSize; + size += 1 * getUsersList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.chat.v1.FindGroupChatsRequest)) { + return super.equals(obj); + } + com.google.chat.v1.FindGroupChatsRequest other = (com.google.chat.v1.FindGroupChatsRequest) obj; + + if (!getUsersList().equals(other.getUsersList())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (spaceView_ != other.spaceView_) 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 (getUsersCount() > 0) { + hash = (37 * hash) + USERS_FIELD_NUMBER; + hash = (53 * hash) + getUsersList().hashCode(); + } + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + SPACE_VIEW_FIELD_NUMBER; + hash = (53 * hash) + spaceView_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.chat.v1.FindGroupChatsRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.chat.v1.FindGroupChatsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.chat.v1.FindGroupChatsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.chat.v1.FindGroupChatsRequest 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.chat.v1.FindGroupChatsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.chat.v1.FindGroupChatsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.chat.v1.FindGroupChatsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.chat.v1.FindGroupChatsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.chat.v1.FindGroupChatsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.chat.v1.FindGroupChatsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.chat.v1.FindGroupChatsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.chat.v1.FindGroupChatsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.chat.v1.FindGroupChatsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * A request to get group chat spaces based on user resources.
    +   * 
    + * + * Protobuf type {@code google.chat.v1.FindGroupChatsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.chat.v1.FindGroupChatsRequest) + com.google.chat.v1.FindGroupChatsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.chat.v1.SpaceProto + .internal_static_google_chat_v1_FindGroupChatsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.chat.v1.SpaceProto + .internal_static_google_chat_v1_FindGroupChatsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.chat.v1.FindGroupChatsRequest.class, + com.google.chat.v1.FindGroupChatsRequest.Builder.class); + } + + // Construct using com.google.chat.v1.FindGroupChatsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + users_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pageSize_ = 0; + pageToken_ = ""; + spaceView_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.chat.v1.SpaceProto + .internal_static_google_chat_v1_FindGroupChatsRequest_descriptor; + } + + @java.lang.Override + public com.google.chat.v1.FindGroupChatsRequest getDefaultInstanceForType() { + return com.google.chat.v1.FindGroupChatsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.chat.v1.FindGroupChatsRequest build() { + com.google.chat.v1.FindGroupChatsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.chat.v1.FindGroupChatsRequest buildPartial() { + com.google.chat.v1.FindGroupChatsRequest result = + new com.google.chat.v1.FindGroupChatsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.chat.v1.FindGroupChatsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + users_.makeImmutable(); + result.users_ = users_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageToken_ = pageToken_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.spaceView_ = spaceView_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.chat.v1.FindGroupChatsRequest) { + return mergeFrom((com.google.chat.v1.FindGroupChatsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.chat.v1.FindGroupChatsRequest other) { + if (other == com.google.chat.v1.FindGroupChatsRequest.getDefaultInstance()) return this; + if (!other.users_.isEmpty()) { + if (users_.isEmpty()) { + users_ = other.users_; + bitField0_ |= 0x00000001; + } else { + ensureUsersIsMutable(); + users_.addAll(other.users_); + } + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.spaceView_ != 0) { + setSpaceViewValue(other.getSpaceViewValue()); + } + 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 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + spaceView_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUsersIsMutable(); + users_.add(s); + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList users_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureUsersIsMutable() { + if (!users_.isModifiable()) { + users_ = new com.google.protobuf.LazyStringArrayList(users_); + } + bitField0_ |= 0x00000001; + } + + /** + * + * + *
    +     * Optional. Resource names of all human users in group chat with the calling
    +     * user. Chat apps can't be included in the request.
    +     *
    +     * The maximum number of users that can be specified in a single request is
    +     * `49`.
    +     *
    +     * Format: `users/{user}`, where `{user}` is either the `id` for the
    +     * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +     * People API, or the `id` for the
    +     * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +     * in the Directory API. For example, to find all group chats with the calling
    +     * user and two other users, with People API profile IDs `123456789` and
    +     * `987654321`, you can use `users/123456789` and `users/987654321`.
    +     * You can also use the email as an alias for `{user}`. For example,
    +     * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +     * Google Chat user.
    +     * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the users. + */ + public com.google.protobuf.ProtocolStringList getUsersList() { + users_.makeImmutable(); + return users_; + } + + /** + * + * + *
    +     * Optional. Resource names of all human users in group chat with the calling
    +     * user. Chat apps can't be included in the request.
    +     *
    +     * The maximum number of users that can be specified in a single request is
    +     * `49`.
    +     *
    +     * Format: `users/{user}`, where `{user}` is either the `id` for the
    +     * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +     * People API, or the `id` for the
    +     * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +     * in the Directory API. For example, to find all group chats with the calling
    +     * user and two other users, with People API profile IDs `123456789` and
    +     * `987654321`, you can use `users/123456789` and `users/987654321`.
    +     * You can also use the email as an alias for `{user}`. For example,
    +     * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +     * Google Chat user.
    +     * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of users. + */ + public int getUsersCount() { + return users_.size(); + } + + /** + * + * + *
    +     * Optional. Resource names of all human users in group chat with the calling
    +     * user. Chat apps can't be included in the request.
    +     *
    +     * The maximum number of users that can be specified in a single request is
    +     * `49`.
    +     *
    +     * Format: `users/{user}`, where `{user}` is either the `id` for the
    +     * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +     * People API, or the `id` for the
    +     * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +     * in the Directory API. For example, to find all group chats with the calling
    +     * user and two other users, with People API profile IDs `123456789` and
    +     * `987654321`, you can use `users/123456789` and `users/987654321`.
    +     * You can also use the email as an alias for `{user}`. For example,
    +     * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +     * Google Chat user.
    +     * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The users at the given index. + */ + public java.lang.String getUsers(int index) { + return users_.get(index); + } + + /** + * + * + *
    +     * Optional. Resource names of all human users in group chat with the calling
    +     * user. Chat apps can't be included in the request.
    +     *
    +     * The maximum number of users that can be specified in a single request is
    +     * `49`.
    +     *
    +     * Format: `users/{user}`, where `{user}` is either the `id` for the
    +     * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +     * People API, or the `id` for the
    +     * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +     * in the Directory API. For example, to find all group chats with the calling
    +     * user and two other users, with People API profile IDs `123456789` and
    +     * `987654321`, you can use `users/123456789` and `users/987654321`.
    +     * You can also use the email as an alias for `{user}`. For example,
    +     * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +     * Google Chat user.
    +     * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the users at the given index. + */ + public com.google.protobuf.ByteString getUsersBytes(int index) { + return users_.getByteString(index); + } + + /** + * + * + *
    +     * Optional. Resource names of all human users in group chat with the calling
    +     * user. Chat apps can't be included in the request.
    +     *
    +     * The maximum number of users that can be specified in a single request is
    +     * `49`.
    +     *
    +     * Format: `users/{user}`, where `{user}` is either the `id` for the
    +     * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +     * People API, or the `id` for the
    +     * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +     * in the Directory API. For example, to find all group chats with the calling
    +     * user and two other users, with People API profile IDs `123456789` and
    +     * `987654321`, you can use `users/123456789` and `users/987654321`.
    +     * You can also use the email as an alias for `{user}`. For example,
    +     * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +     * Google Chat user.
    +     * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The users to set. + * @return This builder for chaining. + */ + public Builder setUsers(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUsersIsMutable(); + users_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Resource names of all human users in group chat with the calling
    +     * user. Chat apps can't be included in the request.
    +     *
    +     * The maximum number of users that can be specified in a single request is
    +     * `49`.
    +     *
    +     * Format: `users/{user}`, where `{user}` is either the `id` for the
    +     * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +     * People API, or the `id` for the
    +     * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +     * in the Directory API. For example, to find all group chats with the calling
    +     * user and two other users, with People API profile IDs `123456789` and
    +     * `987654321`, you can use `users/123456789` and `users/987654321`.
    +     * You can also use the email as an alias for `{user}`. For example,
    +     * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +     * Google Chat user.
    +     * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The users to add. + * @return This builder for chaining. + */ + public Builder addUsers(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUsersIsMutable(); + users_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Resource names of all human users in group chat with the calling
    +     * user. Chat apps can't be included in the request.
    +     *
    +     * The maximum number of users that can be specified in a single request is
    +     * `49`.
    +     *
    +     * Format: `users/{user}`, where `{user}` is either the `id` for the
    +     * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +     * People API, or the `id` for the
    +     * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +     * in the Directory API. For example, to find all group chats with the calling
    +     * user and two other users, with People API profile IDs `123456789` and
    +     * `987654321`, you can use `users/123456789` and `users/987654321`.
    +     * You can also use the email as an alias for `{user}`. For example,
    +     * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +     * Google Chat user.
    +     * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The users to add. + * @return This builder for chaining. + */ + public Builder addAllUsers(java.lang.Iterable values) { + ensureUsersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, users_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Resource names of all human users in group chat with the calling
    +     * user. Chat apps can't be included in the request.
    +     *
    +     * The maximum number of users that can be specified in a single request is
    +     * `49`.
    +     *
    +     * Format: `users/{user}`, where `{user}` is either the `id` for the
    +     * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +     * People API, or the `id` for the
    +     * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +     * in the Directory API. For example, to find all group chats with the calling
    +     * user and two other users, with People API profile IDs `123456789` and
    +     * `987654321`, you can use `users/123456789` and `users/987654321`.
    +     * You can also use the email as an alias for `{user}`. For example,
    +     * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +     * Google Chat user.
    +     * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearUsers() { + users_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Resource names of all human users in group chat with the calling
    +     * user. Chat apps can't be included in the request.
    +     *
    +     * The maximum number of users that can be specified in a single request is
    +     * `49`.
    +     *
    +     * Format: `users/{user}`, where `{user}` is either the `id` for the
    +     * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +     * People API, or the `id` for the
    +     * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +     * in the Directory API. For example, to find all group chats with the calling
    +     * user and two other users, with People API profile IDs `123456789` and
    +     * `987654321`, you can use `users/123456789` and `users/987654321`.
    +     * You can also use the email as an alias for `{user}`. For example,
    +     * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +     * Google Chat user.
    +     * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the users to add. + * @return This builder for chaining. + */ + public Builder addUsersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUsersIsMutable(); + users_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int pageSize_; + + /** + * + * + *
    +     * Optional. The maximum number of spaces to return. The service might return
    +     * fewer than this value.
    +     *
    +     * If unspecified, at most 10 spaces are returned.
    +     *
    +     * The maximum value is 30. If you use a value more than 30, it's
    +     * automatically changed to 30.
    +     *
    +     * Negative values return an `INVALID_ARGUMENT` error.
    +     * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + /** + * + * + *
    +     * Optional. The maximum number of spaces to return. The service might return
    +     * fewer than this value.
    +     *
    +     * If unspecified, at most 10 spaces are returned.
    +     *
    +     * The maximum value is 30. If you use a value more than 30, it's
    +     * automatically changed to 30.
    +     *
    +     * Negative values return an `INVALID_ARGUMENT` error.
    +     * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. The maximum number of spaces to return. The service might return
    +     * fewer than this value.
    +     *
    +     * If unspecified, at most 10 spaces are returned.
    +     *
    +     * The maximum value is 30. If you use a value more than 30, it's
    +     * automatically changed to 30.
    +     *
    +     * Negative values return an `INVALID_ARGUMENT` error.
    +     * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + + /** + * + * + *
    +     * Optional. A page token, received from a previous call to find group chats.
    +     * Provide this parameter to retrieve the subsequent page.
    +     *
    +     * When paginating, all other parameters provided should match the call that
    +     * provided the token. Passing different values may lead to unexpected
    +     * results.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Optional. A page token, received from a previous call to find group chats.
    +     * Provide this parameter to retrieve the subsequent page.
    +     *
    +     * When paginating, all other parameters provided should match the call that
    +     * provided the token. Passing different values may lead to unexpected
    +     * results.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Optional. A page token, received from a previous call to find group chats.
    +     * Provide this parameter to retrieve the subsequent page.
    +     *
    +     * When paginating, all other parameters provided should match the call that
    +     * provided the token. Passing different values may lead to unexpected
    +     * results.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. A page token, received from a previous call to find group chats.
    +     * Provide this parameter to retrieve the subsequent page.
    +     *
    +     * When paginating, all other parameters provided should match the call that
    +     * provided the token. Passing different values may lead to unexpected
    +     * results.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. A page token, received from a previous call to find group chats.
    +     * Provide this parameter to retrieve the subsequent page.
    +     *
    +     * When paginating, all other parameters provided should match the call that
    +     * provided the token. Passing different values may lead to unexpected
    +     * results.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int spaceView_ = 0; + + /** + * + * + *
    +     * Requested space view type. If unset, defaults to
    +     * `SPACE_VIEW_RESOURCE_NAME_ONLY`. Requests that specify
    +     * `SPACE_VIEW_EXPANDED` must include scopes that allow reading space data,
    +     * for example,
    +     * https://www.googleapis.com/auth/chat.spaces or
    +     * https://www.googleapis.com/auth/chat.spaces.readonly.
    +     * 
    + * + * .google.chat.v1.SpaceView space_view = 4; + * + * @return The enum numeric value on the wire for spaceView. + */ + @java.lang.Override + public int getSpaceViewValue() { + return spaceView_; + } + + /** + * + * + *
    +     * Requested space view type. If unset, defaults to
    +     * `SPACE_VIEW_RESOURCE_NAME_ONLY`. Requests that specify
    +     * `SPACE_VIEW_EXPANDED` must include scopes that allow reading space data,
    +     * for example,
    +     * https://www.googleapis.com/auth/chat.spaces or
    +     * https://www.googleapis.com/auth/chat.spaces.readonly.
    +     * 
    + * + * .google.chat.v1.SpaceView space_view = 4; + * + * @param value The enum numeric value on the wire for spaceView to set. + * @return This builder for chaining. + */ + public Builder setSpaceViewValue(int value) { + spaceView_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Requested space view type. If unset, defaults to
    +     * `SPACE_VIEW_RESOURCE_NAME_ONLY`. Requests that specify
    +     * `SPACE_VIEW_EXPANDED` must include scopes that allow reading space data,
    +     * for example,
    +     * https://www.googleapis.com/auth/chat.spaces or
    +     * https://www.googleapis.com/auth/chat.spaces.readonly.
    +     * 
    + * + * .google.chat.v1.SpaceView space_view = 4; + * + * @return The spaceView. + */ + @java.lang.Override + public com.google.chat.v1.SpaceView getSpaceView() { + com.google.chat.v1.SpaceView result = com.google.chat.v1.SpaceView.forNumber(spaceView_); + return result == null ? com.google.chat.v1.SpaceView.UNRECOGNIZED : result; + } + + /** + * + * + *
    +     * Requested space view type. If unset, defaults to
    +     * `SPACE_VIEW_RESOURCE_NAME_ONLY`. Requests that specify
    +     * `SPACE_VIEW_EXPANDED` must include scopes that allow reading space data,
    +     * for example,
    +     * https://www.googleapis.com/auth/chat.spaces or
    +     * https://www.googleapis.com/auth/chat.spaces.readonly.
    +     * 
    + * + * .google.chat.v1.SpaceView space_view = 4; + * + * @param value The spaceView to set. + * @return This builder for chaining. + */ + public Builder setSpaceView(com.google.chat.v1.SpaceView value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + spaceView_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Requested space view type. If unset, defaults to
    +     * `SPACE_VIEW_RESOURCE_NAME_ONLY`. Requests that specify
    +     * `SPACE_VIEW_EXPANDED` must include scopes that allow reading space data,
    +     * for example,
    +     * https://www.googleapis.com/auth/chat.spaces or
    +     * https://www.googleapis.com/auth/chat.spaces.readonly.
    +     * 
    + * + * .google.chat.v1.SpaceView space_view = 4; + * + * @return This builder for chaining. + */ + public Builder clearSpaceView() { + bitField0_ = (bitField0_ & ~0x00000008); + spaceView_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.chat.v1.FindGroupChatsRequest) + } + + // @@protoc_insertion_point(class_scope:google.chat.v1.FindGroupChatsRequest) + private static final com.google.chat.v1.FindGroupChatsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.chat.v1.FindGroupChatsRequest(); + } + + public static com.google.chat.v1.FindGroupChatsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FindGroupChatsRequest 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.chat.v1.FindGroupChatsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsRequestOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsRequestOrBuilder.java new file mode 100644 index 000000000000..066d1e4582cf --- /dev/null +++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsRequestOrBuilder.java @@ -0,0 +1,235 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/chat/v1/space.proto +// Protobuf Java Version: 4.33.2 + +package com.google.chat.v1; + +@com.google.protobuf.Generated +public interface FindGroupChatsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.chat.v1.FindGroupChatsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Optional. Resource names of all human users in group chat with the calling
    +   * user. Chat apps can't be included in the request.
    +   *
    +   * The maximum number of users that can be specified in a single request is
    +   * `49`.
    +   *
    +   * Format: `users/{user}`, where `{user}` is either the `id` for the
    +   * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +   * People API, or the `id` for the
    +   * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +   * in the Directory API. For example, to find all group chats with the calling
    +   * user and two other users, with People API profile IDs `123456789` and
    +   * `987654321`, you can use `users/123456789` and `users/987654321`.
    +   * You can also use the email as an alias for `{user}`. For example,
    +   * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +   * Google Chat user.
    +   * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the users. + */ + java.util.List getUsersList(); + + /** + * + * + *
    +   * Optional. Resource names of all human users in group chat with the calling
    +   * user. Chat apps can't be included in the request.
    +   *
    +   * The maximum number of users that can be specified in a single request is
    +   * `49`.
    +   *
    +   * Format: `users/{user}`, where `{user}` is either the `id` for the
    +   * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +   * People API, or the `id` for the
    +   * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +   * in the Directory API. For example, to find all group chats with the calling
    +   * user and two other users, with People API profile IDs `123456789` and
    +   * `987654321`, you can use `users/123456789` and `users/987654321`.
    +   * You can also use the email as an alias for `{user}`. For example,
    +   * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +   * Google Chat user.
    +   * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of users. + */ + int getUsersCount(); + + /** + * + * + *
    +   * Optional. Resource names of all human users in group chat with the calling
    +   * user. Chat apps can't be included in the request.
    +   *
    +   * The maximum number of users that can be specified in a single request is
    +   * `49`.
    +   *
    +   * Format: `users/{user}`, where `{user}` is either the `id` for the
    +   * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +   * People API, or the `id` for the
    +   * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +   * in the Directory API. For example, to find all group chats with the calling
    +   * user and two other users, with People API profile IDs `123456789` and
    +   * `987654321`, you can use `users/123456789` and `users/987654321`.
    +   * You can also use the email as an alias for `{user}`. For example,
    +   * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +   * Google Chat user.
    +   * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The users at the given index. + */ + java.lang.String getUsers(int index); + + /** + * + * + *
    +   * Optional. Resource names of all human users in group chat with the calling
    +   * user. Chat apps can't be included in the request.
    +   *
    +   * The maximum number of users that can be specified in a single request is
    +   * `49`.
    +   *
    +   * Format: `users/{user}`, where `{user}` is either the `id` for the
    +   * [person](https://developers.google.com/people/api/rest/v1/people) from the
    +   * People API, or the `id` for the
    +   * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users)
    +   * in the Directory API. For example, to find all group chats with the calling
    +   * user and two other users, with People API profile IDs `123456789` and
    +   * `987654321`, you can use `users/123456789` and `users/987654321`.
    +   * You can also use the email as an alias for `{user}`. For example,
    +   * `users/example@gmail.com` where `example@gmail.com` is the email of the
    +   * Google Chat user.
    +   * 
    + * + * repeated string users = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the users at the given index. + */ + com.google.protobuf.ByteString getUsersBytes(int index); + + /** + * + * + *
    +   * Optional. The maximum number of spaces to return. The service might return
    +   * fewer than this value.
    +   *
    +   * If unspecified, at most 10 spaces are returned.
    +   *
    +   * The maximum value is 30. If you use a value more than 30, it's
    +   * automatically changed to 30.
    +   *
    +   * Negative values return an `INVALID_ARGUMENT` error.
    +   * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
    +   * Optional. A page token, received from a previous call to find group chats.
    +   * Provide this parameter to retrieve the subsequent page.
    +   *
    +   * When paginating, all other parameters provided should match the call that
    +   * provided the token. Passing different values may lead to unexpected
    +   * results.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + + /** + * + * + *
    +   * Optional. A page token, received from a previous call to find group chats.
    +   * Provide this parameter to retrieve the subsequent page.
    +   *
    +   * When paginating, all other parameters provided should match the call that
    +   * provided the token. Passing different values may lead to unexpected
    +   * results.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
    +   * Requested space view type. If unset, defaults to
    +   * `SPACE_VIEW_RESOURCE_NAME_ONLY`. Requests that specify
    +   * `SPACE_VIEW_EXPANDED` must include scopes that allow reading space data,
    +   * for example,
    +   * https://www.googleapis.com/auth/chat.spaces or
    +   * https://www.googleapis.com/auth/chat.spaces.readonly.
    +   * 
    + * + * .google.chat.v1.SpaceView space_view = 4; + * + * @return The enum numeric value on the wire for spaceView. + */ + int getSpaceViewValue(); + + /** + * + * + *
    +   * Requested space view type. If unset, defaults to
    +   * `SPACE_VIEW_RESOURCE_NAME_ONLY`. Requests that specify
    +   * `SPACE_VIEW_EXPANDED` must include scopes that allow reading space data,
    +   * for example,
    +   * https://www.googleapis.com/auth/chat.spaces or
    +   * https://www.googleapis.com/auth/chat.spaces.readonly.
    +   * 
    + * + * .google.chat.v1.SpaceView space_view = 4; + * + * @return The spaceView. + */ + com.google.chat.v1.SpaceView getSpaceView(); +} diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsResponse.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsResponse.java new file mode 100644 index 000000000000..f78b9da04db6 --- /dev/null +++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsResponse.java @@ -0,0 +1,1110 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/chat/v1/space.proto +// Protobuf Java Version: 4.33.2 + +package com.google.chat.v1; + +/** + * + * + *
    + * A response containing group chat spaces with exactly the calling user and the
    + * requested users.
    + * 
    + * + * Protobuf type {@code google.chat.v1.FindGroupChatsResponse} + */ +@com.google.protobuf.Generated +public final class FindGroupChatsResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.chat.v1.FindGroupChatsResponse) + FindGroupChatsResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "FindGroupChatsResponse"); + } + + // Use FindGroupChatsResponse.newBuilder() to construct. + private FindGroupChatsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private FindGroupChatsResponse() { + spaces_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.chat.v1.SpaceProto + .internal_static_google_chat_v1_FindGroupChatsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.chat.v1.SpaceProto + .internal_static_google_chat_v1_FindGroupChatsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.chat.v1.FindGroupChatsResponse.class, + com.google.chat.v1.FindGroupChatsResponse.Builder.class); + } + + public static final int SPACES_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List spaces_; + + /** + * + * + *
    +   * List of spaces in the requested (or first) page.
    +   * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + @java.lang.Override + public java.util.List getSpacesList() { + return spaces_; + } + + /** + * + * + *
    +   * List of spaces in the requested (or first) page.
    +   * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + @java.lang.Override + public java.util.List getSpacesOrBuilderList() { + return spaces_; + } + + /** + * + * + *
    +   * List of spaces in the requested (or first) page.
    +   * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + @java.lang.Override + public int getSpacesCount() { + return spaces_.size(); + } + + /** + * + * + *
    +   * List of spaces in the requested (or first) page.
    +   * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + @java.lang.Override + public com.google.chat.v1.Space getSpaces(int index) { + return spaces_.get(index); + } + + /** + * + * + *
    +   * List of spaces in the requested (or first) page.
    +   * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + @java.lang.Override + public com.google.chat.v1.SpaceOrBuilder getSpacesOrBuilder(int index) { + return spaces_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
    +   * A token that you can send as `pageToken` to retrieve the next page of
    +   * results. If empty, there are no subsequent pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + + /** + * + * + *
    +   * A token that you can send as `pageToken` to retrieve the next page of
    +   * results. If empty, there are no subsequent pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < spaces_.size(); i++) { + output.writeMessage(1, spaces_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < spaces_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, spaces_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.chat.v1.FindGroupChatsResponse)) { + return super.equals(obj); + } + com.google.chat.v1.FindGroupChatsResponse other = + (com.google.chat.v1.FindGroupChatsResponse) obj; + + if (!getSpacesList().equals(other.getSpacesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getSpacesCount() > 0) { + hash = (37 * hash) + SPACES_FIELD_NUMBER; + hash = (53 * hash) + getSpacesList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.chat.v1.FindGroupChatsResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.chat.v1.FindGroupChatsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.chat.v1.FindGroupChatsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.chat.v1.FindGroupChatsResponse 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.chat.v1.FindGroupChatsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.chat.v1.FindGroupChatsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.chat.v1.FindGroupChatsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.chat.v1.FindGroupChatsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.chat.v1.FindGroupChatsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.chat.v1.FindGroupChatsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.chat.v1.FindGroupChatsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.chat.v1.FindGroupChatsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.chat.v1.FindGroupChatsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * A response containing group chat spaces with exactly the calling user and the
    +   * requested users.
    +   * 
    + * + * Protobuf type {@code google.chat.v1.FindGroupChatsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.chat.v1.FindGroupChatsResponse) + com.google.chat.v1.FindGroupChatsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.chat.v1.SpaceProto + .internal_static_google_chat_v1_FindGroupChatsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.chat.v1.SpaceProto + .internal_static_google_chat_v1_FindGroupChatsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.chat.v1.FindGroupChatsResponse.class, + com.google.chat.v1.FindGroupChatsResponse.Builder.class); + } + + // Construct using com.google.chat.v1.FindGroupChatsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (spacesBuilder_ == null) { + spaces_ = java.util.Collections.emptyList(); + } else { + spaces_ = null; + spacesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.chat.v1.SpaceProto + .internal_static_google_chat_v1_FindGroupChatsResponse_descriptor; + } + + @java.lang.Override + public com.google.chat.v1.FindGroupChatsResponse getDefaultInstanceForType() { + return com.google.chat.v1.FindGroupChatsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.chat.v1.FindGroupChatsResponse build() { + com.google.chat.v1.FindGroupChatsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.chat.v1.FindGroupChatsResponse buildPartial() { + com.google.chat.v1.FindGroupChatsResponse result = + new com.google.chat.v1.FindGroupChatsResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.chat.v1.FindGroupChatsResponse result) { + if (spacesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + spaces_ = java.util.Collections.unmodifiableList(spaces_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.spaces_ = spaces_; + } else { + result.spaces_ = spacesBuilder_.build(); + } + } + + private void buildPartial0(com.google.chat.v1.FindGroupChatsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.chat.v1.FindGroupChatsResponse) { + return mergeFrom((com.google.chat.v1.FindGroupChatsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.chat.v1.FindGroupChatsResponse other) { + if (other == com.google.chat.v1.FindGroupChatsResponse.getDefaultInstance()) return this; + if (spacesBuilder_ == null) { + if (!other.spaces_.isEmpty()) { + if (spaces_.isEmpty()) { + spaces_ = other.spaces_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSpacesIsMutable(); + spaces_.addAll(other.spaces_); + } + onChanged(); + } + } else { + if (!other.spaces_.isEmpty()) { + if (spacesBuilder_.isEmpty()) { + spacesBuilder_.dispose(); + spacesBuilder_ = null; + spaces_ = other.spaces_; + bitField0_ = (bitField0_ & ~0x00000001); + spacesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetSpacesFieldBuilder() + : null; + } else { + spacesBuilder_.addAllMessages(other.spaces_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.chat.v1.Space m = + input.readMessage(com.google.chat.v1.Space.parser(), extensionRegistry); + if (spacesBuilder_ == null) { + ensureSpacesIsMutable(); + spaces_.add(m); + } else { + spacesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List spaces_ = java.util.Collections.emptyList(); + + private void ensureSpacesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + spaces_ = new java.util.ArrayList(spaces_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.chat.v1.Space, + com.google.chat.v1.Space.Builder, + com.google.chat.v1.SpaceOrBuilder> + spacesBuilder_; + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public java.util.List getSpacesList() { + if (spacesBuilder_ == null) { + return java.util.Collections.unmodifiableList(spaces_); + } else { + return spacesBuilder_.getMessageList(); + } + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public int getSpacesCount() { + if (spacesBuilder_ == null) { + return spaces_.size(); + } else { + return spacesBuilder_.getCount(); + } + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public com.google.chat.v1.Space getSpaces(int index) { + if (spacesBuilder_ == null) { + return spaces_.get(index); + } else { + return spacesBuilder_.getMessage(index); + } + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public Builder setSpaces(int index, com.google.chat.v1.Space value) { + if (spacesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSpacesIsMutable(); + spaces_.set(index, value); + onChanged(); + } else { + spacesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public Builder setSpaces(int index, com.google.chat.v1.Space.Builder builderForValue) { + if (spacesBuilder_ == null) { + ensureSpacesIsMutable(); + spaces_.set(index, builderForValue.build()); + onChanged(); + } else { + spacesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public Builder addSpaces(com.google.chat.v1.Space value) { + if (spacesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSpacesIsMutable(); + spaces_.add(value); + onChanged(); + } else { + spacesBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public Builder addSpaces(int index, com.google.chat.v1.Space value) { + if (spacesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSpacesIsMutable(); + spaces_.add(index, value); + onChanged(); + } else { + spacesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public Builder addSpaces(com.google.chat.v1.Space.Builder builderForValue) { + if (spacesBuilder_ == null) { + ensureSpacesIsMutable(); + spaces_.add(builderForValue.build()); + onChanged(); + } else { + spacesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public Builder addSpaces(int index, com.google.chat.v1.Space.Builder builderForValue) { + if (spacesBuilder_ == null) { + ensureSpacesIsMutable(); + spaces_.add(index, builderForValue.build()); + onChanged(); + } else { + spacesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public Builder addAllSpaces(java.lang.Iterable values) { + if (spacesBuilder_ == null) { + ensureSpacesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, spaces_); + onChanged(); + } else { + spacesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public Builder clearSpaces() { + if (spacesBuilder_ == null) { + spaces_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + spacesBuilder_.clear(); + } + return this; + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public Builder removeSpaces(int index) { + if (spacesBuilder_ == null) { + ensureSpacesIsMutable(); + spaces_.remove(index); + onChanged(); + } else { + spacesBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public com.google.chat.v1.Space.Builder getSpacesBuilder(int index) { + return internalGetSpacesFieldBuilder().getBuilder(index); + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public com.google.chat.v1.SpaceOrBuilder getSpacesOrBuilder(int index) { + if (spacesBuilder_ == null) { + return spaces_.get(index); + } else { + return spacesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public java.util.List getSpacesOrBuilderList() { + if (spacesBuilder_ != null) { + return spacesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(spaces_); + } + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public com.google.chat.v1.Space.Builder addSpacesBuilder() { + return internalGetSpacesFieldBuilder() + .addBuilder(com.google.chat.v1.Space.getDefaultInstance()); + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public com.google.chat.v1.Space.Builder addSpacesBuilder(int index) { + return internalGetSpacesFieldBuilder() + .addBuilder(index, com.google.chat.v1.Space.getDefaultInstance()); + } + + /** + * + * + *
    +     * List of spaces in the requested (or first) page.
    +     * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + public java.util.List getSpacesBuilderList() { + return internalGetSpacesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.chat.v1.Space, + com.google.chat.v1.Space.Builder, + com.google.chat.v1.SpaceOrBuilder> + internalGetSpacesFieldBuilder() { + if (spacesBuilder_ == null) { + spacesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.chat.v1.Space, + com.google.chat.v1.Space.Builder, + com.google.chat.v1.SpaceOrBuilder>( + spaces_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + spaces_ = null; + } + return spacesBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
    +     * A token that you can send as `pageToken` to retrieve the next page of
    +     * results. If empty, there are no subsequent pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * A token that you can send as `pageToken` to retrieve the next page of
    +     * results. If empty, there are no subsequent pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * A token that you can send as `pageToken` to retrieve the next page of
    +     * results. If empty, there are no subsequent pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * A token that you can send as `pageToken` to retrieve the next page of
    +     * results. If empty, there are no subsequent pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * A token that you can send as `pageToken` to retrieve the next page of
    +     * results. If empty, there are no subsequent pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.chat.v1.FindGroupChatsResponse) + } + + // @@protoc_insertion_point(class_scope:google.chat.v1.FindGroupChatsResponse) + private static final com.google.chat.v1.FindGroupChatsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.chat.v1.FindGroupChatsResponse(); + } + + public static com.google.chat.v1.FindGroupChatsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FindGroupChatsResponse 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.chat.v1.FindGroupChatsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsResponseOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsResponseOrBuilder.java new file mode 100644 index 000000000000..9af3d9c60e41 --- /dev/null +++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/FindGroupChatsResponseOrBuilder.java @@ -0,0 +1,111 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/chat/v1/space.proto +// Protobuf Java Version: 4.33.2 + +package com.google.chat.v1; + +@com.google.protobuf.Generated +public interface FindGroupChatsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.chat.v1.FindGroupChatsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * List of spaces in the requested (or first) page.
    +   * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + java.util.List getSpacesList(); + + /** + * + * + *
    +   * List of spaces in the requested (or first) page.
    +   * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + com.google.chat.v1.Space getSpaces(int index); + + /** + * + * + *
    +   * List of spaces in the requested (or first) page.
    +   * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + int getSpacesCount(); + + /** + * + * + *
    +   * List of spaces in the requested (or first) page.
    +   * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + java.util.List getSpacesOrBuilderList(); + + /** + * + * + *
    +   * List of spaces in the requested (or first) page.
    +   * 
    + * + * repeated .google.chat.v1.Space spaces = 1; + */ + com.google.chat.v1.SpaceOrBuilder getSpacesOrBuilder(int index); + + /** + * + * + *
    +   * A token that you can send as `pageToken` to retrieve the next page of
    +   * results. If empty, there are no subsequent pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + + /** + * + * + *
    +   * A token that you can send as `pageToken` to retrieve the next page of
    +   * results. If empty, there are no subsequent pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceProto.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceProto.java index 4dad1cbd9002..744e18f815e8 100644 --- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceProto.java +++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceProto.java @@ -84,6 +84,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_chat_v1_FindDirectMessageRequest_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_chat_v1_FindDirectMessageRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_chat_v1_FindGroupChatsRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_chat_v1_FindGroupChatsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_chat_v1_FindGroupChatsResponse_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_chat_v1_FindGroupChatsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_chat_v1_UpdateSpaceRequest_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -237,7 +245,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031chat.googleapis.com/Space\022\035\n" + "\020use_admin_access\030\002 \001(\010B\003\340A\001\"-\n" + "\030FindDirectMessageRequest\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\002\"\224\001\n" + + "\004name\030\001 \001(\tB\003\340A\002\"\213\001\n" + + "\025FindGroupChatsRequest\022\022\n" + + "\005users\030\005 \003(\tB\003\340A\001\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\022-\n\n" + + "space_view\030\004 \001(\0162\031.google.chat.v1.SpaceView\"X\n" + + "\026FindGroupChatsResponse\022%\n" + + "\006spaces\030\001 \003(\0132\025.google.chat.v1.Space\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\224\001\n" + "\022UpdateSpaceRequest\022)\n" + "\005space\030\001 \001(\0132\025.google.chat.v1.SpaceB\003\340A\002\0224\n" + "\013update_mask\030\002" @@ -261,11 +277,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\tB!\340A\002\372A\033\n" + "\031chat.googleapis.com/Space\"C\n" + "\033CompleteImportSpaceResponse\022$\n" - + "\005space\030\001 \001(\0132\025.google.chat.v1.SpaceB\243\001\n" + + "\005space\030\001 \001(\0132\025.google.chat.v1.Space*c\n" + + "\tSpaceView\022\032\n" + + "\026SPACE_VIEW_UNSPECIFIED\020\000\022!\n" + + "\035SPACE_VIEW_RESOURCE_NAME_ONLY\020\003\022\027\n" + + "\023SPACE_VIEW_EXPANDED\020\004B\243\001\n" + "\022com.google.chat.v1B\n" - + "SpaceProtoP\001Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb" - + "\242\002\013DYNAPIProto\252\002\023Google.Apps.Chat.V1\312\002\023G" - + "oogle\\Apps\\Chat\\V1\352\002\026Google::Apps::Chat::V1b\006proto3" + + "SpaceProtoP\001Z,cloud.google.com/go/chat/apiv1/" + + "chatpb;chatpb\242\002\013DYNAPIProto\252\002\023Google.App" + + "s.Chat.V1\312\002\023Google\\Apps\\Chat\\V1\352\002\026Google" + + "::Apps::Chat::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -390,8 +411,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", }); - internal_static_google_chat_v1_UpdateSpaceRequest_descriptor = + internal_static_google_chat_v1_FindGroupChatsRequest_descriptor = getDescriptor().getMessageType(6); + internal_static_google_chat_v1_FindGroupChatsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_chat_v1_FindGroupChatsRequest_descriptor, + new java.lang.String[] { + "Users", "PageSize", "PageToken", "SpaceView", + }); + internal_static_google_chat_v1_FindGroupChatsResponse_descriptor = + getDescriptor().getMessageType(7); + internal_static_google_chat_v1_FindGroupChatsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_chat_v1_FindGroupChatsResponse_descriptor, + new java.lang.String[] { + "Spaces", "NextPageToken", + }); + internal_static_google_chat_v1_UpdateSpaceRequest_descriptor = + getDescriptor().getMessageType(8); internal_static_google_chat_v1_UpdateSpaceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_chat_v1_UpdateSpaceRequest_descriptor, @@ -399,7 +436,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Space", "UpdateMask", "UseAdminAccess", }); internal_static_google_chat_v1_SearchSpacesRequest_descriptor = - getDescriptor().getMessageType(7); + getDescriptor().getMessageType(9); internal_static_google_chat_v1_SearchSpacesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_chat_v1_SearchSpacesRequest_descriptor, @@ -407,7 +444,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UseAdminAccess", "PageSize", "PageToken", "Query", "OrderBy", }); internal_static_google_chat_v1_SearchSpacesResponse_descriptor = - getDescriptor().getMessageType(8); + getDescriptor().getMessageType(10); internal_static_google_chat_v1_SearchSpacesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_chat_v1_SearchSpacesResponse_descriptor, @@ -415,7 +452,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Spaces", "NextPageToken", "TotalSize", }); internal_static_google_chat_v1_DeleteSpaceRequest_descriptor = - getDescriptor().getMessageType(9); + getDescriptor().getMessageType(11); internal_static_google_chat_v1_DeleteSpaceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_chat_v1_DeleteSpaceRequest_descriptor, @@ -423,7 +460,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "UseAdminAccess", }); internal_static_google_chat_v1_CompleteImportSpaceRequest_descriptor = - getDescriptor().getMessageType(10); + getDescriptor().getMessageType(12); internal_static_google_chat_v1_CompleteImportSpaceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_chat_v1_CompleteImportSpaceRequest_descriptor, @@ -431,7 +468,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_chat_v1_CompleteImportSpaceResponse_descriptor = - getDescriptor().getMessageType(11); + getDescriptor().getMessageType(13); internal_static_google_chat_v1_CompleteImportSpaceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_chat_v1_CompleteImportSpaceResponse_descriptor, diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceView.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceView.java new file mode 100644 index 000000000000..d8bb8973661c --- /dev/null +++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceView.java @@ -0,0 +1,205 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/chat/v1/space.proto +// Protobuf Java Version: 4.33.2 + +package com.google.chat.v1; + +/** + * + * + *
    + * A view that specifies which fields should be populated on the
    + * [`Space`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces)
    + * resource.
    + * To ensure compatibility with future releases, we recommend that your code
    + * account for additional values.
    + * 
    + * + * Protobuf enum {@code google.chat.v1.SpaceView} + */ +@com.google.protobuf.Generated +public enum SpaceView implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +   * The default / unset value.
    +   * 
    + * + * SPACE_VIEW_UNSPECIFIED = 0; + */ + SPACE_VIEW_UNSPECIFIED(0), + /** + * + * + *
    +   * Populates only the Space resource name.
    +   * 
    + * + * SPACE_VIEW_RESOURCE_NAME_ONLY = 3; + */ + SPACE_VIEW_RESOURCE_NAME_ONLY(3), + /** + * + * + *
    +   * Populates Space resource fields.  Note: the `permissionSettings` field
    +   * will not be populated.
    +   * Requests that specify SPACE_VIEW_EXPANDED must include scopes that allow
    +   * reading space data, for example,
    +   * https://www.googleapis.com/auth/chat.spaces or
    +   * https://www.googleapis.com/auth/chat.spaces.readonly.
    +   * 
    + * + * SPACE_VIEW_EXPANDED = 4; + */ + SPACE_VIEW_EXPANDED(4), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "SpaceView"); + } + + /** + * + * + *
    +   * The default / unset value.
    +   * 
    + * + * SPACE_VIEW_UNSPECIFIED = 0; + */ + public static final int SPACE_VIEW_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
    +   * Populates only the Space resource name.
    +   * 
    + * + * SPACE_VIEW_RESOURCE_NAME_ONLY = 3; + */ + public static final int SPACE_VIEW_RESOURCE_NAME_ONLY_VALUE = 3; + + /** + * + * + *
    +   * Populates Space resource fields.  Note: the `permissionSettings` field
    +   * will not be populated.
    +   * Requests that specify SPACE_VIEW_EXPANDED must include scopes that allow
    +   * reading space data, for example,
    +   * https://www.googleapis.com/auth/chat.spaces or
    +   * https://www.googleapis.com/auth/chat.spaces.readonly.
    +   * 
    + * + * SPACE_VIEW_EXPANDED = 4; + */ + public static final int SPACE_VIEW_EXPANDED_VALUE = 4; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SpaceView valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static SpaceView forNumber(int value) { + switch (value) { + case 0: + return SPACE_VIEW_UNSPECIFIED; + case 3: + return SPACE_VIEW_RESOURCE_NAME_ONLY; + case 4: + return SPACE_VIEW_EXPANDED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SpaceView findValueByNumber(int number) { + return SpaceView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.chat.v1.SpaceProto.getDescriptor().getEnumTypes().get(0); + } + + private static final SpaceView[] VALUES = values(); + + public static SpaceView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private SpaceView(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.chat.v1.SpaceView) +} diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto index afc37c0bbced..8aea14861df7 100644 --- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto +++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto @@ -717,6 +717,32 @@ service ChatService { }; } + // Returns all spaces with `spaceType == GROUP_CHAT`, whose + // human memberships contain exactly the calling user, and the users specified + // in `FindGroupChatsRequest.users`. Only members that have joined the + // conversation are supported. For an example, see [Find group + // chats](https://developers.google.com/workspace/chat/find-group-chats). + // + // If the calling user blocks, or is blocked by, some users, and no spaces + // with the entire specified set of users are found, this method returns + // spaces that don't include the blocked or blocking users. + // + // The specified set of users must contain only human (non-app) memberships. + // A request that contains non-human users doesn't return any spaces. + // + // Requires [user + // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + // with one of the following [authorization + // scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + // + // - `https://www.googleapis.com/auth/chat.memberships.readonly` + // - `https://www.googleapis.com/auth/chat.memberships` + rpc FindGroupChats(FindGroupChatsRequest) returns (FindGroupChatsResponse) { + option (google.api.http) = { + get: "/v1/spaces:findGroupChats" + }; + } + // Creates a membership for the calling Chat app, a user, or a Google Group. // Creating memberships for other Chat apps isn't supported. // When creating a membership, if the specified member has their auto-accept diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto index 01873a3f99c8..3bd587bdbeb3 100644 --- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto +++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -552,6 +552,65 @@ message FindDirectMessageRequest { string name = 1 [(google.api.field_behavior) = REQUIRED]; } +// A request to get group chat spaces based on user resources. +message FindGroupChatsRequest { + // Optional. Resource names of all human users in group chat with the calling + // user. Chat apps can't be included in the request. + // + // The maximum number of users that can be specified in a single request is + // `49`. + // + // Format: `users/{user}`, where `{user}` is either the `id` for the + // [person](https://developers.google.com/people/api/rest/v1/people) from the + // People API, or the `id` for the + // [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) + // in the Directory API. For example, to find all group chats with the calling + // user and two other users, with People API profile IDs `123456789` and + // `987654321`, you can use `users/123456789` and `users/987654321`. + // You can also use the email as an alias for `{user}`. For example, + // `users/example@gmail.com` where `example@gmail.com` is the email of the + // Google Chat user. + repeated string users = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The maximum number of spaces to return. The service might return + // fewer than this value. + // + // If unspecified, at most 10 spaces are returned. + // + // The maximum value is 30. If you use a value more than 30, it's + // automatically changed to 30. + // + // Negative values return an `INVALID_ARGUMENT` error. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous call to find group chats. + // Provide this parameter to retrieve the subsequent page. + // + // When paginating, all other parameters provided should match the call that + // provided the token. Passing different values may lead to unexpected + // results. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Requested space view type. If unset, defaults to + // `SPACE_VIEW_RESOURCE_NAME_ONLY`. Requests that specify + // `SPACE_VIEW_EXPANDED` must include scopes that allow reading space data, + // for example, + // https://www.googleapis.com/auth/chat.spaces or + // https://www.googleapis.com/auth/chat.spaces.readonly. + SpaceView space_view = 4; +} + +// A response containing group chat spaces with exactly the calling user and the +// requested users. +message FindGroupChatsResponse { + // List of spaces in the requested (or first) page. + repeated Space spaces = 1; + + // A token that you can send as `pageToken` to retrieve the next page of + // results. If empty, there are no subsequent pages. + string next_page_token = 2; +} + // A request to update a single space. message UpdateSpaceRequest { // Required. Space with fields to be updated. `Space.name` must be @@ -822,3 +881,24 @@ message CompleteImportSpaceResponse { // The import mode space. Space space = 1; } + +// A view that specifies which fields should be populated on the +// [`Space`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces) +// resource. +// To ensure compatibility with future releases, we recommend that your code +// account for additional values. +enum SpaceView { + // The default / unset value. + SPACE_VIEW_UNSPECIFIED = 0; + + // Populates only the Space resource name. + SPACE_VIEW_RESOURCE_NAME_ONLY = 3; + + // Populates Space resource fields. Note: the `permissionSettings` field + // will not be populated. + // Requests that specify SPACE_VIEW_EXPANDED must include scopes that allow + // reading space data, for example, + // https://www.googleapis.com/auth/chat.spaces or + // https://www.googleapis.com/auth/chat.spaces.readonly. + SPACE_VIEW_EXPANDED = 4; +} diff --git a/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/AsyncFindGroupChats.java b/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/AsyncFindGroupChats.java new file mode 100644 index 000000000000..17d3911c93a4 --- /dev/null +++ b/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/AsyncFindGroupChats.java @@ -0,0 +1,55 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.chat.v1.samples; + +// [START chat_v1_generated_ChatService_FindGroupChats_async] +import com.google.api.core.ApiFuture; +import com.google.chat.v1.ChatServiceClient; +import com.google.chat.v1.FindGroupChatsRequest; +import com.google.chat.v1.Space; +import com.google.chat.v1.SpaceView; +import java.util.ArrayList; + +public class AsyncFindGroupChats { + + public static void main(String[] args) throws Exception { + asyncFindGroupChats(); + } + + public static void asyncFindGroupChats() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) { + FindGroupChatsRequest request = + FindGroupChatsRequest.newBuilder() + .addAllUsers(new ArrayList()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setSpaceView(SpaceView.forNumber(0)) + .build(); + ApiFuture future = chatServiceClient.findGroupChatsPagedCallable().futureCall(request); + // Do something. + for (Space element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chat_v1_generated_ChatService_FindGroupChats_async] diff --git a/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/AsyncFindGroupChatsPaged.java b/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/AsyncFindGroupChatsPaged.java new file mode 100644 index 000000000000..0f0b06cea032 --- /dev/null +++ b/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/AsyncFindGroupChatsPaged.java @@ -0,0 +1,63 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.chat.v1.samples; + +// [START chat_v1_generated_ChatService_FindGroupChats_Paged_async] +import com.google.chat.v1.ChatServiceClient; +import com.google.chat.v1.FindGroupChatsRequest; +import com.google.chat.v1.FindGroupChatsResponse; +import com.google.chat.v1.Space; +import com.google.chat.v1.SpaceView; +import com.google.common.base.Strings; +import java.util.ArrayList; + +public class AsyncFindGroupChatsPaged { + + public static void main(String[] args) throws Exception { + asyncFindGroupChatsPaged(); + } + + public static void asyncFindGroupChatsPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) { + FindGroupChatsRequest request = + FindGroupChatsRequest.newBuilder() + .addAllUsers(new ArrayList()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setSpaceView(SpaceView.forNumber(0)) + .build(); + while (true) { + FindGroupChatsResponse response = chatServiceClient.findGroupChatsCallable().call(request); + for (Space element : response.getSpacesList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END chat_v1_generated_ChatService_FindGroupChats_Paged_async] diff --git a/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/SyncFindGroupChats.java b/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/SyncFindGroupChats.java new file mode 100644 index 000000000000..d90768dc2da2 --- /dev/null +++ b/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/findgroupchats/SyncFindGroupChats.java @@ -0,0 +1,52 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.chat.v1.samples; + +// [START chat_v1_generated_ChatService_FindGroupChats_sync] +import com.google.chat.v1.ChatServiceClient; +import com.google.chat.v1.FindGroupChatsRequest; +import com.google.chat.v1.Space; +import com.google.chat.v1.SpaceView; +import java.util.ArrayList; + +public class SyncFindGroupChats { + + public static void main(String[] args) throws Exception { + syncFindGroupChats(); + } + + public static void syncFindGroupChats() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) { + FindGroupChatsRequest request = + FindGroupChatsRequest.newBuilder() + .addAllUsers(new ArrayList()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setSpaceView(SpaceView.forNumber(0)) + .build(); + for (Space element : chatServiceClient.findGroupChats(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chat_v1_generated_ChatService_FindGroupChats_sync] diff --git a/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/SingleTenantHsmInstance.java b/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/SingleTenantHsmInstance.java index 7bee71dbc708..1146d456ceb8 100644 --- a/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/SingleTenantHsmInstance.java +++ b/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/SingleTenantHsmInstance.java @@ -1772,7 +1772,7 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { *
        * Output only. The system-defined duration that an instance can remain
        * unrefreshed until it is automatically disabled. This will have a value of
    -   * 120 days.
    +   * 730 days.
        * 
    * * @@ -1792,7 +1792,7 @@ public boolean hasUnrefreshedDurationUntilDisable() { *
        * Output only. The system-defined duration that an instance can remain
        * unrefreshed until it is automatically disabled. This will have a value of
    -   * 120 days.
    +   * 730 days.
        * 
    * * @@ -1814,7 +1814,7 @@ public com.google.protobuf.Duration getUnrefreshedDurationUntilDisable() { *
        * Output only. The system-defined duration that an instance can remain
        * unrefreshed until it is automatically disabled. This will have a value of
    -   * 120 days.
    +   * 730 days.
        * 
    * * @@ -3409,7 +3409,7 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { *
          * Output only. The system-defined duration that an instance can remain
          * unrefreshed until it is automatically disabled. This will have a value of
    -     * 120 days.
    +     * 730 days.
          * 
    * * @@ -3428,7 +3428,7 @@ public boolean hasUnrefreshedDurationUntilDisable() { *
          * Output only. The system-defined duration that an instance can remain
          * unrefreshed until it is automatically disabled. This will have a value of
    -     * 120 days.
    +     * 730 days.
          * 
    * * @@ -3453,7 +3453,7 @@ public com.google.protobuf.Duration getUnrefreshedDurationUntilDisable() { *
          * Output only. The system-defined duration that an instance can remain
          * unrefreshed until it is automatically disabled. This will have a value of
    -     * 120 days.
    +     * 730 days.
          * 
    * * @@ -3480,7 +3480,7 @@ public Builder setUnrefreshedDurationUntilDisable(com.google.protobuf.Duration v *
          * Output only. The system-defined duration that an instance can remain
          * unrefreshed until it is automatically disabled. This will have a value of
    -     * 120 days.
    +     * 730 days.
          * 
    * * @@ -3505,7 +3505,7 @@ public Builder setUnrefreshedDurationUntilDisable( *
          * Output only. The system-defined duration that an instance can remain
          * unrefreshed until it is automatically disabled. This will have a value of
    -     * 120 days.
    +     * 730 days.
          * 
    * * @@ -3538,7 +3538,7 @@ public Builder mergeUnrefreshedDurationUntilDisable(com.google.protobuf.Duration *
          * Output only. The system-defined duration that an instance can remain
          * unrefreshed until it is automatically disabled. This will have a value of
    -     * 120 days.
    +     * 730 days.
          * 
    * * @@ -3562,7 +3562,7 @@ public Builder clearUnrefreshedDurationUntilDisable() { *
          * Output only. The system-defined duration that an instance can remain
          * unrefreshed until it is automatically disabled. This will have a value of
    -     * 120 days.
    +     * 730 days.
          * 
    * * @@ -3581,7 +3581,7 @@ public com.google.protobuf.Duration.Builder getUnrefreshedDurationUntilDisableBu *
          * Output only. The system-defined duration that an instance can remain
          * unrefreshed until it is automatically disabled. This will have a value of
    -     * 120 days.
    +     * 730 days.
          * 
    * * @@ -3604,7 +3604,7 @@ public com.google.protobuf.DurationOrBuilder getUnrefreshedDurationUntilDisableO *
          * Output only. The system-defined duration that an instance can remain
          * unrefreshed until it is automatically disabled. This will have a value of
    -     * 120 days.
    +     * 730 days.
          * 
    * * diff --git a/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/SingleTenantHsmInstanceOrBuilder.java b/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/SingleTenantHsmInstanceOrBuilder.java index 1d2d91238b49..829ac3dc453e 100644 --- a/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/SingleTenantHsmInstanceOrBuilder.java +++ b/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/SingleTenantHsmInstanceOrBuilder.java @@ -232,7 +232,7 @@ public interface SingleTenantHsmInstanceOrBuilder *
        * Output only. The system-defined duration that an instance can remain
        * unrefreshed until it is automatically disabled. This will have a value of
    -   * 120 days.
    +   * 730 days.
        * 
    * * @@ -249,7 +249,7 @@ public interface SingleTenantHsmInstanceOrBuilder *
        * Output only. The system-defined duration that an instance can remain
        * unrefreshed until it is automatically disabled. This will have a value of
    -   * 120 days.
    +   * 730 days.
        * 
    * * @@ -266,7 +266,7 @@ public interface SingleTenantHsmInstanceOrBuilder *
        * Output only. The system-defined duration that an instance can remain
        * unrefreshed until it is automatically disabled. This will have a value of
    -   * 120 days.
    +   * 730 days.
        * 
    * * diff --git a/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/hsm_management.proto b/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/hsm_management.proto index fb87ef9e6e83..219bab5b4b75 100644 --- a/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/hsm_management.proto +++ b/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/hsm_management.proto @@ -293,7 +293,7 @@ message SingleTenantHsmInstance { // Output only. The system-defined duration that an instance can remain // unrefreshed until it is automatically disabled. This will have a value of - // 120 days. + // 730 days. google.protobuf.Duration unrefreshed_duration_until_disable = 6 [(google.api.field_behavior) = OUTPUT_ONLY];