From 1df8e3dfe698a6cf75a413ae2fdb9227ff1effd0 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Wed, 6 Jun 2018 16:55:07 -0700 Subject: [PATCH] regenerate clients --- .../v1/CheckValidCredsRequest.java | 5 +- .../v1/CheckValidCredsResponse.java | 5 +- .../v1/CreateTransferConfigRequest.java | 5 +- .../bigquery/datatransfer/v1/DataSource.java | 5 +- .../datatransfer/v1/DataSourceParameter.java | 5 +- .../datatransfer/v1/DataTransferProto.java | 38 +- .../v1/DeleteTransferConfigRequest.java | 5 +- .../v1/DeleteTransferRunRequest.java | 5 +- .../datatransfer/v1/GetDataSourceRequest.java | 5 +- .../v1/GetTransferConfigRequest.java | 5 +- .../v1/GetTransferRunRequest.java | 5 +- .../v1/ListDataSourcesRequest.java | 5 +- .../v1/ListDataSourcesResponse.java | 5 +- .../v1/ListTransferConfigsRequest.java | 5 +- .../v1/ListTransferConfigsResponse.java | 5 +- .../v1/ListTransferLogsRequest.java | 5 +- .../v1/ListTransferLogsResponse.java | 5 +- .../v1/ListTransferRunsRequest.java | 5 +- .../v1/ListTransferRunsResponse.java | 5 +- .../v1/ScheduleTransferRunsRequest.java | 5 +- .../v1/ScheduleTransferRunsResponse.java | 5 +- .../datatransfer/v1/TransferConfig.java | 5 +- .../datatransfer/v1/TransferMessage.java | 5 +- .../datatransfer/v1/TransferProto.java | 8 +- .../bigquery/datatransfer/v1/TransferRun.java | 5 +- .../v1/UpdateTransferConfigRequest.java | 5 +- .../google/bigtable/admin/v2/AppProfile.java | 15 +- .../admin/v2/BigtableInstanceAdminProto.java | 30 +- .../admin/v2/BigtableTableAdminProto.java | 22 +- .../admin/v2/CheckConsistencyRequest.java | 5 +- .../admin/v2/CheckConsistencyResponse.java | 5 +- .../com/google/bigtable/admin/v2/Cluster.java | 5 +- .../bigtable/admin/v2/ColumnFamily.java | 5 +- .../admin/v2/CreateAppProfileRequest.java | 5 +- .../admin/v2/CreateClusterMetadata.java | 5 +- .../admin/v2/CreateClusterRequest.java | 5 +- .../admin/v2/CreateInstanceMetadata.java | 5 +- .../admin/v2/CreateInstanceRequest.java | 5 +- .../v2/CreateTableFromSnapshotMetadata.java | 5 +- .../v2/CreateTableFromSnapshotRequest.java | 5 +- .../bigtable/admin/v2/CreateTableRequest.java | 10 +- .../admin/v2/DeleteAppProfileRequest.java | 5 +- .../admin/v2/DeleteClusterRequest.java | 5 +- .../admin/v2/DeleteInstanceRequest.java | 5 +- .../admin/v2/DeleteSnapshotRequest.java | 5 +- .../bigtable/admin/v2/DeleteTableRequest.java | 5 +- .../admin/v2/DropRowRangeRequest.java | 5 +- .../com/google/bigtable/admin/v2/GcRule.java | 15 +- .../v2/GenerateConsistencyTokenRequest.java | 5 +- .../v2/GenerateConsistencyTokenResponse.java | 5 +- .../admin/v2/GetAppProfileRequest.java | 5 +- .../bigtable/admin/v2/GetClusterRequest.java | 5 +- .../bigtable/admin/v2/GetInstanceRequest.java | 5 +- .../bigtable/admin/v2/GetSnapshotRequest.java | 5 +- .../bigtable/admin/v2/GetTableRequest.java | 5 +- .../google/bigtable/admin/v2/Instance.java | 5 +- .../bigtable/admin/v2/InstanceProto.java | 6 +- .../admin/v2/ListAppProfilesRequest.java | 5 +- .../admin/v2/ListAppProfilesResponse.java | 5 +- .../admin/v2/ListClustersRequest.java | 5 +- .../admin/v2/ListClustersResponse.java | 5 +- .../admin/v2/ListInstancesRequest.java | 5 +- .../admin/v2/ListInstancesResponse.java | 5 +- .../admin/v2/ListSnapshotsRequest.java | 5 +- .../admin/v2/ListSnapshotsResponse.java | 5 +- .../bigtable/admin/v2/ListTablesRequest.java | 5 +- .../bigtable/admin/v2/ListTablesResponse.java | 5 +- .../admin/v2/ModifyColumnFamiliesRequest.java | 10 +- .../v2/PartialUpdateInstanceRequest.java | 5 +- .../google/bigtable/admin/v2/Snapshot.java | 5 +- .../admin/v2/SnapshotTableMetadata.java | 5 +- .../admin/v2/SnapshotTableRequest.java | 5 +- .../com/google/bigtable/admin/v2/Table.java | 10 +- .../google/bigtable/admin/v2/TableProto.java | 8 +- .../admin/v2/UpdateAppProfileMetadata.java | 5 +- .../admin/v2/UpdateAppProfileRequest.java | 5 +- .../admin/v2/UpdateClusterMetadata.java | 5 +- .../admin/v2/UpdateInstanceMetadata.java | 5 +- .../com/google/bigtable/v2/BigtableProto.java | 14 +- .../java/com/google/bigtable/v2/Cell.java | 5 +- .../bigtable/v2/CheckAndMutateRowRequest.java | 5 +- .../v2/CheckAndMutateRowResponse.java | 5 +- .../java/com/google/bigtable/v2/Column.java | 5 +- .../com/google/bigtable/v2/ColumnRange.java | 5 +- .../com/google/bigtable/v2/DataProto.java | 14 +- .../java/com/google/bigtable/v2/Family.java | 5 +- .../google/bigtable/v2/MutateRowRequest.java | 5 +- .../google/bigtable/v2/MutateRowResponse.java | 5 +- .../google/bigtable/v2/MutateRowsRequest.java | 10 +- .../bigtable/v2/MutateRowsResponse.java | 10 +- .../java/com/google/bigtable/v2/Mutation.java | 25 +- .../v2/ReadModifyWriteRowRequest.java | 5 +- .../v2/ReadModifyWriteRowResponse.java | 5 +- .../bigtable/v2/ReadModifyWriteRule.java | 5 +- .../google/bigtable/v2/ReadRowsRequest.java | 5 +- .../google/bigtable/v2/ReadRowsResponse.java | 10 +- .../main/java/com/google/bigtable/v2/Row.java | 5 +- .../com/google/bigtable/v2/RowFilter.java | 20 +- .../java/com/google/bigtable/v2/RowRange.java | 5 +- .../java/com/google/bigtable/v2/RowSet.java | 5 +- .../bigtable/v2/SampleRowKeysRequest.java | 5 +- .../bigtable/v2/SampleRowKeysResponse.java | 5 +- .../google/bigtable/v2/TimestampRange.java | 5 +- .../com/google/bigtable/v2/ValueRange.java | 5 +- .../container/v1/AcceleratorConfig.java | 5 +- .../com/google/container/v1/AddonsConfig.java | 5 +- .../container/v1/AutoUpgradeOptions.java | 5 +- .../container/v1/CancelOperationRequest.java | 5 +- .../container/v1/ClientCertificateConfig.java | 5 +- .../java/com/google/container/v1/Cluster.java | 5 +- .../container/v1/ClusterServiceProto.java | 76 +- .../google/container/v1/ClusterUpdate.java | 5 +- .../v1/CompleteIPRotationRequest.java | 5 +- .../container/v1/CreateClusterRequest.java | 5 +- .../container/v1/CreateNodePoolRequest.java | 5 +- .../container/v1/DailyMaintenanceWindow.java | 5 +- .../container/v1/DeleteClusterRequest.java | 5 +- .../container/v1/DeleteNodePoolRequest.java | 5 +- .../container/v1/GetClusterRequest.java | 5 +- .../container/v1/GetNodePoolRequest.java | 5 +- .../container/v1/GetOperationRequest.java | 5 +- .../container/v1/GetServerConfigRequest.java | 5 +- .../v1/HorizontalPodAutoscaling.java | 5 +- .../container/v1/HttpLoadBalancing.java | 5 +- .../container/v1/IPAllocationPolicy.java | 5 +- .../container/v1/KubernetesDashboard.java | 5 +- .../com/google/container/v1/LegacyAbac.java | 5 +- .../container/v1/ListClustersRequest.java | 5 +- .../container/v1/ListClustersResponse.java | 5 +- .../container/v1/ListNodePoolsRequest.java | 5 +- .../container/v1/ListNodePoolsResponse.java | 5 +- .../container/v1/ListOperationsRequest.java | 5 +- .../container/v1/ListOperationsResponse.java | 5 +- .../container/v1/MaintenancePolicy.java | 5 +- .../container/v1/MaintenanceWindow.java | 5 +- .../com/google/container/v1/MasterAuth.java | 5 +- .../v1/MasterAuthorizedNetworksConfig.java | 10 +- .../google/container/v1/NetworkPolicy.java | 5 +- .../container/v1/NetworkPolicyConfig.java | 5 +- .../com/google/container/v1/NodeConfig.java | 5 +- .../google/container/v1/NodeManagement.java | 5 +- .../com/google/container/v1/NodePool.java | 5 +- .../container/v1/NodePoolAutoscaling.java | 5 +- .../com/google/container/v1/Operation.java | 5 +- .../v1/RollbackNodePoolUpgradeRequest.java | 5 +- .../com/google/container/v1/ServerConfig.java | 5 +- .../container/v1/SetAddonsConfigRequest.java | 5 +- .../google/container/v1/SetLabelsRequest.java | 5 +- .../container/v1/SetLegacyAbacRequest.java | 5 +- .../container/v1/SetLocationsRequest.java | 5 +- .../v1/SetLoggingServiceRequest.java | 5 +- .../v1/SetMaintenancePolicyRequest.java | 5 +- .../container/v1/SetMasterAuthRequest.java | 5 +- .../v1/SetMonitoringServiceRequest.java | 5 +- .../container/v1/SetNetworkPolicyRequest.java | 5 +- .../v1/SetNodePoolAutoscalingRequest.java | 5 +- .../v1/SetNodePoolManagementRequest.java | 5 +- .../container/v1/SetNodePoolSizeRequest.java | 5 +- .../container/v1/StartIPRotationRequest.java | 5 +- .../container/v1/UpdateClusterRequest.java | 5 +- .../container/v1/UpdateMasterRequest.java | 5 +- .../container/v1/UpdateNodePoolRequest.java | 5 +- .../cloud/dataproc/v1/AcceleratorConfig.java | 5 +- .../cloud/dataproc/v1/CancelJobRequest.java | 5 +- .../com/google/cloud/dataproc/v1/Cluster.java | 5 +- .../cloud/dataproc/v1/ClusterConfig.java | 5 +- .../cloud/dataproc/v1/ClusterMetrics.java | 5 +- .../dataproc/v1/ClusterOperationMetadata.java | 5 +- .../dataproc/v1/ClusterOperationStatus.java | 5 +- .../cloud/dataproc/v1/ClusterStatus.java | 5 +- .../cloud/dataproc/v1/ClustersProto.java | 24 +- .../dataproc/v1/CreateClusterRequest.java | 5 +- .../dataproc/v1/DeleteClusterRequest.java | 5 +- .../cloud/dataproc/v1/DeleteJobRequest.java | 5 +- .../dataproc/v1/DiagnoseClusterRequest.java | 5 +- .../dataproc/v1/DiagnoseClusterResults.java | 5 +- .../google/cloud/dataproc/v1/DiskConfig.java | 5 +- .../cloud/dataproc/v1/GceClusterConfig.java | 5 +- .../cloud/dataproc/v1/GetClusterRequest.java | 5 +- .../cloud/dataproc/v1/GetJobRequest.java | 5 +- .../google/cloud/dataproc/v1/HadoopJob.java | 5 +- .../com/google/cloud/dataproc/v1/HiveJob.java | 5 +- .../dataproc/v1/InstanceGroupConfig.java | 5 +- .../com/google/cloud/dataproc/v1/Job.java | 5 +- .../cloud/dataproc/v1/JobPlacement.java | 5 +- .../cloud/dataproc/v1/JobReference.java | 5 +- .../cloud/dataproc/v1/JobScheduling.java | 5 +- .../google/cloud/dataproc/v1/JobStatus.java | 5 +- .../google/cloud/dataproc/v1/JobsProto.java | 32 +- .../dataproc/v1/ListClustersRequest.java | 5 +- .../dataproc/v1/ListClustersResponse.java | 5 +- .../cloud/dataproc/v1/ListJobsRequest.java | 5 +- .../cloud/dataproc/v1/ListJobsResponse.java | 5 +- .../cloud/dataproc/v1/LoggingConfig.java | 5 +- .../cloud/dataproc/v1/ManagedGroupConfig.java | 5 +- .../dataproc/v1/NodeInitializationAction.java | 5 +- .../cloud/dataproc/v1/OperationsProto.java | 4 +- .../com/google/cloud/dataproc/v1/PigJob.java | 5 +- .../google/cloud/dataproc/v1/PySparkJob.java | 5 +- .../google/cloud/dataproc/v1/QueryList.java | 5 +- .../cloud/dataproc/v1/SoftwareConfig.java | 5 +- .../google/cloud/dataproc/v1/SparkJob.java | 5 +- .../google/cloud/dataproc/v1/SparkSqlJob.java | 5 +- .../cloud/dataproc/v1/SubmitJobRequest.java | 5 +- .../dataproc/v1/UpdateClusterRequest.java | 5 +- .../cloud/dataproc/v1/UpdateJobRequest.java | 5 +- .../cloud/dataproc/v1/YarnApplication.java | 5 +- .../datastore/v1/AllocateIdsRequest.java | 5 +- .../datastore/v1/AllocateIdsResponse.java | 5 +- .../com/google/datastore/v1/ArrayValue.java | 5 +- .../datastore/v1/BeginTransactionRequest.java | 5 +- .../v1/BeginTransactionResponse.java | 5 +- .../google/datastore/v1/CommitRequest.java | 5 +- .../google/datastore/v1/CommitResponse.java | 5 +- .../google/datastore/v1/CompositeFilter.java | 5 +- .../google/datastore/v1/DatastoreProto.java | 18 +- .../java/com/google/datastore/v1/Entity.java | 5 +- .../com/google/datastore/v1/EntityProto.java | 6 +- .../com/google/datastore/v1/EntityResult.java | 5 +- .../java/com/google/datastore/v1/Filter.java | 5 +- .../com/google/datastore/v1/GqlQuery.java | 5 +- .../datastore/v1/GqlQueryParameter.java | 5 +- .../java/com/google/datastore/v1/Key.java | 10 +- .../google/datastore/v1/KindExpression.java | 5 +- .../google/datastore/v1/LookupRequest.java | 5 +- .../google/datastore/v1/LookupResponse.java | 5 +- .../com/google/datastore/v1/Mutation.java | 5 +- .../google/datastore/v1/MutationResult.java | 5 +- .../com/google/datastore/v1/PartitionId.java | 5 +- .../com/google/datastore/v1/Projection.java | 5 +- .../google/datastore/v1/PropertyFilter.java | 5 +- .../google/datastore/v1/PropertyOrder.java | 5 +- .../datastore/v1/PropertyReference.java | 5 +- .../java/com/google/datastore/v1/Query.java | 5 +- .../com/google/datastore/v1/QueryProto.java | 12 +- .../google/datastore/v1/QueryResultBatch.java | 5 +- .../com/google/datastore/v1/ReadOptions.java | 5 +- .../datastore/v1/ReserveIdsRequest.java | 5 +- .../datastore/v1/ReserveIdsResponse.java | 5 +- .../google/datastore/v1/RollbackRequest.java | 5 +- .../google/datastore/v1/RollbackResponse.java | 5 +- .../google/datastore/v1/RunQueryRequest.java | 5 +- .../google/datastore/v1/RunQueryResponse.java | 5 +- .../datastore/v1/TransactionOptions.java | 15 +- .../java/com/google/datastore/v1/Value.java | 5 +- .../com/google/cloud/dialogflow/v2/Agent.java | 5 +- .../cloud/dialogflow/v2/AgentProto.java | 10 +- .../v2/BatchCreateEntitiesRequest.java | 5 +- .../v2/BatchDeleteEntitiesRequest.java | 5 +- .../v2/BatchDeleteEntityTypesRequest.java | 5 +- .../v2/BatchDeleteIntentsRequest.java | 5 +- .../v2/BatchUpdateEntitiesRequest.java | 5 +- .../v2/BatchUpdateEntityTypesRequest.java | 5 +- .../v2/BatchUpdateEntityTypesResponse.java | 5 +- .../v2/BatchUpdateIntentsRequest.java | 5 +- .../v2/BatchUpdateIntentsResponse.java | 5 +- .../google/cloud/dialogflow/v2/Context.java | 5 +- .../cloud/dialogflow/v2/ContextProto.java | 8 +- .../dialogflow/v2/CreateContextRequest.java | 5 +- .../v2/CreateEntityTypeRequest.java | 5 +- .../dialogflow/v2/CreateIntentRequest.java | 5 +- .../v2/CreateSessionEntityTypeRequest.java | 5 +- .../v2/DeleteAllContextsRequest.java | 5 +- .../dialogflow/v2/DeleteContextRequest.java | 5 +- .../v2/DeleteEntityTypeRequest.java | 5 +- .../dialogflow/v2/DeleteIntentRequest.java | 5 +- .../v2/DeleteSessionEntityTypeRequest.java | 5 +- .../dialogflow/v2/DetectIntentRequest.java | 5 +- .../dialogflow/v2/DetectIntentResponse.java | 5 +- .../cloud/dialogflow/v2/EntityType.java | 10 +- .../cloud/dialogflow/v2/EntityTypeBatch.java | 5 +- .../cloud/dialogflow/v2/EntityTypeProto.java | 20 +- .../cloud/dialogflow/v2/EventInput.java | 5 +- .../dialogflow/v2/ExportAgentRequest.java | 5 +- .../dialogflow/v2/ExportAgentResponse.java | 5 +- .../cloud/dialogflow/v2/GetAgentRequest.java | 5 +- .../dialogflow/v2/GetContextRequest.java | 5 +- .../dialogflow/v2/GetEntityTypeRequest.java | 5 +- .../cloud/dialogflow/v2/GetIntentRequest.java | 5 +- .../v2/GetSessionEntityTypeRequest.java | 5 +- .../dialogflow/v2/ImportAgentRequest.java | 5 +- .../cloud/dialogflow/v2/InputAudioConfig.java | 5 +- .../google/cloud/dialogflow/v2/Intent.java | 120 ++- .../cloud/dialogflow/v2/IntentBatch.java | 5 +- .../cloud/dialogflow/v2/IntentProto.java | 34 +- .../dialogflow/v2/ListContextsRequest.java | 5 +- .../dialogflow/v2/ListContextsResponse.java | 5 +- .../dialogflow/v2/ListEntityTypesRequest.java | 5 +- .../v2/ListEntityTypesResponse.java | 5 +- .../dialogflow/v2/ListIntentsRequest.java | 5 +- .../dialogflow/v2/ListIntentsResponse.java | 5 +- .../v2/ListSessionEntityTypesRequest.java | 5 +- .../v2/ListSessionEntityTypesResponse.java | 5 +- .../v2/OriginalDetectIntentRequest.java | 5 +- .../cloud/dialogflow/v2/QueryInput.java | 5 +- .../cloud/dialogflow/v2/QueryParameters.java | 5 +- .../cloud/dialogflow/v2/QueryResult.java | 5 +- .../dialogflow/v2/RestoreAgentRequest.java | 5 +- .../dialogflow/v2/SearchAgentsRequest.java | 5 +- .../dialogflow/v2/SearchAgentsResponse.java | 5 +- .../dialogflow/v2/SessionEntityType.java | 5 +- .../dialogflow/v2/SessionEntityTypeProto.java | 10 +- .../cloud/dialogflow/v2/SessionProto.java | 16 +- .../v2/StreamingDetectIntentRequest.java | 5 +- .../v2/StreamingDetectIntentResponse.java | 5 +- .../v2/StreamingRecognitionResult.java | 5 +- .../google/cloud/dialogflow/v2/TextInput.java | 5 +- .../dialogflow/v2/TrainAgentRequest.java | 5 +- .../dialogflow/v2/UpdateContextRequest.java | 5 +- .../v2/UpdateEntityTypeRequest.java | 5 +- .../dialogflow/v2/UpdateIntentRequest.java | 5 +- .../v2/UpdateSessionEntityTypeRequest.java | 5 +- .../cloud/dialogflow/v2/WebhookProto.java | 4 +- .../cloud/dialogflow/v2/WebhookRequest.java | 5 +- .../cloud/dialogflow/v2/WebhookResponse.java | 5 +- .../cloud/dialogflow/v2beta1/Agent.java | 5 +- .../cloud/dialogflow/v2beta1/AgentProto.java | 10 +- .../v2beta1/BatchCreateEntitiesRequest.java | 5 +- .../v2beta1/BatchDeleteEntitiesRequest.java | 5 +- .../BatchDeleteEntityTypesRequest.java | 5 +- .../v2beta1/BatchDeleteIntentsRequest.java | 5 +- .../v2beta1/BatchUpdateEntitiesRequest.java | 5 +- .../BatchUpdateEntityTypesRequest.java | 5 +- .../BatchUpdateEntityTypesResponse.java | 5 +- .../v2beta1/BatchUpdateIntentsRequest.java | 5 +- .../v2beta1/BatchUpdateIntentsResponse.java | 5 +- .../cloud/dialogflow/v2beta1/Context.java | 5 +- .../dialogflow/v2beta1/ContextProto.java | 12 +- .../v2beta1/CreateContextRequest.java | 5 +- .../v2beta1/CreateEntityTypeRequest.java | 5 +- .../v2beta1/CreateIntentRequest.java | 5 +- .../CreateSessionEntityTypeRequest.java | 5 +- .../v2beta1/DeleteAllContextsRequest.java | 5 +- .../v2beta1/DeleteContextRequest.java | 5 +- .../v2beta1/DeleteEntityTypeRequest.java | 5 +- .../v2beta1/DeleteIntentRequest.java | 5 +- .../DeleteSessionEntityTypeRequest.java | 5 +- .../v2beta1/DetectIntentRequest.java | 5 +- .../v2beta1/DetectIntentResponse.java | 5 +- .../cloud/dialogflow/v2beta1/EntityType.java | 10 +- .../dialogflow/v2beta1/EntityTypeBatch.java | 5 +- .../dialogflow/v2beta1/EntityTypeProto.java | 20 +- .../cloud/dialogflow/v2beta1/EventInput.java | 5 +- .../v2beta1/ExportAgentRequest.java | 5 +- .../v2beta1/ExportAgentResponse.java | 5 +- .../dialogflow/v2beta1/GetAgentRequest.java | 5 +- .../dialogflow/v2beta1/GetContextRequest.java | 5 +- .../v2beta1/GetEntityTypeRequest.java | 5 +- .../dialogflow/v2beta1/GetIntentRequest.java | 5 +- .../v2beta1/GetSessionEntityTypeRequest.java | 5 +- .../v2beta1/ImportAgentRequest.java | 5 +- .../dialogflow/v2beta1/InputAudioConfig.java | 5 +- .../cloud/dialogflow/v2beta1/Intent.java | 120 ++- .../cloud/dialogflow/v2beta1/IntentBatch.java | 5 +- .../cloud/dialogflow/v2beta1/IntentProto.java | 36 +- .../v2beta1/ListContextsRequest.java | 5 +- .../v2beta1/ListContextsResponse.java | 5 +- .../v2beta1/ListEntityTypesRequest.java | 5 +- .../v2beta1/ListEntityTypesResponse.java | 5 +- .../v2beta1/ListIntentsRequest.java | 5 +- .../v2beta1/ListIntentsResponse.java | 5 +- .../ListSessionEntityTypesRequest.java | 5 +- .../ListSessionEntityTypesResponse.java | 5 +- .../v2beta1/OriginalDetectIntentRequest.java | 5 +- .../cloud/dialogflow/v2beta1/QueryInput.java | 5 +- .../dialogflow/v2beta1/QueryParameters.java | 5 +- .../cloud/dialogflow/v2beta1/QueryResult.java | 5 +- .../v2beta1/RestoreAgentRequest.java | 5 +- .../v2beta1/SearchAgentsRequest.java | 5 +- .../v2beta1/SearchAgentsResponse.java | 5 +- .../dialogflow/v2beta1/SessionEntityType.java | 5 +- .../v2beta1/SessionEntityTypeProto.java | 14 +- .../dialogflow/v2beta1/SessionProto.java | 18 +- .../v2beta1/StreamingDetectIntentRequest.java | 5 +- .../StreamingDetectIntentResponse.java | 5 +- .../v2beta1/StreamingRecognitionResult.java | 5 +- .../cloud/dialogflow/v2beta1/TextInput.java | 5 +- .../dialogflow/v2beta1/TrainAgentRequest.java | 5 +- .../v2beta1/UpdateContextRequest.java | 5 +- .../v2beta1/UpdateEntityTypeRequest.java | 5 +- .../v2beta1/UpdateIntentRequest.java | 5 +- .../UpdateSessionEntityTypeRequest.java | 5 +- .../dialogflow/v2beta1/WebhookProto.java | 4 +- .../dialogflow/v2beta1/WebhookRequest.java | 5 +- .../dialogflow/v2beta1/WebhookResponse.java | 5 +- .../com/google/privacy/dlp/v2/Action.java | 20 +- .../dlp/v2/AnalyzeDataSourceRiskDetails.java | 65 +- .../google/privacy/dlp/v2/BigQueryKey.java | 5 +- .../privacy/dlp/v2/BigQueryOptions.java | 5 +- .../google/privacy/dlp/v2/BigQueryTable.java | 5 +- .../google/privacy/dlp/v2/BoundingBox.java | 5 +- .../privacy/dlp/v2/BucketingConfig.java | 10 +- .../privacy/dlp/v2/ByteContentItem.java | 5 +- .../privacy/dlp/v2/CancelDlpJobRequest.java | 5 +- .../privacy/dlp/v2/CharacterMaskConfig.java | 5 +- .../google/privacy/dlp/v2/CharsToIgnore.java | 5 +- .../privacy/dlp/v2/CloudStorageOptions.java | 10 +- .../privacy/dlp/v2/CloudStoragePath.java | 5 +- .../java/com/google/privacy/dlp/v2/Color.java | 5 +- .../google/privacy/dlp/v2/ContentItem.java | 5 +- .../privacy/dlp/v2/ContentLocation.java | 5 +- .../v2/CreateDeidentifyTemplateRequest.java | 5 +- .../privacy/dlp/v2/CreateDlpJobRequest.java | 5 +- .../dlp/v2/CreateInspectTemplateRequest.java | 5 +- .../dlp/v2/CreateJobTriggerRequest.java | 5 +- .../privacy/dlp/v2/CryptoHashConfig.java | 5 +- .../com/google/privacy/dlp/v2/CryptoKey.java | 5 +- .../dlp/v2/CryptoReplaceFfxFpeConfig.java | 5 +- .../google/privacy/dlp/v2/CustomInfoType.java | 45 +- .../google/privacy/dlp/v2/DatastoreKey.java | 5 +- .../privacy/dlp/v2/DatastoreOptions.java | 5 +- .../privacy/dlp/v2/DateShiftConfig.java | 5 +- .../com/google/privacy/dlp/v2/DateTime.java | 10 +- .../privacy/dlp/v2/DeidentifyConfig.java | 5 +- .../dlp/v2/DeidentifyContentRequest.java | 5 +- .../dlp/v2/DeidentifyContentResponse.java | 5 +- .../privacy/dlp/v2/DeidentifyTemplate.java | 5 +- .../v2/DeleteDeidentifyTemplateRequest.java | 5 +- .../privacy/dlp/v2/DeleteDlpJobRequest.java | 5 +- .../dlp/v2/DeleteInspectTemplateRequest.java | 5 +- .../dlp/v2/DeleteJobTriggerRequest.java | 5 +- .../com/google/privacy/dlp/v2/DlpJob.java | 5 +- .../com/google/privacy/dlp/v2/DlpProto.java | 132 +-- .../com/google/privacy/dlp/v2/DlpStorage.java | 18 +- .../privacy/dlp/v2/DocumentLocation.java | 5 +- .../com/google/privacy/dlp/v2/EntityId.java | 5 +- .../java/com/google/privacy/dlp/v2/Error.java | 5 +- .../com/google/privacy/dlp/v2/FieldId.java | 5 +- .../privacy/dlp/v2/FieldTransformation.java | 5 +- .../com/google/privacy/dlp/v2/Finding.java | 5 +- .../dlp/v2/FixedSizeBucketingConfig.java | 5 +- .../dlp/v2/GetDeidentifyTemplateRequest.java | 5 +- .../privacy/dlp/v2/GetDlpJobRequest.java | 5 +- .../dlp/v2/GetInspectTemplateRequest.java | 5 +- .../privacy/dlp/v2/GetJobTriggerRequest.java | 5 +- .../google/privacy/dlp/v2/ImageLocation.java | 5 +- .../com/google/privacy/dlp/v2/InfoType.java | 5 +- .../privacy/dlp/v2/InfoTypeDescription.java | 5 +- .../google/privacy/dlp/v2/InfoTypeStats.java | 5 +- .../dlp/v2/InfoTypeTransformations.java | 10 +- .../google/privacy/dlp/v2/InspectConfig.java | 15 +- .../privacy/dlp/v2/InspectContentRequest.java | 5 +- .../dlp/v2/InspectContentResponse.java | 5 +- .../dlp/v2/InspectDataSourceDetails.java | 15 +- .../privacy/dlp/v2/InspectJobConfig.java | 5 +- .../google/privacy/dlp/v2/InspectResult.java | 5 +- .../privacy/dlp/v2/InspectTemplate.java | 5 +- .../com/google/privacy/dlp/v2/JobTrigger.java | 10 +- .../java/com/google/privacy/dlp/v2/Key.java | 10 +- .../google/privacy/dlp/v2/KindExpression.java | 5 +- .../privacy/dlp/v2/KmsWrappedCryptoKey.java | 5 +- .../v2/ListDeidentifyTemplatesRequest.java | 5 +- .../v2/ListDeidentifyTemplatesResponse.java | 5 +- .../privacy/dlp/v2/ListDlpJobsRequest.java | 5 +- .../privacy/dlp/v2/ListDlpJobsResponse.java | 5 +- .../privacy/dlp/v2/ListInfoTypesRequest.java | 5 +- .../privacy/dlp/v2/ListInfoTypesResponse.java | 5 +- .../dlp/v2/ListInspectTemplatesRequest.java | 5 +- .../dlp/v2/ListInspectTemplatesResponse.java | 5 +- .../dlp/v2/ListJobTriggersRequest.java | 5 +- .../dlp/v2/ListJobTriggersResponse.java | 5 +- .../com/google/privacy/dlp/v2/Location.java | 5 +- .../privacy/dlp/v2/OutputStorageConfig.java | 5 +- .../google/privacy/dlp/v2/PartitionId.java | 5 +- .../dlp/v2/PrimitiveTransformation.java | 5 +- .../google/privacy/dlp/v2/PrivacyMetric.java | 45 +- .../com/google/privacy/dlp/v2/QuoteInfo.java | 5 +- .../java/com/google/privacy/dlp/v2/Range.java | 5 +- .../privacy/dlp/v2/RecordCondition.java | 20 +- .../com/google/privacy/dlp/v2/RecordKey.java | 5 +- .../google/privacy/dlp/v2/RecordLocation.java | 5 +- .../privacy/dlp/v2/RecordSuppression.java | 5 +- .../privacy/dlp/v2/RecordTransformations.java | 5 +- .../google/privacy/dlp/v2/RedactConfig.java | 5 +- .../privacy/dlp/v2/RedactImageRequest.java | 10 +- .../privacy/dlp/v2/RedactImageResponse.java | 5 +- .../dlp/v2/ReidentifyContentRequest.java | 5 +- .../dlp/v2/ReidentifyContentResponse.java | 5 +- .../privacy/dlp/v2/ReplaceValueConfig.java | 5 +- .../dlp/v2/ReplaceWithInfoTypeConfig.java | 5 +- .../privacy/dlp/v2/RiskAnalysisJobConfig.java | 5 +- .../com/google/privacy/dlp/v2/Schedule.java | 5 +- .../google/privacy/dlp/v2/StorageConfig.java | 10 +- .../java/com/google/privacy/dlp/v2/Table.java | 10 +- .../google/privacy/dlp/v2/TableLocation.java | 5 +- .../google/privacy/dlp/v2/TimePartConfig.java | 5 +- .../dlp/v2/TransformationOverview.java | 5 +- .../privacy/dlp/v2/TransformationSummary.java | 10 +- .../privacy/dlp/v2/TransientCryptoKey.java | 5 +- .../privacy/dlp/v2/UnwrappedCryptoKey.java | 5 +- .../v2/UpdateDeidentifyTemplateRequest.java | 5 +- .../dlp/v2/UpdateInspectTemplateRequest.java | 5 +- .../dlp/v2/UpdateJobTriggerRequest.java | 5 +- .../java/com/google/privacy/dlp/v2/Value.java | 5 +- .../google/privacy/dlp/v2/ValueFrequency.java | 5 +- .../v1beta1/CommonProto.java | 6 +- .../v1beta1/DeleteEventsRequest.java | 5 +- .../v1beta1/DeleteEventsResponse.java | 5 +- .../v1beta1/ErrorContext.java | 5 +- .../v1beta1/ErrorEvent.java | 5 +- .../v1beta1/ErrorGroup.java | 5 +- .../v1beta1/ErrorGroupServiceProto.java | 4 +- .../v1beta1/ErrorGroupStats.java | 5 +- .../v1beta1/ErrorStatsServiceProto.java | 18 +- .../v1beta1/GetGroupRequest.java | 5 +- .../v1beta1/HttpRequestContext.java | 5 +- .../v1beta1/ListEventsRequest.java | 5 +- .../v1beta1/ListEventsResponse.java | 5 +- .../v1beta1/ListGroupStatsRequest.java | 5 +- .../v1beta1/ListGroupStatsResponse.java | 5 +- .../v1beta1/QueryTimeRange.java | 5 +- .../v1beta1/ReportErrorEventRequest.java | 5 +- .../v1beta1/ReportErrorEventResponse.java | 5 +- .../v1beta1/ReportErrorsServiceProto.java | 4 +- .../v1beta1/ReportedErrorEvent.java | 5 +- .../v1beta1/ServiceContext.java | 5 +- .../v1beta1/ServiceContextFilter.java | 5 +- .../v1beta1/SourceLocation.java | 5 +- .../v1beta1/TimedCount.java | 5 +- .../v1beta1/TrackingIssue.java | 5 +- .../v1beta1/UpdateGroupRequest.java | 5 +- .../google/firestore/v1beta1/ArrayValue.java | 5 +- .../v1beta1/BatchGetDocumentsRequest.java | 5 +- .../v1beta1/BatchGetDocumentsResponse.java | 5 +- .../v1beta1/BeginTransactionRequest.java | 5 +- .../v1beta1/BeginTransactionResponse.java | 5 +- .../firestore/v1beta1/CommitRequest.java | 5 +- .../firestore/v1beta1/CommitResponse.java | 5 +- .../google/firestore/v1beta1/CommonProto.java | 2 +- .../v1beta1/CreateDocumentRequest.java | 5 +- .../com/google/firestore/v1beta1/Cursor.java | 5 +- .../v1beta1/DeleteDocumentRequest.java | 5 +- .../google/firestore/v1beta1/Document.java | 5 +- .../firestore/v1beta1/DocumentChange.java | 5 +- .../firestore/v1beta1/DocumentDelete.java | 5 +- .../firestore/v1beta1/DocumentMask.java | 5 +- .../firestore/v1beta1/DocumentProto.java | 6 +- .../firestore/v1beta1/DocumentRemove.java | 5 +- .../firestore/v1beta1/DocumentTransform.java | 10 +- .../firestore/v1beta1/ExistenceFilter.java | 5 +- .../firestore/v1beta1/FirestoreProto.java | 36 +- .../firestore/v1beta1/GetDocumentRequest.java | 5 +- .../v1beta1/ListCollectionIdsRequest.java | 5 +- .../v1beta1/ListCollectionIdsResponse.java | 5 +- .../v1beta1/ListDocumentsRequest.java | 5 +- .../v1beta1/ListDocumentsResponse.java | 5 +- .../firestore/v1beta1/ListenRequest.java | 5 +- .../firestore/v1beta1/ListenResponse.java | 5 +- .../google/firestore/v1beta1/MapValue.java | 5 +- .../firestore/v1beta1/Precondition.java | 5 +- .../google/firestore/v1beta1/QueryProto.java | 10 +- .../firestore/v1beta1/RollbackRequest.java | 5 +- .../firestore/v1beta1/RunQueryRequest.java | 5 +- .../firestore/v1beta1/RunQueryResponse.java | 5 +- .../firestore/v1beta1/StructuredQuery.java | 45 +- .../com/google/firestore/v1beta1/Target.java | 15 +- .../firestore/v1beta1/TargetChange.java | 5 +- .../firestore/v1beta1/TransactionOptions.java | 15 +- .../v1beta1/UpdateDocumentRequest.java | 5 +- .../com/google/firestore/v1beta1/Value.java | 5 +- .../com/google/firestore/v1beta1/Write.java | 5 +- .../google/firestore/v1beta1/WriteProto.java | 6 +- .../firestore/v1beta1/WriteRequest.java | 5 +- .../firestore/v1beta1/WriteResponse.java | 5 +- .../google/firestore/v1beta1/WriteResult.java | 5 +- .../iot/v1/CreateDeviceRegistryRequest.java | 5 +- .../cloud/iot/v1/CreateDeviceRequest.java | 5 +- .../iot/v1/DeleteDeviceRegistryRequest.java | 5 +- .../cloud/iot/v1/DeleteDeviceRequest.java | 5 +- .../java/com/google/cloud/iot/v1/Device.java | 5 +- .../com/google/cloud/iot/v1/DeviceConfig.java | 5 +- .../google/cloud/iot/v1/DeviceCredential.java | 5 +- .../cloud/iot/v1/DeviceManagerProto.java | 26 +- .../google/cloud/iot/v1/DeviceRegistry.java | 5 +- .../com/google/cloud/iot/v1/DeviceState.java | 5 +- .../cloud/iot/v1/EventNotificationConfig.java | 5 +- .../iot/v1/GetDeviceRegistryRequest.java | 5 +- .../google/cloud/iot/v1/GetDeviceRequest.java | 5 +- .../com/google/cloud/iot/v1/HttpConfig.java | 5 +- .../v1/ListDeviceConfigVersionsRequest.java | 5 +- .../v1/ListDeviceConfigVersionsResponse.java | 5 +- .../iot/v1/ListDeviceRegistriesRequest.java | 5 +- .../iot/v1/ListDeviceRegistriesResponse.java | 5 +- .../cloud/iot/v1/ListDeviceStatesRequest.java | 5 +- .../iot/v1/ListDeviceStatesResponse.java | 5 +- .../cloud/iot/v1/ListDevicesRequest.java | 5 +- .../cloud/iot/v1/ListDevicesResponse.java | 5 +- .../v1/ModifyCloudToDeviceConfigRequest.java | 5 +- .../com/google/cloud/iot/v1/MqttConfig.java | 5 +- .../cloud/iot/v1/PublicKeyCertificate.java | 5 +- .../cloud/iot/v1/PublicKeyCredential.java | 5 +- .../cloud/iot/v1/RegistryCredential.java | 5 +- .../google/cloud/iot/v1/ResourcesProto.java | 14 +- .../cloud/iot/v1/StateNotificationConfig.java | 5 +- .../iot/v1/UpdateDeviceRegistryRequest.java | 5 +- .../cloud/iot/v1/UpdateDeviceRequest.java | 5 +- .../cloud/iot/v1/X509CertificateDetails.java | 5 +- .../language/v1/AnalyzeEntitiesRequest.java | 5 +- .../language/v1/AnalyzeEntitiesResponse.java | 5 +- .../v1/AnalyzeEntitySentimentRequest.java | 5 +- .../v1/AnalyzeEntitySentimentResponse.java | 5 +- .../language/v1/AnalyzeSentimentRequest.java | 5 +- .../language/v1/AnalyzeSentimentResponse.java | 5 +- .../language/v1/AnalyzeSyntaxRequest.java | 5 +- .../language/v1/AnalyzeSyntaxResponse.java | 5 +- .../language/v1/AnnotateTextRequest.java | 10 +- .../language/v1/AnnotateTextResponse.java | 5 +- .../language/v1/ClassificationCategory.java | 5 +- .../language/v1/ClassifyTextRequest.java | 5 +- .../language/v1/ClassifyTextResponse.java | 5 +- .../cloud/language/v1/DependencyEdge.java | 5 +- .../google/cloud/language/v1/Document.java | 5 +- .../com/google/cloud/language/v1/Entity.java | 5 +- .../cloud/language/v1/EntityMention.java | 5 +- .../language/v1/LanguageServiceProto.java | 38 +- .../cloud/language/v1/PartOfSpeech.java | 5 +- .../google/cloud/language/v1/Sentence.java | 5 +- .../google/cloud/language/v1/Sentiment.java | 5 +- .../google/cloud/language/v1/TextSpan.java | 5 +- .../com/google/cloud/language/v1/Token.java | 5 +- .../v1beta2/AnalyzeEntitiesRequest.java | 5 +- .../v1beta2/AnalyzeEntitiesResponse.java | 5 +- .../AnalyzeEntitySentimentRequest.java | 5 +- .../AnalyzeEntitySentimentResponse.java | 5 +- .../v1beta2/AnalyzeSentimentRequest.java | 5 +- .../v1beta2/AnalyzeSentimentResponse.java | 5 +- .../v1beta2/AnalyzeSyntaxRequest.java | 5 +- .../v1beta2/AnalyzeSyntaxResponse.java | 5 +- .../language/v1beta2/AnnotateTextRequest.java | 10 +- .../v1beta2/AnnotateTextResponse.java | 5 +- .../v1beta2/ClassificationCategory.java | 5 +- .../language/v1beta2/ClassifyTextRequest.java | 5 +- .../v1beta2/ClassifyTextResponse.java | 5 +- .../language/v1beta2/DependencyEdge.java | 5 +- .../cloud/language/v1beta2/Document.java | 5 +- .../google/cloud/language/v1beta2/Entity.java | 5 +- .../cloud/language/v1beta2/EntityMention.java | 5 +- .../v1beta2/LanguageServiceProto.java | 40 +- .../cloud/language/v1beta2/PartOfSpeech.java | 5 +- .../cloud/language/v1beta2/Sentence.java | 5 +- .../cloud/language/v1beta2/Sentiment.java | 5 +- .../cloud/language/v1beta2/TextSpan.java | 5 +- .../google/cloud/language/v1beta2/Token.java | 5 +- .../logging/v2/CreateExclusionRequest.java | 5 +- .../logging/v2/CreateLogMetricRequest.java | 5 +- .../google/logging/v2/CreateSinkRequest.java | 5 +- .../logging/v2/DeleteExclusionRequest.java | 5 +- .../logging/v2/DeleteLogMetricRequest.java | 5 +- .../google/logging/v2/DeleteLogRequest.java | 5 +- .../google/logging/v2/DeleteSinkRequest.java | 5 +- .../logging/v2/GetExclusionRequest.java | 5 +- .../logging/v2/GetLogMetricRequest.java | 5 +- .../com/google/logging/v2/GetSinkRequest.java | 5 +- .../logging/v2/ListExclusionsRequest.java | 5 +- .../logging/v2/ListExclusionsResponse.java | 5 +- .../logging/v2/ListLogEntriesRequest.java | 5 +- .../logging/v2/ListLogEntriesResponse.java | 5 +- .../logging/v2/ListLogMetricsRequest.java | 5 +- .../logging/v2/ListLogMetricsResponse.java | 5 +- .../google/logging/v2/ListLogsRequest.java | 5 +- .../google/logging/v2/ListLogsResponse.java | 5 +- ...stMonitoredResourceDescriptorsRequest.java | 5 +- ...tMonitoredResourceDescriptorsResponse.java | 5 +- .../google/logging/v2/ListSinksRequest.java | 5 +- .../google/logging/v2/ListSinksResponse.java | 5 +- .../java/com/google/logging/v2/LogEntry.java | 5 +- .../google/logging/v2/LogEntryOperation.java | 5 +- .../com/google/logging/v2/LogEntryProto.java | 6 +- .../logging/v2/LogEntrySourceLocation.java | 5 +- .../com/google/logging/v2/LogExclusion.java | 5 +- .../java/com/google/logging/v2/LogMetric.java | 5 +- .../java/com/google/logging/v2/LogSink.java | 5 +- .../google/logging/v2/LoggingConfigProto.java | 14 +- .../logging/v2/LoggingMetricsProto.java | 8 +- .../com/google/logging/v2/LoggingProto.java | 10 +- .../logging/v2/UpdateExclusionRequest.java | 5 +- .../logging/v2/UpdateLogMetricRequest.java | 5 +- .../google/logging/v2/UpdateSinkRequest.java | 5 +- .../v2/WriteLogEntriesPartialErrors.java | 5 +- .../logging/v2/WriteLogEntriesRequest.java | 5 +- .../logging/v2/WriteLogEntriesResponse.java | 5 +- .../com/google/monitoring/v3/Aggregation.java | 5 +- .../com/google/monitoring/v3/AlertPolicy.java | 30 +- .../com/google/monitoring/v3/AlertProto.java | 10 +- .../monitoring/v3/AlertServiceProto.java | 8 +- .../com/google/monitoring/v3/CommonProto.java | 8 +- .../v3/CreateAlertPolicyRequest.java | 5 +- .../monitoring/v3/CreateGroupRequest.java | 5 +- .../v3/CreateMetricDescriptorRequest.java | 5 +- .../v3/CreateNotificationChannelRequest.java | 5 +- .../monitoring/v3/CreateTimeSeriesError.java | 5 +- .../v3/CreateTimeSeriesRequest.java | 5 +- .../v3/CreateUptimeCheckConfigRequest.java | 5 +- .../v3/DeleteAlertPolicyRequest.java | 5 +- .../monitoring/v3/DeleteGroupRequest.java | 5 +- .../v3/DeleteMetricDescriptorRequest.java | 5 +- .../v3/DeleteNotificationChannelRequest.java | 5 +- .../v3/DeleteUptimeCheckConfigRequest.java | 5 +- .../monitoring/v3/GetAlertPolicyRequest.java | 5 +- .../google/monitoring/v3/GetGroupRequest.java | 5 +- .../v3/GetMetricDescriptorRequest.java | 5 +- ...GetMonitoredResourceDescriptorRequest.java | 5 +- ...tNotificationChannelDescriptorRequest.java | 5 +- .../v3/GetNotificationChannelRequest.java | 5 +- ...icationChannelVerificationCodeRequest.java | 5 +- ...cationChannelVerificationCodeResponse.java | 5 +- .../v3/GetUptimeCheckConfigRequest.java | 5 +- .../java/com/google/monitoring/v3/Group.java | 5 +- .../monitoring/v3/GroupServiceProto.java | 10 +- .../v3/ListAlertPoliciesRequest.java | 5 +- .../v3/ListAlertPoliciesResponse.java | 5 +- .../v3/ListGroupMembersRequest.java | 5 +- .../v3/ListGroupMembersResponse.java | 5 +- .../monitoring/v3/ListGroupsRequest.java | 5 +- .../monitoring/v3/ListGroupsResponse.java | 5 +- .../v3/ListMetricDescriptorsRequest.java | 5 +- .../v3/ListMetricDescriptorsResponse.java | 5 +- ...stMonitoredResourceDescriptorsRequest.java | 5 +- ...tMonitoredResourceDescriptorsResponse.java | 5 +- ...NotificationChannelDescriptorsRequest.java | 5 +- ...otificationChannelDescriptorsResponse.java | 5 +- .../v3/ListNotificationChannelsRequest.java | 5 +- .../v3/ListNotificationChannelsResponse.java | 5 +- .../monitoring/v3/ListTimeSeriesRequest.java | 5 +- .../monitoring/v3/ListTimeSeriesResponse.java | 5 +- .../v3/ListUptimeCheckConfigsRequest.java | 5 +- .../v3/ListUptimeCheckConfigsResponse.java | 5 +- .../v3/ListUptimeCheckIpsRequest.java | 5 +- .../v3/ListUptimeCheckIpsResponse.java | 5 +- .../com/google/monitoring/v3/MetricProto.java | 2 +- .../monitoring/v3/MetricServiceProto.java | 16 +- .../google/monitoring/v3/MutationRecord.java | 5 +- .../monitoring/v3/NotificationChannel.java | 5 +- .../v3/NotificationChannelDescriptor.java | 5 +- .../monitoring/v3/NotificationProto.java | 4 +- .../v3/NotificationServiceProto.java | 18 +- .../java/com/google/monitoring/v3/Point.java | 5 +- ...icationChannelVerificationCodeRequest.java | 5 +- .../google/monitoring/v3/TimeInterval.java | 5 +- .../com/google/monitoring/v3/TimeSeries.java | 5 +- .../com/google/monitoring/v3/TypedValue.java | 5 +- .../v3/UpdateAlertPolicyRequest.java | 5 +- .../monitoring/v3/UpdateGroupRequest.java | 5 +- .../v3/UpdateNotificationChannelRequest.java | 5 +- .../v3/UpdateUptimeCheckConfigRequest.java | 5 +- .../monitoring/v3/UptimeCheckConfig.java | 35 +- .../google/monitoring/v3/UptimeCheckIp.java | 5 +- .../com/google/monitoring/v3/UptimeProto.java | 8 +- .../monitoring/v3/UptimeServiceProto.java | 10 +- .../v3/VerifyNotificationChannelRequest.java | 5 +- .../cloud/oslogin/common/OsLoginProto.java | 12 +- .../oslogin/v1/DeletePosixAccountRequest.java | 5 +- .../oslogin/v1/DeleteSshPublicKeyRequest.java | 5 +- .../oslogin/v1/GetLoginProfileRequest.java | 5 +- .../oslogin/v1/GetSshPublicKeyRequest.java | 5 +- .../oslogin/v1/ImportSshPublicKeyRequest.java | 5 +- .../v1/ImportSshPublicKeyResponse.java | 5 +- .../google/cloud/oslogin/v1/LoginProfile.java | 5 +- .../google/cloud/oslogin/v1/OsLoginProto.java | 10 +- .../oslogin/v1/UpdateSshPublicKeyRequest.java | 5 +- .../google/pubsub/v1/AcknowledgeRequest.java | 5 +- .../pubsub/v1/CreateSnapshotRequest.java | 5 +- .../pubsub/v1/DeleteSnapshotRequest.java | 5 +- .../pubsub/v1/DeleteSubscriptionRequest.java | 5 +- .../google/pubsub/v1/DeleteTopicRequest.java | 5 +- .../pubsub/v1/GetSubscriptionRequest.java | 5 +- .../com/google/pubsub/v1/GetTopicRequest.java | 5 +- .../pubsub/v1/ListSnapshotsRequest.java | 5 +- .../pubsub/v1/ListSnapshotsResponse.java | 5 +- .../pubsub/v1/ListSubscriptionsRequest.java | 5 +- .../pubsub/v1/ListSubscriptionsResponse.java | 5 +- .../v1/ListTopicSubscriptionsRequest.java | 5 +- .../v1/ListTopicSubscriptionsResponse.java | 5 +- .../google/pubsub/v1/ListTopicsRequest.java | 5 +- .../google/pubsub/v1/ListTopicsResponse.java | 5 +- .../pubsub/v1/ModifyAckDeadlineRequest.java | 5 +- .../pubsub/v1/ModifyPushConfigRequest.java | 5 +- .../com/google/pubsub/v1/PublishRequest.java | 5 +- .../com/google/pubsub/v1/PublishResponse.java | 5 +- .../com/google/pubsub/v1/PubsubMessage.java | 5 +- .../com/google/pubsub/v1/PubsubProto.java | 34 +- .../com/google/pubsub/v1/PullRequest.java | 5 +- .../com/google/pubsub/v1/PullResponse.java | 5 +- .../java/com/google/pubsub/v1/PushConfig.java | 5 +- .../com/google/pubsub/v1/ReceivedMessage.java | 5 +- .../com/google/pubsub/v1/SeekRequest.java | 5 +- .../com/google/pubsub/v1/SeekResponse.java | 5 +- .../java/com/google/pubsub/v1/Snapshot.java | 5 +- .../pubsub/v1/StreamingPullRequest.java | 5 +- .../pubsub/v1/StreamingPullResponse.java | 5 +- .../com/google/pubsub/v1/Subscription.java | 5 +- .../main/java/com/google/pubsub/v1/Topic.java | 5 +- .../pubsub/v1/UpdateSnapshotRequest.java | 5 +- .../pubsub/v1/UpdateSubscriptionRequest.java | 5 +- .../google/pubsub/v1/UpdateTopicRequest.java | 5 +- .../v1beta1/CloudRedisServiceBetaProto.java | 14 +- .../redis/v1beta1/CreateInstanceRequest.java | 5 +- .../redis/v1beta1/DeleteInstanceRequest.java | 5 +- .../redis/v1beta1/GetInstanceRequest.java | 5 +- .../google/cloud/redis/v1beta1/Instance.java | 5 +- .../redis/v1beta1/ListInstancesRequest.java | 5 +- .../redis/v1beta1/ListInstancesResponse.java | 5 +- .../cloud/redis/v1beta1/LocationMetadata.java | 5 +- .../redis/v1beta1/UpdateInstanceRequest.java | 5 +- .../cloud/redis/v1beta1/ZoneMetadata.java | 5 +- .../database/v1/CreateDatabaseMetadata.java | 5 +- .../database/v1/CreateDatabaseRequest.java | 5 +- .../spanner/admin/database/v1/Database.java | 5 +- .../database/v1/DropDatabaseRequest.java | 5 +- .../database/v1/GetDatabaseDdlRequest.java | 5 +- .../database/v1/GetDatabaseDdlResponse.java | 5 +- .../admin/database/v1/GetDatabaseRequest.java | 5 +- .../database/v1/ListDatabasesRequest.java | 5 +- .../database/v1/ListDatabasesResponse.java | 5 +- .../v1/SpannerDatabaseAdminProto.java | 14 +- .../v1/UpdateDatabaseDdlMetadata.java | 5 +- .../database/v1/UpdateDatabaseDdlRequest.java | 5 +- .../instance/v1/CreateInstanceMetadata.java | 5 +- .../instance/v1/CreateInstanceRequest.java | 5 +- .../instance/v1/DeleteInstanceRequest.java | 5 +- .../instance/v1/GetInstanceConfigRequest.java | 5 +- .../admin/instance/v1/GetInstanceRequest.java | 5 +- .../spanner/admin/instance/v1/Instance.java | 5 +- .../admin/instance/v1/InstanceConfig.java | 5 +- .../v1/ListInstanceConfigsRequest.java | 5 +- .../v1/ListInstanceConfigsResponse.java | 5 +- .../instance/v1/ListInstancesRequest.java | 5 +- .../instance/v1/ListInstancesResponse.java | 5 +- .../v1/SpannerInstanceAdminProto.java | 18 +- .../instance/v1/UpdateInstanceMetadata.java | 5 +- .../instance/v1/UpdateInstanceRequest.java | 5 +- .../spanner/v1/BeginTransactionRequest.java | 5 +- .../com/google/spanner/v1/CommitRequest.java | 5 +- .../com/google/spanner/v1/CommitResponse.java | 5 +- .../spanner/v1/CreateSessionRequest.java | 5 +- .../spanner/v1/DeleteSessionRequest.java | 5 +- .../google/spanner/v1/ExecuteSqlRequest.java | 5 +- .../google/spanner/v1/GetSessionRequest.java | 5 +- .../java/com/google/spanner/v1/KeyRange.java | 5 +- .../java/com/google/spanner/v1/KeySet.java | 5 +- .../java/com/google/spanner/v1/KeysProto.java | 2 +- .../spanner/v1/ListSessionsRequest.java | 5 +- .../spanner/v1/ListSessionsResponse.java | 5 +- .../java/com/google/spanner/v1/Mutation.java | 15 +- .../com/google/spanner/v1/MutationProto.java | 2 +- .../google/spanner/v1/PartialResultSet.java | 5 +- .../java/com/google/spanner/v1/Partition.java | 5 +- .../google/spanner/v1/PartitionOptions.java | 5 +- .../spanner/v1/PartitionQueryRequest.java | 5 +- .../spanner/v1/PartitionReadRequest.java | 5 +- .../google/spanner/v1/PartitionResponse.java | 5 +- .../java/com/google/spanner/v1/PlanNode.java | 15 +- .../java/com/google/spanner/v1/QueryPlan.java | 5 +- .../com/google/spanner/v1/QueryPlanProto.java | 4 +- .../com/google/spanner/v1/ReadRequest.java | 5 +- .../java/com/google/spanner/v1/ResultSet.java | 5 +- .../google/spanner/v1/ResultSetMetadata.java | 5 +- .../com/google/spanner/v1/ResultSetProto.java | 4 +- .../com/google/spanner/v1/ResultSetStats.java | 5 +- .../google/spanner/v1/RollbackRequest.java | 5 +- .../java/com/google/spanner/v1/Session.java | 5 +- .../com/google/spanner/v1/SpannerProto.java | 26 +- .../com/google/spanner/v1/StructType.java | 10 +- .../com/google/spanner/v1/Transaction.java | 5 +- .../google/spanner/v1/TransactionOptions.java | 15 +- .../google/spanner/v1/TransactionProto.java | 4 +- .../spanner/v1/TransactionSelector.java | 5 +- .../main/java/com/google/spanner/v1/Type.java | 5 +- .../java/com/google/spanner/v1/TypeProto.java | 2 +- .../v1/LongRunningRecognizeMetadata.java | 5 +- .../v1/LongRunningRecognizeRequest.java | 5 +- .../v1/LongRunningRecognizeResponse.java | 5 +- .../cloud/speech/v1/RecognitionAudio.java | 5 +- .../cloud/speech/v1/RecognitionConfig.java | 5 +- .../cloud/speech/v1/RecognizeRequest.java | 5 +- .../cloud/speech/v1/RecognizeResponse.java | 5 +- .../google/cloud/speech/v1/SpeechContext.java | 5 +- .../google/cloud/speech/v1/SpeechProto.java | 14 +- .../v1/SpeechRecognitionAlternative.java | 5 +- .../speech/v1/SpeechRecognitionResult.java | 5 +- .../speech/v1/StreamingRecognitionConfig.java | 5 +- .../speech/v1/StreamingRecognitionResult.java | 5 +- .../speech/v1/StreamingRecognizeRequest.java | 5 +- .../speech/v1/StreamingRecognizeResponse.java | 5 +- .../com/google/cloud/speech/v1/WordInfo.java | 5 +- .../v1beta1/AsyncRecognizeMetadata.java | 5 +- .../speech/v1beta1/AsyncRecognizeRequest.java | 5 +- .../v1beta1/AsyncRecognizeResponse.java | 5 +- .../speech/v1beta1/RecognitionAudio.java | 5 +- .../speech/v1beta1/RecognitionConfig.java | 5 +- .../cloud/speech/v1beta1/SpeechContext.java | 5 +- .../cloud/speech/v1beta1/SpeechProto.java | 14 +- .../v1beta1/SpeechRecognitionAlternative.java | 5 +- .../v1beta1/SpeechRecognitionResult.java | 5 +- .../v1beta1/StreamingRecognitionConfig.java | 5 +- .../v1beta1/StreamingRecognitionResult.java | 5 +- .../v1beta1/StreamingRecognizeRequest.java | 5 +- .../v1beta1/StreamingRecognizeResponse.java | 5 +- .../speech/v1beta1/SyncRecognizeRequest.java | 5 +- .../speech/v1beta1/SyncRecognizeResponse.java | 5 +- .../speech/v1p1beta1/RecognitionConfig.java | 858 +----------------- .../v1p1beta1/RecognitionConfigOrBuilder.java | 148 --- .../cloud/speech/v1p1beta1/SpeechProto.java | 191 ++-- .../v1p1beta1/SpeechRecognitionResult.java | 261 ------ .../SpeechRecognitionResultOrBuilder.java | 35 - .../v1p1beta1/StreamingRecognitionResult.java | 258 ------ .../StreamingRecognitionResultOrBuilder.java | 35 - .../cloud/speech/v1p1beta1/WordInfo.java | 191 ---- .../speech/v1p1beta1/WordInfoOrBuilder.java | 28 - .../cloud/speech/v1p1beta1/cloud_speech.proto | 92 -- .../cloud/texttospeech/v1/AudioConfig.java | 5 +- .../texttospeech/v1/ListVoicesRequest.java | 5 +- .../texttospeech/v1/ListVoicesResponse.java | 5 +- .../cloud/texttospeech/v1/SynthesisInput.java | 5 +- .../v1/SynthesizeSpeechRequest.java | 5 +- .../v1/SynthesizeSpeechResponse.java | 5 +- .../texttospeech/v1/TextToSpeechProto.java | 13 +- .../google/cloud/texttospeech/v1/Voice.java | 5 +- .../texttospeech/v1/VoiceSelectionParams.java | 5 +- .../cloud/texttospeech/v1/cloud_tts.proto | 2 + .../texttospeech/v1beta1/AudioConfig.java | 258 +++++- .../v1beta1/AudioConfigOrBuilder.java | 43 + .../v1beta1/ListVoicesRequest.java | 5 +- .../v1beta1/ListVoicesResponse.java | 5 +- .../texttospeech/v1beta1/SynthesisInput.java | 5 +- .../v1beta1/SynthesizeSpeechRequest.java | 5 +- .../v1beta1/SynthesizeSpeechResponse.java | 5 +- .../v1beta1/TextToSpeechProto.java | 47 +- .../cloud/texttospeech/v1beta1/Voice.java | 5 +- .../v1beta1/VoiceSelectionParams.java | 5 +- .../texttospeech/v1beta1/cloud_tts.proto | 5 + .../cloudtrace/v1/GetTraceRequest.java | 5 +- .../cloudtrace/v1/ListTracesRequest.java | 5 +- .../cloudtrace/v1/ListTracesResponse.java | 5 +- .../cloudtrace/v1/PatchTracesRequest.java | 5 +- .../google/devtools/cloudtrace/v1/Trace.java | 5 +- .../devtools/cloudtrace/v1/TraceProto.java | 10 +- .../devtools/cloudtrace/v1/TraceSpan.java | 5 +- .../google/devtools/cloudtrace/v1/Traces.java | 5 +- .../cloudtrace/v2/AttributeValue.java | 5 +- .../cloudtrace/v2/BatchWriteSpansRequest.java | 5 +- .../google/devtools/cloudtrace/v2/Module.java | 5 +- .../google/devtools/cloudtrace/v2/Span.java | 40 +- .../devtools/cloudtrace/v2/StackTrace.java | 15 +- .../devtools/cloudtrace/v2/TraceProto.java | 16 +- .../devtools/cloudtrace/v2/TracingProto.java | 2 +- .../cloudtrace/v2/TruncatableString.java | 5 +- .../v1/AnnotateVideoProgress.java | 5 +- .../v1/AnnotateVideoRequest.java | 5 +- .../v1/AnnotateVideoResponse.java | 5 +- .../cloud/videointelligence/v1/Entity.java | 5 +- .../v1/ExplicitContentAnnotation.java | 5 +- .../v1/ExplicitContentDetectionConfig.java | 5 +- .../v1/ExplicitContentFrame.java | 5 +- .../videointelligence/v1/FaceAnnotation.java | 5 +- .../v1/FaceDetectionConfig.java | 5 +- .../cloud/videointelligence/v1/FaceFrame.java | 5 +- .../videointelligence/v1/FaceSegment.java | 5 +- .../videointelligence/v1/LabelAnnotation.java | 5 +- .../v1/LabelDetectionConfig.java | 5 +- .../videointelligence/v1/LabelFrame.java | 5 +- .../videointelligence/v1/LabelSegment.java | 5 +- .../v1/NormalizedBoundingBox.java | 5 +- .../v1/ShotChangeDetectionConfig.java | 5 +- .../v1/VideoAnnotationProgress.java | 5 +- .../v1/VideoAnnotationResults.java | 5 +- .../videointelligence/v1/VideoContext.java | 5 +- .../v1/VideoIntelligenceServiceProto.java | 22 +- .../videointelligence/v1/VideoSegment.java | 5 +- .../v1beta1/AnnotateVideoProgress.java | 5 +- .../v1beta1/AnnotateVideoRequest.java | 5 +- .../v1beta1/AnnotateVideoResponse.java | 5 +- .../v1beta1/BoundingBox.java | 5 +- .../v1beta1/FaceAnnotation.java | 5 +- .../v1beta1/FaceLocation.java | 5 +- .../v1beta1/LabelAnnotation.java | 5 +- .../v1beta1/LabelLocation.java | 5 +- .../v1beta1/SafeSearchAnnotation.java | 5 +- .../v1beta1/VideoAnnotationProgress.java | 5 +- .../v1beta1/VideoAnnotationResults.java | 5 +- .../v1beta1/VideoContext.java | 5 +- .../VideoIntelligenceServiceProto.java | 18 +- .../v1beta1/VideoSegment.java | 5 +- .../v1beta2/AnnotateVideoProgress.java | 5 +- .../v1beta2/AnnotateVideoRequest.java | 5 +- .../v1beta2/AnnotateVideoResponse.java | 5 +- .../videointelligence/v1beta2/Entity.java | 5 +- .../v1beta2/ExplicitContentAnnotation.java | 5 +- .../ExplicitContentDetectionConfig.java | 5 +- .../v1beta2/ExplicitContentFrame.java | 5 +- .../v1beta2/FaceAnnotation.java | 5 +- .../v1beta2/FaceDetectionConfig.java | 5 +- .../videointelligence/v1beta2/FaceFrame.java | 5 +- .../v1beta2/FaceSegment.java | 5 +- .../v1beta2/LabelAnnotation.java | 5 +- .../v1beta2/LabelDetectionConfig.java | 5 +- .../videointelligence/v1beta2/LabelFrame.java | 5 +- .../v1beta2/LabelSegment.java | 5 +- .../v1beta2/NormalizedBoundingBox.java | 5 +- .../v1beta2/ShotChangeDetectionConfig.java | 5 +- .../v1beta2/VideoAnnotationProgress.java | 5 +- .../v1beta2/VideoAnnotationResults.java | 5 +- .../v1beta2/VideoContext.java | 5 +- .../VideoIntelligenceServiceProto.java | 22 +- .../v1beta2/VideoSegment.java | 5 +- .../v1p1beta1/AnnotateVideoProgress.java | 5 +- .../v1p1beta1/AnnotateVideoRequest.java | 5 +- .../v1p1beta1/AnnotateVideoResponse.java | 5 +- .../videointelligence/v1p1beta1/Entity.java | 5 +- .../v1p1beta1/ExplicitContentAnnotation.java | 5 +- .../ExplicitContentDetectionConfig.java | 5 +- .../v1p1beta1/ExplicitContentFrame.java | 5 +- .../v1p1beta1/LabelAnnotation.java | 5 +- .../v1p1beta1/LabelDetectionConfig.java | 5 +- .../v1p1beta1/LabelFrame.java | 5 +- .../v1p1beta1/LabelSegment.java | 5 +- .../v1p1beta1/NormalizedBoundingBox.java | 5 +- .../v1p1beta1/ShotChangeDetectionConfig.java | 5 +- .../v1p1beta1/SpeechContext.java | 5 +- .../SpeechRecognitionAlternative.java | 5 +- .../v1p1beta1/SpeechTranscription.java | 5 +- .../v1p1beta1/SpeechTranscriptionConfig.java | 5 +- .../v1p1beta1/VideoAnnotationProgress.java | 5 +- .../v1p1beta1/VideoAnnotationResults.java | 5 +- .../v1p1beta1/VideoContext.java | 5 +- .../VideoIntelligenceServiceProto.java | 24 +- .../v1p1beta1/VideoSegment.java | 5 +- .../videointelligence/v1p1beta1/WordInfo.java | 5 +- .../cloud/vision/v1/AnnotateFileResponse.java | 5 +- .../cloud/vision/v1/AnnotateImageRequest.java | 5 +- .../vision/v1/AnnotateImageResponse.java | 5 +- .../vision/v1/AsyncAnnotateFileRequest.java | 5 +- .../vision/v1/AsyncAnnotateFileResponse.java | 5 +- .../v1/AsyncBatchAnnotateFilesRequest.java | 5 +- .../v1/AsyncBatchAnnotateFilesResponse.java | 5 +- .../vision/v1/BatchAnnotateImagesRequest.java | 5 +- .../v1/BatchAnnotateImagesResponse.java | 5 +- .../com/google/cloud/vision/v1/Block.java | 5 +- .../google/cloud/vision/v1/BoundingPoly.java | 5 +- .../com/google/cloud/vision/v1/ColorInfo.java | 5 +- .../com/google/cloud/vision/v1/CropHint.java | 5 +- .../cloud/vision/v1/CropHintsAnnotation.java | 5 +- .../cloud/vision/v1/CropHintsParams.java | 5 +- .../vision/v1/DominantColorsAnnotation.java | 5 +- .../cloud/vision/v1/EntityAnnotation.java | 5 +- .../cloud/vision/v1/FaceAnnotation.java | 10 +- .../com/google/cloud/vision/v1/Feature.java | 5 +- .../cloud/vision/v1/GcsDestination.java | 5 +- .../com/google/cloud/vision/v1/GcsSource.java | 5 +- .../google/cloud/vision/v1/GeometryProto.java | 2 +- .../com/google/cloud/vision/v1/Image.java | 5 +- .../vision/v1/ImageAnnotationContext.java | 5 +- .../cloud/vision/v1/ImageAnnotatorProto.java | 36 +- .../google/cloud/vision/v1/ImageContext.java | 5 +- .../cloud/vision/v1/ImageProperties.java | 5 +- .../google/cloud/vision/v1/ImageSource.java | 5 +- .../google/cloud/vision/v1/InputConfig.java | 5 +- .../google/cloud/vision/v1/LatLongRect.java | 5 +- .../google/cloud/vision/v1/LocationInfo.java | 5 +- .../cloud/vision/v1/NormalizedVertex.java | 5 +- .../cloud/vision/v1/OperationMetadata.java | 5 +- .../google/cloud/vision/v1/OutputConfig.java | 5 +- .../java/com/google/cloud/vision/v1/Page.java | 5 +- .../com/google/cloud/vision/v1/Paragraph.java | 5 +- .../com/google/cloud/vision/v1/Position.java | 5 +- .../com/google/cloud/vision/v1/Property.java | 5 +- .../cloud/vision/v1/SafeSearchAnnotation.java | 5 +- .../com/google/cloud/vision/v1/Symbol.java | 5 +- .../cloud/vision/v1/TextAnnotation.java | 20 +- .../cloud/vision/v1/TextAnnotationProto.java | 8 +- .../com/google/cloud/vision/v1/Vertex.java | 5 +- .../google/cloud/vision/v1/WebDetection.java | 25 +- .../cloud/vision/v1/WebDetectionParams.java | 5 +- .../cloud/vision/v1/WebDetectionProto.java | 4 +- .../java/com/google/cloud/vision/v1/Word.java | 5 +- .../v1p1beta1/AnnotateImageRequest.java | 5 +- .../v1p1beta1/AnnotateImageResponse.java | 5 +- .../v1p1beta1/BatchAnnotateImagesRequest.java | 5 +- .../BatchAnnotateImagesResponse.java | 5 +- .../google/cloud/vision/v1p1beta1/Block.java | 5 +- .../cloud/vision/v1p1beta1/BoundingPoly.java | 5 +- .../cloud/vision/v1p1beta1/ColorInfo.java | 5 +- .../cloud/vision/v1p1beta1/CropHint.java | 5 +- .../vision/v1p1beta1/CropHintsAnnotation.java | 5 +- .../vision/v1p1beta1/CropHintsParams.java | 5 +- .../v1p1beta1/DominantColorsAnnotation.java | 5 +- .../vision/v1p1beta1/EntityAnnotation.java | 5 +- .../vision/v1p1beta1/FaceAnnotation.java | 10 +- .../cloud/vision/v1p1beta1/Feature.java | 5 +- .../google/cloud/vision/v1p1beta1/Image.java | 5 +- .../vision/v1p1beta1/ImageAnnotatorProto.java | 30 +- .../cloud/vision/v1p1beta1/ImageContext.java | 5 +- .../vision/v1p1beta1/ImageProperties.java | 5 +- .../cloud/vision/v1p1beta1/ImageSource.java | 5 +- .../cloud/vision/v1p1beta1/LatLongRect.java | 5 +- .../cloud/vision/v1p1beta1/LocationInfo.java | 5 +- .../google/cloud/vision/v1p1beta1/Page.java | 5 +- .../cloud/vision/v1p1beta1/Paragraph.java | 5 +- .../cloud/vision/v1p1beta1/Position.java | 5 +- .../cloud/vision/v1p1beta1/Property.java | 5 +- .../v1p1beta1/SafeSearchAnnotation.java | 5 +- .../google/cloud/vision/v1p1beta1/Symbol.java | 5 +- .../vision/v1p1beta1/TextAnnotation.java | 20 +- .../vision/v1p1beta1/TextAnnotationProto.java | 10 +- .../google/cloud/vision/v1p1beta1/Vertex.java | 5 +- .../cloud/vision/v1p1beta1/WebDetection.java | 25 +- .../vision/v1p1beta1/WebDetectionParams.java | 5 +- .../vision/v1p1beta1/WebDetectionProto.java | 4 +- .../google/cloud/vision/v1p1beta1/Word.java | 5 +- .../v1p2beta1/AnnotateFileResponse.java | 5 +- .../v1p2beta1/AnnotateImageRequest.java | 5 +- .../v1p2beta1/AnnotateImageResponse.java | 5 +- .../v1p2beta1/AsyncAnnotateFileRequest.java | 5 +- .../v1p2beta1/AsyncAnnotateFileResponse.java | 5 +- .../AsyncBatchAnnotateFilesRequest.java | 5 +- .../AsyncBatchAnnotateFilesResponse.java | 5 +- .../v1p2beta1/BatchAnnotateImagesRequest.java | 5 +- .../BatchAnnotateImagesResponse.java | 5 +- .../google/cloud/vision/v1p2beta1/Block.java | 5 +- .../cloud/vision/v1p2beta1/BoundingPoly.java | 5 +- .../cloud/vision/v1p2beta1/ColorInfo.java | 5 +- .../cloud/vision/v1p2beta1/CropHint.java | 5 +- .../vision/v1p2beta1/CropHintsAnnotation.java | 5 +- .../vision/v1p2beta1/CropHintsParams.java | 5 +- .../v1p2beta1/DominantColorsAnnotation.java | 5 +- .../vision/v1p2beta1/EntityAnnotation.java | 5 +- .../vision/v1p2beta1/FaceAnnotation.java | 10 +- .../cloud/vision/v1p2beta1/Feature.java | 5 +- .../vision/v1p2beta1/GcsDestination.java | 5 +- .../cloud/vision/v1p2beta1/GcsSource.java | 5 +- .../cloud/vision/v1p2beta1/GeometryProto.java | 2 +- .../google/cloud/vision/v1p2beta1/Image.java | 5 +- .../v1p2beta1/ImageAnnotationContext.java | 5 +- .../vision/v1p2beta1/ImageAnnotatorProto.java | 38 +- .../cloud/vision/v1p2beta1/ImageContext.java | 5 +- .../vision/v1p2beta1/ImageProperties.java | 5 +- .../cloud/vision/v1p2beta1/ImageSource.java | 5 +- .../cloud/vision/v1p2beta1/InputConfig.java | 5 +- .../cloud/vision/v1p2beta1/LatLongRect.java | 5 +- .../cloud/vision/v1p2beta1/LocationInfo.java | 5 +- .../vision/v1p2beta1/NormalizedVertex.java | 5 +- .../vision/v1p2beta1/OperationMetadata.java | 5 +- .../cloud/vision/v1p2beta1/OutputConfig.java | 5 +- .../google/cloud/vision/v1p2beta1/Page.java | 5 +- .../cloud/vision/v1p2beta1/Paragraph.java | 5 +- .../cloud/vision/v1p2beta1/Position.java | 5 +- .../cloud/vision/v1p2beta1/Property.java | 5 +- .../v1p2beta1/SafeSearchAnnotation.java | 5 +- .../google/cloud/vision/v1p2beta1/Symbol.java | 5 +- .../vision/v1p2beta1/TextAnnotation.java | 20 +- .../vision/v1p2beta1/TextAnnotationProto.java | 10 +- .../google/cloud/vision/v1p2beta1/Vertex.java | 5 +- .../cloud/vision/v1p2beta1/WebDetection.java | 25 +- .../vision/v1p2beta1/WebDetectionParams.java | 5 +- .../vision/v1p2beta1/WebDetectionProto.java | 4 +- .../google/cloud/vision/v1p2beta1/Word.java | 5 +- .../v1alpha/CrawledUrl.java | 5 +- .../v1alpha/CreateScanConfigRequest.java | 5 +- .../v1alpha/DeleteScanConfigRequest.java | 5 +- .../websecurityscanner/v1alpha/Finding.java | 5 +- .../v1alpha/FindingAddonProto.java | 2 +- .../v1alpha/FindingProto.java | 4 +- .../v1alpha/FindingTypeStats.java | 5 +- .../v1alpha/FindingTypeStatsProto.java | 2 +- .../v1alpha/GetFindingRequest.java | 5 +- .../v1alpha/GetScanConfigRequest.java | 5 +- .../v1alpha/GetScanRunRequest.java | 5 +- .../v1alpha/ListCrawledUrlsRequest.java | 5 +- .../v1alpha/ListCrawledUrlsResponse.java | 5 +- .../v1alpha/ListFindingTypeStatsRequest.java | 5 +- .../v1alpha/ListFindingTypeStatsResponse.java | 5 +- .../v1alpha/ListFindingsRequest.java | 5 +- .../v1alpha/ListFindingsResponse.java | 5 +- .../v1alpha/ListScanConfigsRequest.java | 5 +- .../v1alpha/ListScanConfigsResponse.java | 5 +- .../v1alpha/ListScanRunsRequest.java | 5 +- .../v1alpha/ListScanRunsResponse.java | 5 +- .../v1alpha/OutdatedLibrary.java | 5 +- .../v1alpha/ScanConfig.java | 25 +- .../v1alpha/ScanConfigProto.java | 6 +- .../websecurityscanner/v1alpha/ScanRun.java | 5 +- .../v1alpha/ScanRunProto.java | 4 +- .../v1alpha/StartScanRunRequest.java | 5 +- .../v1alpha/StopScanRunRequest.java | 5 +- .../v1alpha/UpdateScanConfigRequest.java | 5 +- .../v1alpha/ViolatingResource.java | 5 +- .../v1alpha/VulnerableParameters.java | 5 +- .../v1alpha/WebSecurityScannerProto.java | 22 +- .../cloud/websecurityscanner/v1alpha/Xss.java | 5 +- 1189 files changed, 6244 insertions(+), 4032 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java index ea85946ffdc4..660135f59cf6 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java @@ -38,6 +38,9 @@ private CheckValidCredsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -545,7 +548,7 @@ public CheckValidCredsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CheckValidCredsRequest(input, extensionRegistry); + return new CheckValidCredsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java index 57465fde5e0f..06039cfd9254 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java @@ -33,6 +33,9 @@ private CheckValidCredsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -448,7 +451,7 @@ public CheckValidCredsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CheckValidCredsResponse(input, extensionRegistry); + return new CheckValidCredsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java index 924ad6700d08..c1dc9ac4ba65 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java @@ -39,6 +39,9 @@ private CreateTransferConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1041,7 +1044,7 @@ public CreateTransferConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTransferConfigRequest(input, extensionRegistry); + return new CreateTransferConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java index 6c6fb120e785..ebb4157ef2d3 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java @@ -50,6 +50,9 @@ private DataSource( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3458,7 +3461,7 @@ public DataSource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DataSource(input, extensionRegistry); + return new DataSource(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java index 588b6f0f85b4..839d9b0188dd 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java @@ -50,6 +50,9 @@ private DataSourceParameter( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3060,7 +3063,7 @@ public DataSourceParameter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DataSourceParameter(input, extensionRegistry); + return new DataSourceParameter(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java index 44ccbc538f84..1b546165dc7e 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java @@ -137,7 +137,7 @@ public static void registerAllExtensions( "to\032 google/protobuf/field_mask.proto\032\037go" + "ogle/protobuf/timestamp.proto\032\036google/pr" + "otobuf/wrappers.proto\"\361\004\n\023DataSourcePara" + - "meter\022\020\n\010param_id\030\001 \001(\t\022\024\n\014display_name\030", + "meter\022\020\n\010param_id\030\001 \001(\t\022\024\n\014display_name\030" + "\002 \001(\t\022\023\n\013description\030\003 \001(\t\022M\n\004type\030\004 \001(\016" + "2?.google.cloud.bigquery.datatransfer.v1" + ".DataSourceParameter.Type\022\020\n\010required\030\005 " + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "\022/\n\tmax_value\030\n \001(\0132\034.google.protobuf.Do" + "ubleValue\022J\n\006fields\030\013 \003(\0132:.google.cloud" + ".bigquery.datatransfer.v1.DataSourcePara" + - "meter\022\036\n\026validation_description\030\014 \001(\t\022\033\n", + "meter\022\036\n\026validation_description\030\014 \001(\t\022\033\n" + "\023validation_help_url\030\r \001(\t\022\021\n\timmutable\030" + "\016 \001(\010\022\017\n\007recurse\030\017 \001(\010\"i\n\004Type\022\024\n\020TYPE_U" + "NSPECIFIED\020\000\022\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\n\n" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( " \001(\t\022\023\n\013description\030\004 \001(\t\022\021\n\tclient_id\030\005" + " \001(\t\022\016\n\006scopes\030\006 \003(\t\022J\n\rtransfer_type\030\007 " + "\001(\01623.google.cloud.bigquery.datatransfer" + - ".v1.TransferType\022#\n\033supports_multiple_tr", + ".v1.TransferType\022#\n\033supports_multiple_tr" + "ansfers\030\010 \001(\010\022\037\n\027update_deadline_seconds" + "\030\t \001(\005\022\030\n\020default_schedule\030\n \001(\t\022 \n\030supp" + "orts_custom_schedule\030\013 \001(\010\022N\n\nparameters" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "e.cloud.bigquery.datatransfer.v1.DataSou" + "rce.AuthorizationType\022\\\n\021data_refresh_ty" + "pe\030\017 \001(\0162A.google.cloud.bigquery.datatra" + - "nsfer.v1.DataSource.DataRefreshType\022(\n d", + "nsfer.v1.DataSource.DataRefreshType\022(\n d" + "efault_data_refresh_window_days\030\020 \001(\005\022\034\n" + "\024manual_runs_disabled\030\021 \001(\010\022<\n\031minimum_s" + "chedule_interval\030\022 \001(\0132\031.google.protobuf" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "CODE\020\002\"c\n\017DataRefreshType\022!\n\035DATA_REFRES" + "H_TYPE_UNSPECIFIED\020\000\022\022\n\016SLIDING_WINDOW\020\001" + "\022\031\n\025CUSTOM_SLIDING_WINDOW\020\002\"$\n\024GetDataSo" + - "urceRequest\022\014\n\004name\030\001 \001(\t\"O\n\026ListDataSou", + "urceRequest\022\014\n\004name\030\001 \001(\t\"O\n\026ListDataSou" + "rcesRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_toke" + "n\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\"{\n\027ListDataSo" + "urcesResponse\022G\n\014data_sources\030\001 \003(\01321.go" + @@ -187,7 +187,7 @@ public static void registerAllExtensions( "N\n\017transfer_config\030\002 \001(\01325.google.cloud." + "bigquery.datatransfer.v1.TransferConfig\022" + "\032\n\022authorization_code\030\003 \001(\t\"\272\001\n\033UpdateTr" + - "ansferConfigRequest\022N\n\017transfer_config\030\001", + "ansferConfigRequest\022N\n\017transfer_config\030\001" + " \001(\01325.google.cloud.bigquery.datatransfe" + "r.v1.TransferConfig\022\032\n\022authorization_cod" + "e\030\003 \001(\t\022/\n\013update_mask\030\004 \001(\0132\032.google.pr" + @@ -197,7 +197,7 @@ public static void registerAllExtensions( "nRequest\022\014\n\004name\030\001 \001(\t\"(\n\030DeleteTransfer" + "RunRequest\022\014\n\004name\030\001 \001(\t\"l\n\032ListTransfer" + "ConfigsRequest\022\016\n\006parent\030\001 \001(\t\022\027\n\017data_s" + - "ource_ids\030\002 \003(\t\022\022\n\npage_token\030\003 \001(\t\022\021\n\tp", + "ource_ids\030\002 \003(\t\022\022\n\npage_token\030\003 \001(\t\022\021\n\tp" + "age_size\030\004 \001(\005\"\207\001\n\033ListTransferConfigsRe" + "sponse\022O\n\020transfer_configs\030\001 \003(\01325.googl" + "e.cloud.bigquery.datatransfer.v1.Transfe" + @@ -207,7 +207,7 @@ public static void registerAllExtensions( "atransfer.v1.TransferState\022\022\n\npage_token" + "\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022^\n\013run_attempt" + "\030\005 \001(\0162I.google.cloud.bigquery.datatrans" + - "fer.v1.ListTransferRunsRequest.RunAttemp", + "fer.v1.ListTransferRunsRequest.RunAttemp" + "t\"5\n\nRunAttempt\022\033\n\027RUN_ATTEMPT_UNSPECIFI" + "ED\020\000\022\n\n\006LATEST\020\001\"~\n\030ListTransferRunsResp" + "onse\022I\n\rtransfer_runs\030\001 \003(\01322.google.clo" + @@ -217,7 +217,7 @@ public static void registerAllExtensions( "en\030\004 \001(\t\022\021\n\tpage_size\030\005 \001(\005\022]\n\rmessage_t" + "ypes\030\006 \003(\0162F.google.cloud.bigquery.datat" + "ransfer.v1.TransferMessage.MessageSeveri" + - "ty\"\206\001\n\030ListTransferLogsResponse\022Q\n\021trans", + "ty\"\206\001\n\030ListTransferLogsResponse\022Q\n\021trans" + "fer_messages\030\001 \003(\01326.google.cloud.bigque" + "ry.datatransfer.v1.TransferMessage\022\027\n\017ne" + "xt_page_token\030\002 \001(\t\"&\n\026CheckValidCredsRe" + @@ -227,7 +227,7 @@ public static void registerAllExtensions( ".\n\nstart_time\030\002 \001(\0132\032.google.protobuf.Ti" + "mestamp\022,\n\010end_time\030\003 \001(\0132\032.google.proto" + "buf.Timestamp\"`\n\034ScheduleTransferRunsRes" + - "ponse\022@\n\004runs\030\001 \003(\01322.google.cloud.bigqu", + "ponse\022@\n\004runs\030\001 \003(\01322.google.cloud.bigqu" + "ery.datatransfer.v1.TransferRun2\206\033\n\023Data" + "TransferService\022\337\001\n\rGetDataSource\022;.goog" + "le.cloud.bigquery.datatransfer.v1.GetDat" + @@ -237,7 +237,7 @@ public static void registerAllExtensions( "*}Z%\022#/v1/{name=projects/*/dataSources/*" + "}\022\360\001\n\017ListDataSources\022=.google.cloud.big" + "query.datatransfer.v1.ListDataSourcesReq" + - "uest\032>.google.cloud.bigquery.datatransfe", + "uest\032>.google.cloud.bigquery.datatransfe" + "r.v1.ListDataSourcesResponse\"^\202\323\344\223\002X\022//v" + "1/{parent=projects/*/locations/*}/dataSo" + "urcesZ%\022#/v1/{parent=projects/*}/dataSou" + @@ -247,7 +247,7 @@ public static void registerAllExtensions( "y.datatransfer.v1.TransferConfig\"\211\001\202\323\344\223\002" + "\202\001\"3/v1/{parent=projects/*/locations/*}/" + "transferConfigs:\017transfer_configZ:\"\'/v1/" + - "{parent=projects/*}/transferConfigs:\017tra", + "{parent=projects/*}/transferConfigs:\017tra" + "nsfer_config\022\275\002\n\024UpdateTransferConfig\022B." + "google.cloud.bigquery.datatransfer.v1.Up" + "dateTransferConfigRequest\0325.google.cloud" + @@ -257,7 +257,7 @@ public static void registerAllExtensions( "\017transfer_configZJ27/v1/{transfer_config" + ".name=projects/*/transferConfigs/*}:\017tra" + "nsfer_config\022\332\001\n\024DeleteTransferConfig\022B." + - "google.cloud.bigquery.datatransfer.v1.De", + "google.cloud.bigquery.datatransfer.v1.De" + "leteTransferConfigRequest\032\026.google.proto" + "buf.Empty\"f\202\323\344\223\002`*3/v1/{name=projects/*/" + "locations/*/transferConfigs/*}Z)*\'/v1/{n" + @@ -267,7 +267,7 @@ public static void registerAllExtensions( "\0325.google.cloud.bigquery.datatransfer.v1" + ".TransferConfig\"f\202\323\344\223\002`\0223/v1/{name=proje" + "cts/*/locations/*/transferConfigs/*}Z)\022\'" + - "/v1/{name=projects/*/transferConfigs/*}\022", + "/v1/{name=projects/*/transferConfigs/*}\022" + "\204\002\n\023ListTransferConfigs\022A.google.cloud.b" + "igquery.datatransfer.v1.ListTransferConf" + "igsRequest\032B.google.cloud.bigquery.datat" + @@ -277,7 +277,7 @@ public static void registerAllExtensions( "cts/*}/transferConfigs\022\255\002\n\024ScheduleTrans" + "ferRuns\022B.google.cloud.bigquery.datatran" + "sfer.v1.ScheduleTransferRunsRequest\032C.go" + - "ogle.cloud.bigquery.datatransfer.v1.Sche", + "ogle.cloud.bigquery.datatransfer.v1.Sche" + "duleTransferRunsResponse\"\213\001\202\323\344\223\002\204\001\"B/v1/" + "{parent=projects/*/locations/*/transferC" + "onfigs/*}:scheduleRuns:\001*Z;\"6/v1/{parent" + @@ -287,7 +287,7 @@ public static void registerAllExtensions( "Request\0322.google.cloud.bigquery.datatran" + "sfer.v1.TransferRun\"t\202\323\344\223\002n\022:/v1/{name=p" + "rojects/*/locations/*/transferConfigs/*/" + - "runs/*}Z0\022./v1/{name=projects/*/transfer", + "runs/*}Z0\022./v1/{name=projects/*/transfer" + "Configs/*/runs/*}\022\342\001\n\021DeleteTransferRun\022" + "?.google.cloud.bigquery.datatransfer.v1." + "DeleteTransferRunRequest\032\026.google.protob" + @@ -297,7 +297,7 @@ public static void registerAllExtensions( "uns/*}\022\211\002\n\020ListTransferRuns\022>.google.clo" + "ud.bigquery.datatransfer.v1.ListTransfer" + "RunsRequest\032?.google.cloud.bigquery.data" + - "transfer.v1.ListTransferRunsResponse\"t\202\323", + "transfer.v1.ListTransferRunsResponse\"t\202\323" + "\344\223\002n\022:/v1/{parent=projects/*/locations/*" + "/transferConfigs/*}/runsZ0\022./v1/{parent=" + "projects/*/transferConfigs/*}/runs\022\251\002\n\020L" + @@ -307,7 +307,7 @@ public static void registerAllExtensions( "ListTransferLogsResponse\"\223\001\202\323\344\223\002\214\001\022I/v1/" + "{parent=projects/*/locations/*/transferC" + "onfigs/*/runs/*}/transferLogsZ?\022=/v1/{pa" + - "rent=projects/*/transferConfigs/*/runs/*", + "rent=projects/*/transferConfigs/*/runs/*" + "}/transferLogs\022\227\002\n\017CheckValidCreds\022=.goo" + "gle.cloud.bigquery.datatransfer.v1.Check" + "ValidCredsRequest\032>.google.cloud.bigquer" + @@ -317,7 +317,7 @@ public static void registerAllExtensions( "\"3/v1/{name=projects/*/dataSources/*}:ch" + "eckValidCreds:\001*B\343\001\n)com.google.cloud.bi" + "gquery.datatransfer.v1B\021DataTransferProt" + - "oP\001ZQgoogle.golang.org/genproto/googleap", + "oP\001ZQgoogle.golang.org/genproto/googleap" + "is/cloud/bigquery/datatransfer/v1;datatr" + "ansfer\252\002%Google.Cloud.BigQuery.DataTrans" + "fer.V1\312\002%Google\\Cloud\\BigQuery\\DataTrans" + diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java index d6d50d1f06aa..446f3cbc88a7 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java @@ -34,6 +34,9 @@ private DeleteTransferConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -537,7 +540,7 @@ public DeleteTransferConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTransferConfigRequest(input, extensionRegistry); + return new DeleteTransferConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java index fe71387ccf2f..e8b74201c273 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java @@ -33,6 +33,9 @@ private DeleteTransferRunRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteTransferRunRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTransferRunRequest(input, extensionRegistry); + return new DeleteTransferRunRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java index 14e890f86958..8a50c78dedef 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java @@ -33,6 +33,9 @@ private GetDataSourceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetDataSourceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDataSourceRequest(input, extensionRegistry); + return new GetDataSourceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java index 81ab342a4468..95acc10cf554 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java @@ -33,6 +33,9 @@ private GetTransferConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetTransferConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTransferConfigRequest(input, extensionRegistry); + return new GetTransferConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java index 4b8c670a3491..4d1a85d360f3 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java @@ -33,6 +33,9 @@ private GetTransferRunRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetTransferRunRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTransferRunRequest(input, extensionRegistry); + return new GetTransferRunRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java index d43168dbdb21..f936e260327c 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java @@ -35,6 +35,9 @@ private ListDataSourcesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -792,7 +795,7 @@ public ListDataSourcesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDataSourcesRequest(input, extensionRegistry); + return new ListDataSourcesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java index 4ebb51012142..e392b0bd72c4 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java @@ -34,6 +34,9 @@ private ListDataSourcesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -989,7 +992,7 @@ public ListDataSourcesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDataSourcesResponse(input, extensionRegistry); + return new ListDataSourcesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java index 6f1584543667..9d70c8ae7630 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java @@ -36,6 +36,9 @@ private ListTransferConfigsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1019,7 +1022,7 @@ public ListTransferConfigsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTransferConfigsRequest(input, extensionRegistry); + return new ListTransferConfigsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java index 5879e6ffc891..785cc57ce350 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java @@ -34,6 +34,9 @@ private ListTransferConfigsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -989,7 +992,7 @@ public ListTransferConfigsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTransferConfigsResponse(input, extensionRegistry); + return new ListTransferConfigsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java index 3ccd5583b086..062ba146531a 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java @@ -36,6 +36,9 @@ private ListTransferLogsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1114,7 +1117,7 @@ public ListTransferLogsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTransferLogsRequest(input, extensionRegistry); + return new ListTransferLogsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java index bc407d91cb48..c283e853167a 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java @@ -34,6 +34,9 @@ private ListTransferLogsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -989,7 +992,7 @@ public ListTransferLogsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTransferLogsResponse(input, extensionRegistry); + return new ListTransferLogsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java index 2723a2c3137f..441fce7afce5 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java @@ -39,6 +39,9 @@ private ListTransferRunsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1337,7 +1340,7 @@ public ListTransferRunsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTransferRunsRequest(input, extensionRegistry); + return new ListTransferRunsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java index 9977d85d41f4..68059b01e470 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java @@ -34,6 +34,9 @@ private ListTransferRunsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -989,7 +992,7 @@ public ListTransferRunsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTransferRunsResponse(input, extensionRegistry); + return new ListTransferRunsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java index 9f11c068aec2..cee3426069ff 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java @@ -33,6 +33,9 @@ private ScheduleTransferRunsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1017,7 +1020,7 @@ public ScheduleTransferRunsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ScheduleTransferRunsRequest(input, extensionRegistry); + return new ScheduleTransferRunsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java index 87dbdd59006e..b869955ce34b 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java @@ -33,6 +33,9 @@ private ScheduleTransferRunsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public ScheduleTransferRunsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ScheduleTransferRunsResponse(input, extensionRegistry); + return new ScheduleTransferRunsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java index 5ba24ee3d31e..bc2a3cfac9aa 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java @@ -47,6 +47,9 @@ private TransferConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2487,7 +2490,7 @@ public TransferConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferConfig(input, extensionRegistry); + return new TransferConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java index e1091af4a04c..aa099bc27d37 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java @@ -34,6 +34,9 @@ private TransferMessage( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1020,7 +1023,7 @@ public TransferMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferMessage(input, extensionRegistry); + return new TransferMessage(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java index 6220bf3e7478..9637c2a6eb59 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java @@ -47,7 +47,7 @@ public static void registerAllExtensions( " \001(\t\022\036\n\026destination_dataset_id\030\002 \001(\t\022\024\n\014" + "display_name\030\003 \001(\t\022\026\n\016data_source_id\030\005 \001" + "(\t\022\'\n\006params\030\t \001(\0132\027.google.protobuf.Str" + - "uct\022\020\n\010schedule\030\007 \001(\t\022 \n\030data_refresh_wi", + "uct\022\020\n\010schedule\030\007 \001(\t\022 \n\030data_refresh_wi" + "ndow_days\030\014 \001(\005\022\020\n\010disabled\030\r \001(\010\022/\n\013upd" + "ate_time\030\004 \001(\0132\032.google.protobuf.Timesta" + "mp\0221\n\rnext_run_time\030\010 \001(\0132\032.google.proto" + @@ -57,7 +57,7 @@ public static void registerAllExtensions( "\001(\t\"\376\003\n\013TransferRun\022\014\n\004name\030\001 \001(\t\0221\n\rsch" + "edule_time\030\003 \001(\0132\032.google.protobuf.Times" + "tamp\022,\n\010run_time\030\n \001(\0132\032.google.protobuf" + - ".Timestamp\022(\n\014error_status\030\025 \001(\0132\022.googl", + ".Timestamp\022(\n\014error_status\030\025 \001(\0132\022.googl" + "e.rpc.Status\022.\n\nstart_time\030\004 \001(\0132\032.googl" + "e.protobuf.Timestamp\022,\n\010end_time\030\005 \001(\0132\032" + ".google.protobuf.Timestamp\022/\n\013update_tim" + @@ -67,7 +67,7 @@ public static void registerAllExtensions( "rce_id\030\007 \001(\t\022C\n\005state\030\010 \001(\01624.google.clo" + "ud.bigquery.datatransfer.v1.TransferStat" + "e\022\017\n\007user_id\030\013 \001(\003\022\020\n\010schedule\030\014 \001(\t\"\212\002\n" + - "\017TransferMessage\0220\n\014message_time\030\001 \001(\0132\032", + "\017TransferMessage\0220\n\014message_time\030\001 \001(\0132\032" + ".google.protobuf.Timestamp\022X\n\010severity\030\002" + " \001(\0162F.google.cloud.bigquery.datatransfe" + "r.v1.TransferMessage.MessageSeverity\022\024\n\014" + @@ -77,7 +77,7 @@ public static void registerAllExtensions( "e\022\035\n\031TRANSFER_TYPE_UNSPECIFIED\020\000\022\t\n\005BATC" + "H\020\001\022\r\n\tSTREAMING\020\002*s\n\rTransferState\022\036\n\032T" + "RANSFER_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\002" + - "\022\013\n\007RUNNING\020\003\022\r\n\tSUCCEEDED\020\004\022\n\n\006FAILED\020\005", + "\022\013\n\007RUNNING\020\003\022\r\n\tSUCCEEDED\020\004\022\n\n\006FAILED\020\005" + "\022\r\n\tCANCELLED\020\006B\347\001\n)com.google.cloud.big" + "query.datatransfer.v1B\rTransferProtoP\001ZQ" + "google.golang.org/genproto/googleapis/cl" + diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java index 1121c21c750f..7bf0c66f1ab7 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java @@ -38,6 +38,9 @@ private TransferRun( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2883,7 +2886,7 @@ public TransferRun parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferRun(input, extensionRegistry); + return new TransferRun(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java index 591bbed8ee87..b48e30a5f995 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java @@ -34,6 +34,9 @@ private UpdateTransferConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1086,7 +1089,7 @@ public UpdateTransferConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateTransferConfigRequest(input, extensionRegistry); + return new UpdateTransferConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java index 0edffb99d612..7cd0837dd1b8 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java @@ -36,6 +36,9 @@ private AppProfile( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -160,6 +163,9 @@ private MultiClusterRoutingUseAny( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -503,7 +509,7 @@ public MultiClusterRoutingUseAny parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MultiClusterRoutingUseAny(input, extensionRegistry); + return new MultiClusterRoutingUseAny(input, extensionRegistry); } }; @@ -588,6 +594,9 @@ private SingleClusterRouting( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1167,7 +1176,7 @@ public SingleClusterRouting parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SingleClusterRouting(input, extensionRegistry); + return new SingleClusterRouting(input, extensionRegistry); } }; @@ -2537,7 +2546,7 @@ public AppProfile parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AppProfile(input, extensionRegistry); + return new AppProfile(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java index fa0b536d1090..9927bf2348cc 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java @@ -147,7 +147,7 @@ public static void registerAllExtensions( "ions.proto\032\033google/protobuf/empty.proto\032" + " google/protobuf/field_mask.proto\032\037googl" + "e/protobuf/timestamp.proto\"\227\002\n\025CreateIns" + - "tanceRequest\022\016\n\006parent\030\001 \001(\t\022\023\n\013instance", + "tanceRequest\022\016\n\006parent\030\001 \001(\t\022\023\n\013instance" + "_id\030\002 \001(\t\0224\n\010instance\030\003 \001(\0132\".google.big" + "table.admin.v2.Instance\022O\n\010clusters\030\004 \003(" + "\0132=.google.bigtable.admin.v2.CreateInsta" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "nceRequest\022\014\n\004name\030\001 \001(\t\":\n\024ListInstance" + "sRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002" + " \001(\t\"\201\001\n\025ListInstancesResponse\0225\n\tinstan" + - "ces\030\001 \003(\0132\".google.bigtable.admin.v2.Ins", + "ces\030\001 \003(\0132\".google.bigtable.admin.v2.Ins" + "tance\022\030\n\020failed_locations\030\002 \003(\t\022\027\n\017next_" + "page_token\030\003 \001(\t\"\205\001\n\034PartialUpdateInstan" + "ceRequest\0224\n\010instance\030\001 \001(\0132\".google.big" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "eClusterRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\nclust" + "er_id\030\002 \001(\t\0222\n\007cluster\030\003 \001(\0132!.google.bi" + "gtable.admin.v2.Cluster\"!\n\021GetClusterReq" + - "uest\022\014\n\004name\030\001 \001(\t\"9\n\023ListClustersReques", + "uest\022\014\n\004name\030\001 \001(\t\"9\n\023ListClustersReques" + "t\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\"~\n" + "\024ListClustersResponse\0223\n\010clusters\030\001 \003(\0132" + "!.google.bigtable.admin.v2.Cluster\022\030\n\020fa" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "al_request\030\001 \001(\0132/.google.bigtable.admin" + ".v2.CreateInstanceRequest\0220\n\014request_tim" + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022/\n\013f" + - "inish_time\030\003 \001(\0132\032.google.protobuf.Times", + "inish_time\030\003 \001(\0132\032.google.protobuf.Times" + "tamp\"\315\001\n\026UpdateInstanceMetadata\022P\n\020origi" + "nal_request\030\001 \001(\01326.google.bigtable.admi" + "n.v2.PartialUpdateInstanceRequest\0220\n\014req" + @@ -187,7 +187,7 @@ public static void registerAllExtensions( "\n\020original_request\030\001 \001(\0132..google.bigtab" + "le.admin.v2.CreateClusterRequest\0220\n\014requ" + "est_time\030\002 \001(\0132\032.google.protobuf.Timesta" + - "mp\022/\n\013finish_time\030\003 \001(\0132\032.google.protobu", + "mp\022/\n\013finish_time\030\003 \001(\0132\032.google.protobu" + "f.Timestamp\"\267\001\n\025UpdateClusterMetadata\022;\n" + "\020original_request\030\001 \001(\0132!.google.bigtabl" + "e.admin.v2.Cluster\0220\n\014request_time\030\002 \001(\013" + @@ -197,7 +197,7 @@ public static void registerAllExtensions( "\t\022\026\n\016app_profile_id\030\002 \001(\t\0229\n\013app_profile" + "\030\003 \001(\0132$.google.bigtable.admin.v2.AppPro" + "file\022\027\n\017ignore_warnings\030\004 \001(\010\"$\n\024GetAppP" + - "rofileRequest\022\014\n\004name\030\001 \001(\t\"<\n\026ListAppPr", + "rofileRequest\022\014\n\004name\030\001 \001(\t\"<\n\026ListAppPr" + "ofilesRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_to" + "ken\030\002 \001(\t\"n\n\027ListAppProfilesResponse\022:\n\014" + "app_profiles\030\001 \003(\0132$.google.bigtable.adm" + @@ -207,7 +207,7 @@ public static void registerAllExtensions( "pProfile\022/\n\013update_mask\030\002 \001(\0132\032.google.p" + "rotobuf.FieldMask\022\027\n\017ignore_warnings\030\003 \001" + "(\010\"@\n\027DeleteAppProfileRequest\022\014\n\004name\030\001 " + - "\001(\t\022\027\n\017ignore_warnings\030\002 \001(\010\"\032\n\030UpdateAp", + "\001(\t\022\027\n\017ignore_warnings\030\002 \001(\010\"\032\n\030UpdateAp" + "pProfileMetadata2\252\027\n\025BigtableInstanceAdm" + "in\022\216\001\n\016CreateInstance\022/.google.bigtable." + "admin.v2.CreateInstanceRequest\032\035.google." + @@ -217,7 +217,7 @@ public static void registerAllExtensions( "ceRequest\032\".google.bigtable.admin.v2.Ins" + "tance\")\202\323\344\223\002#\022!/v2/{name=projects/*/inst" + "ances/*}\022\233\001\n\rListInstances\022..google.bigt" + - "able.admin.v2.ListInstancesRequest\032/.goo", + "able.admin.v2.ListInstancesRequest\032/.goo" + "gle.bigtable.admin.v2.ListInstancesRespo" + "nse\")\202\323\344\223\002#\022!/v2/{parent=projects/*}/ins" + "tances\022\206\001\n\016UpdateInstance\022\".google.bigta" + @@ -227,7 +227,7 @@ public static void registerAllExtensions( "eInstance\0226.google.bigtable.admin.v2.Par" + "tialUpdateInstanceRequest\032\035.google.longr" + "unning.Operation\"<\202\323\344\223\00262*/v2/{instance." + - "name=projects/*/instances/*}:\010instance\022\204", + "name=projects/*/instances/*}:\010instance\022\204" + "\001\n\016DeleteInstance\022/.google.bigtable.admi" + "n.v2.DeleteInstanceRequest\032\026.google.prot" + "obuf.Empty\")\202\323\344\223\002#*!/v2/{name=projects/*" + @@ -237,7 +237,7 @@ public static void registerAllExtensions( "/v2/{parent=projects/*/instances/*}/clus" + "ters:\007cluster\022\222\001\n\nGetCluster\022+.google.bi" + "gtable.admin.v2.GetClusterRequest\032!.goog" + - "le.bigtable.admin.v2.Cluster\"4\202\323\344\223\002.\022,/v", + "le.bigtable.admin.v2.Cluster\"4\202\323\344\223\002.\022,/v" + "2/{name=projects/*/instances/*/clusters/" + "*}\022\243\001\n\014ListClusters\022-.google.bigtable.ad" + "min.v2.ListClustersRequest\032..google.bigt" + @@ -247,7 +247,7 @@ public static void registerAllExtensions( "able.admin.v2.Cluster\032\035.google.longrunni" + "ng.Operation\"7\202\323\344\223\0021\032,/v2/{name=projects" + "/*/instances/*/clusters/*}:\001*\022\215\001\n\rDelete" + - "Cluster\022..google.bigtable.admin.v2.Delet", + "Cluster\022..google.bigtable.admin.v2.Delet" + "eClusterRequest\032\026.google.protobuf.Empty\"" + "4\202\323\344\223\002.*,/v2/{name=projects/*/instances/" + "*/clusters/*}\022\261\001\n\020CreateAppProfile\0221.goo" + @@ -257,7 +257,7 @@ public static void registerAllExtensions( "ances/*}/appProfiles:\013app_profile\022\236\001\n\rGe" + "tAppProfile\022..google.bigtable.admin.v2.G" + "etAppProfileRequest\032$.google.bigtable.ad" + - "min.v2.AppProfile\"7\202\323\344\223\0021\022//v2/{name=pro", + "min.v2.AppProfile\"7\202\323\344\223\0021\022//v2/{name=pro" + "jects/*/instances/*/appProfiles/*}\022\257\001\n\017L" + "istAppProfiles\0220.google.bigtable.admin.v" + "2.ListAppProfilesRequest\0321.google.bigtab" + @@ -267,7 +267,7 @@ public static void registerAllExtensions( "le.bigtable.admin.v2.UpdateAppProfileReq" + "uest\032\035.google.longrunning.Operation\"P\202\323\344" + "\223\002J2;/v2/{app_profile.name=projects/*/in" + - "stances/*/appProfiles/*}:\013app_profile\022\226\001", + "stances/*/appProfiles/*}:\013app_profile\022\226\001" + "\n\020DeleteAppProfile\0221.google.bigtable.adm" + "in.v2.DeleteAppProfileRequest\032\026.google.p" + "rotobuf.Empty\"7\202\323\344\223\0021*//v2/{name=project" + @@ -277,7 +277,7 @@ public static void registerAllExtensions( "{resource=projects/*/instances/*}:getIam" + "Policy:\001*\022\210\001\n\014SetIamPolicy\022\".google.iam." + "v1.SetIamPolicyRequest\032\025.google.iam.v1.P" + - "olicy\"=\202\323\344\223\0027\"2/v2/{resource=projects/*/", + "olicy\"=\202\323\344\223\0027\"2/v2/{resource=projects/*/" + "instances/*}:setIamPolicy:\001*\022\256\001\n\022TestIam" + "Permissions\022(.google.iam.v1.TestIamPermi" + "ssionsRequest\032).google.iam.v1.TestIamPer" + @@ -287,7 +287,7 @@ public static void registerAllExtensions( "BigtableInstanceAdminProtoP\001Z=google.gol" + "ang.org/genproto/googleapis/bigtable/adm" + "in/v2;admin\252\002\036Google.Cloud.Bigtable.Admi" + - "n.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2b\006p", + "n.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2b\006p" + "roto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java index 8bb4de21e6ee..66a2c55f77d7 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java @@ -137,7 +137,7 @@ public static void registerAllExtensions( "proto\032\037google/protobuf/timestamp.proto\"\310" + "\001\n\022CreateTableRequest\022\016\n\006parent\030\001 \001(\t\022\020\n" + "\010table_id\030\002 \001(\t\022.\n\005table\030\003 \001(\0132\037.google." + - "bigtable.admin.v2.Table\022J\n\016initial_split", + "bigtable.admin.v2.Table\022J\n\016initial_split" + "s\030\004 \003(\01322.google.bigtable.admin.v2.Creat" + "eTableRequest.Split\032\024\n\005Split\022\013\n\003key\030\001 \001(" + "\014\"[\n\036CreateTableFromSnapshotRequest\022\016\n\006p" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "\032delete_all_data_from_table\030\003 \001(\010H\000B\010\n\006t" + "arget\"k\n\021ListTablesRequest\022\016\n\006parent\030\001 \001" + "(\t\0222\n\004view\030\002 \001(\0162$.google.bigtable.admin" + - ".v2.Table.View\022\022\n\npage_token\030\003 \001(\t\"^\n\022Li", + ".v2.Table.View\022\022\n\npage_token\030\003 \001(\t\"^\n\022Li" + "stTablesResponse\022/\n\006tables\030\001 \003(\0132\037.googl" + "e.bigtable.admin.v2.Table\022\027\n\017next_page_t" + "oken\030\002 \001(\t\"S\n\017GetTableRequest\022\014\n\004name\030\001 " + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "est\022\014\n\004name\030\001 \001(\t\022Y\n\rmodifications\030\002 \003(\013" + "2B.google.bigtable.admin.v2.ModifyColumn" + "FamiliesRequest.Modification\032\245\001\n\014Modific" + - "ation\022\n\n\002id\030\001 \001(\t\0228\n\006create\030\002 \001(\0132&.goog", + "ation\022\n\n\002id\030\001 \001(\t\0228\n\006create\030\002 \001(\0132&.goog" + "le.bigtable.admin.v2.ColumnFamilyH\000\0228\n\006u" + "pdate\030\003 \001(\0132&.google.bigtable.admin.v2.C" + "olumnFamilyH\000\022\016\n\004drop\030\004 \001(\010H\000B\005\n\003mod\"/\n\037" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "sistencyRequest\022\014\n\004name\030\001 \001(\t\022\031\n\021consist" + "ency_token\030\002 \001(\t\".\n\030CheckConsistencyResp" + "onse\022\022\n\nconsistent\030\001 \001(\010\"\207\001\n\024SnapshotTab" + - "leRequest\022\014\n\004name\030\001 \001(\t\022\017\n\007cluster\030\002 \001(\t", + "leRequest\022\014\n\004name\030\001 \001(\t\022\017\n\007cluster\030\002 \001(\t" + "\022\023\n\013snapshot_id\030\003 \001(\t\022&\n\003ttl\030\004 \001(\0132\031.goo" + "gle.protobuf.Duration\022\023\n\013description\030\005 \001" + "(\t\"\"\n\022GetSnapshotRequest\022\014\n\004name\030\001 \001(\t\"M" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "\0132\".google.bigtable.admin.v2.Snapshot\022\027\n" + "\017next_page_token\030\002 \001(\t\"%\n\025DeleteSnapshot" + "Request\022\014\n\004name\030\001 \001(\t\"\304\001\n\025SnapshotTableM" + - "etadata\022H\n\020original_request\030\001 \001(\0132..goog", + "etadata\022H\n\020original_request\030\001 \001(\0132..goog" + "le.bigtable.admin.v2.SnapshotTableReques" + "t\0220\n\014request_time\030\002 \001(\0132\032.google.protobu" + "f.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.googl" + @@ -187,7 +187,7 @@ public static void registerAllExtensions( "eFromSnapshotRequest\0220\n\014request_time\030\002 \001" + "(\0132\032.google.protobuf.Timestamp\022/\n\013finish" + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp2" + - "\267\021\n\022BigtableTableAdmin\022\223\001\n\013CreateTable\022,", + "\267\021\n\022BigtableTableAdmin\022\223\001\n\013CreateTable\022," + ".google.bigtable.admin.v2.CreateTableReq" + "uest\032\037.google.bigtable.admin.v2.Table\"5\202" + "\323\344\223\002/\"*/v2/{parent=projects/*/instances/" + @@ -197,7 +197,7 @@ public static void registerAllExtensions( "Operation\"H\202\323\344\223\002B\"=/v2/{parent=projects/" + "*/instances/*}/tables:createFromSnapshot" + ":\001*\022\233\001\n\nListTables\022+.google.bigtable.adm" + - "in.v2.ListTablesRequest\032,.google.bigtabl", + "in.v2.ListTablesRequest\032,.google.bigtabl" + "e.admin.v2.ListTablesResponse\"2\202\323\344\223\002,\022*/" + "v2/{parent=projects/*/instances/*}/table" + "s\022\212\001\n\010GetTable\022).google.bigtable.admin.v" + @@ -207,7 +207,7 @@ public static void registerAllExtensions( ".google.bigtable.admin.v2.DeleteTableReq" + "uest\032\026.google.protobuf.Empty\"2\202\323\344\223\002,**/v" + "2/{name=projects/*/instances/*/tables/*}" + - "\022\272\001\n\024ModifyColumnFamilies\0225.google.bigta", + "\022\272\001\n\024ModifyColumnFamilies\0225.google.bigta" + "ble.admin.v2.ModifyColumnFamiliesRequest" + "\032\037.google.bigtable.admin.v2.Table\"J\202\323\344\223\002" + "D\"?/v2/{name=projects/*/instances/*/tabl" + @@ -217,7 +217,7 @@ public static void registerAllExtensions( "\323\344\223\002<\"7/v2/{name=projects/*/instances/*/" + "tables/*}:dropRowRange:\001*\022\341\001\n\030GenerateCo" + "nsistencyToken\0229.google.bigtable.admin.v" + - "2.GenerateConsistencyTokenRequest\032:.goog", + "2.GenerateConsistencyTokenRequest\032:.goog" + "le.bigtable.admin.v2.GenerateConsistency" + "TokenResponse\"N\202\323\344\223\002H\"C/v2/{name=project" + "s/*/instances/*/tables/*}:generateConsis" + @@ -227,7 +227,7 @@ public static void registerAllExtensions( "nsistencyResponse\"F\202\323\344\223\002@\";/v2/{name=pro" + "jects/*/instances/*/tables/*}:checkConsi" + "stency:\001*\022\236\001\n\rSnapshotTable\022..google.big" + - "table.admin.v2.SnapshotTableRequest\032\035.go", + "table.admin.v2.SnapshotTableRequest\032\035.go" + "ogle.longrunning.Operation\">\202\323\344\223\0028\"3/v2/" + "{name=projects/*/instances/*/tables/*}:s" + "napshot:\001*\022\241\001\n\013GetSnapshot\022,.google.bigt" + @@ -237,7 +237,7 @@ public static void registerAllExtensions( "*/snapshots/*}\022\262\001\n\rListSnapshots\022..googl" + "e.bigtable.admin.v2.ListSnapshotsRequest" + "\032/.google.bigtable.admin.v2.ListSnapshot" + - "sResponse\"@\202\323\344\223\002:\0228/v2/{parent=projects/", + "sResponse\"@\202\323\344\223\002:\0228/v2/{parent=projects/" + "*/instances/*/clusters/*}/snapshots\022\233\001\n\016" + "DeleteSnapshot\022/.google.bigtable.admin.v" + "2.DeleteSnapshotRequest\032\026.google.protobu" + diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java index df2812f3d507..77d8d2106abf 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java @@ -35,6 +35,9 @@ private CheckConsistencyRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -699,7 +702,7 @@ public CheckConsistencyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CheckConsistencyRequest(input, extensionRegistry); + return new CheckConsistencyRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java index 95f21bc7bda3..f861c56f7fe1 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java @@ -34,6 +34,9 @@ private CheckConsistencyResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -454,7 +457,7 @@ public CheckConsistencyResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CheckConsistencyResponse(input, extensionRegistry); + return new CheckConsistencyResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java index 3344a5cf7148..8815e4244437 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java @@ -39,6 +39,9 @@ private Cluster( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1233,7 +1236,7 @@ public Cluster parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Cluster(input, extensionRegistry); + return new Cluster(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java index 3e88cbb0b5d1..ec193e9e8a73 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java @@ -32,6 +32,9 @@ private ColumnFamily( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -650,7 +653,7 @@ public ColumnFamily parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ColumnFamily(input, extensionRegistry); + return new ColumnFamily(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java index 1c6f090d753e..9ff19486c728 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java @@ -35,6 +35,9 @@ private CreateAppProfileRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1027,7 +1030,7 @@ public CreateAppProfileRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateAppProfileRequest(input, extensionRegistry); + return new CreateAppProfileRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java index 945903dc2eb1..7d351990b1dd 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java @@ -32,6 +32,9 @@ private CreateClusterMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1060,7 +1063,7 @@ public CreateClusterMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateClusterMetadata(input, extensionRegistry); + return new CreateClusterMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java index 80884acc7f8d..47f6561e9e10 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java @@ -34,6 +34,9 @@ private CreateClusterRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -952,7 +955,7 @@ public CreateClusterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateClusterRequest(input, extensionRegistry); + return new CreateClusterRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java index bb2e35ede09e..fe92405252a9 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java @@ -32,6 +32,9 @@ private CreateInstanceMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1060,7 +1063,7 @@ public CreateInstanceMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInstanceMetadata(input, extensionRegistry); + return new CreateInstanceMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java index 3973295c9a2d..68d34486e05f 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java @@ -34,6 +34,9 @@ private CreateInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1310,7 +1313,7 @@ public CreateInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInstanceRequest(input, extensionRegistry); + return new CreateInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java index c883cab07480..0a5b1aee0a89 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java @@ -36,6 +36,9 @@ private CreateTableFromSnapshotMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1080,7 +1083,7 @@ public CreateTableFromSnapshotMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTableFromSnapshotMetadata(input, extensionRegistry); + return new CreateTableFromSnapshotMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java index 964f42270221..6e90991e9952 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java @@ -40,6 +40,9 @@ private CreateTableFromSnapshotRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -883,7 +886,7 @@ public CreateTableFromSnapshotRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTableFromSnapshotRequest(input, extensionRegistry); + return new CreateTableFromSnapshotRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java index d0121518a909..0d64d7a2df44 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java @@ -36,6 +36,9 @@ private CreateTableRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -158,6 +161,9 @@ private Split( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -575,7 +581,7 @@ public Split parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Split(input, extensionRegistry); + return new Split(input, extensionRegistry); } }; @@ -2146,7 +2152,7 @@ public CreateTableRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTableRequest(input, extensionRegistry); + return new CreateTableRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java index 72748939bae5..0556fafa92f4 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java @@ -34,6 +34,9 @@ private DeleteAppProfileRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -610,7 +613,7 @@ public DeleteAppProfileRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAppProfileRequest(input, extensionRegistry); + return new DeleteAppProfileRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java index 276bcffb173d..63611b47d8bf 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java @@ -33,6 +33,9 @@ private DeleteClusterRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteClusterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteClusterRequest(input, extensionRegistry); + return new DeleteClusterRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java index 164bf2bd681b..378efab7f52e 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java @@ -33,6 +33,9 @@ private DeleteInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInstanceRequest(input, extensionRegistry); + return new DeleteInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java index 39308b7dba1e..50f75c88dada 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java @@ -38,6 +38,9 @@ private DeleteSnapshotRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -552,7 +555,7 @@ public DeleteSnapshotRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSnapshotRequest(input, extensionRegistry); + return new DeleteSnapshotRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java index 42ed806dbc26..1dfa6a293ade 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java @@ -34,6 +34,9 @@ private DeleteTableRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -544,7 +547,7 @@ public DeleteTableRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTableRequest(input, extensionRegistry); + return new DeleteTableRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java index 94fefeba73ee..30f72282bf75 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java @@ -34,6 +34,9 @@ private DropRowRangeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -796,7 +799,7 @@ public DropRowRangeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DropRowRangeRequest(input, extensionRegistry); + return new DropRowRangeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java index 90cb7e6b15f7..8b7bc261ef8b 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java @@ -32,6 +32,9 @@ private GcRule( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -199,6 +202,9 @@ private Intersection( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -976,7 +982,7 @@ public Intersection parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Intersection(input, extensionRegistry); + return new Intersection(input, extensionRegistry); } }; @@ -1073,6 +1079,9 @@ private Union( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1850,7 +1859,7 @@ public Union parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Union(input, extensionRegistry); + return new Union(input, extensionRegistry); } }; @@ -3057,7 +3066,7 @@ public GcRule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GcRule(input, extensionRegistry); + return new GcRule(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java index 9a3bfb2a9fad..4a81887f8bca 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java @@ -34,6 +34,9 @@ private GenerateConsistencyTokenRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -544,7 +547,7 @@ public GenerateConsistencyTokenRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GenerateConsistencyTokenRequest(input, extensionRegistry); + return new GenerateConsistencyTokenRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java index ad26cd9cd94e..c892fd34d741 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java @@ -34,6 +34,9 @@ private GenerateConsistencyTokenResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -530,7 +533,7 @@ public GenerateConsistencyTokenResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GenerateConsistencyTokenResponse(input, extensionRegistry); + return new GenerateConsistencyTokenResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java index 185ea19b4e15..b2adc4100710 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java @@ -33,6 +33,9 @@ private GetAppProfileRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetAppProfileRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAppProfileRequest(input, extensionRegistry); + return new GetAppProfileRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java index 9516f2571b8f..0f20082b1377 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java @@ -33,6 +33,9 @@ private GetClusterRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetClusterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetClusterRequest(input, extensionRegistry); + return new GetClusterRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java index e085ec13a2d5..4d97cbe3ac3b 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java @@ -33,6 +33,9 @@ private GetInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceRequest(input, extensionRegistry); + return new GetInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java index 919a36acd327..d9af5413f49e 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java @@ -38,6 +38,9 @@ private GetSnapshotRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -552,7 +555,7 @@ public GetSnapshotRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetSnapshotRequest(input, extensionRegistry); + return new GetSnapshotRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java index 8a32878002b0..af3ca9364944 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java @@ -35,6 +35,9 @@ private GetTableRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -662,7 +665,7 @@ public GetTableRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTableRequest(input, extensionRegistry); + return new GetTableRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java index 14eb893d5496..412801b5a422 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java @@ -39,6 +39,9 @@ private Instance( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1658,7 +1661,7 @@ public Instance parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); + return new Instance(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java index 25f0f939c92f..954081e8b9e1 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java @@ -62,7 +62,7 @@ public static void registerAllExtensions( "te\0225\n\004type\030\004 \001(\0162\'.google.bigtable.admin" + ".v2.Instance.Type\022>\n\006labels\030\005 \003(\0132..goog" + "le.bigtable.admin.v2.Instance.LabelsEntr" + - "y\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002", + "y\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + " \001(\t:\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t" + "\n\005READY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_" + "UNSPECIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOP" + @@ -72,7 +72,7 @@ public static void registerAllExtensions( "s\030\004 \001(\005\022C\n\024default_storage_type\030\005 \001(\0162%." + "google.bigtable.admin.v2.StorageType\"Q\n\005" + "State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n" + - "\010CREATING\020\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004\"", + "\010CREATING\020\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004\"" + "\202\003\n\nAppProfile\022\014\n\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001" + "(\t\022\023\n\013description\030\003 \001(\t\022g\n\035multi_cluster" + "_routing_use_any\030\005 \001(\0132>.google.bigtable" + @@ -82,7 +82,7 @@ public static void registerAllExtensions( "ingleClusterRoutingH\000\032\033\n\031MultiClusterRou" + "tingUseAny\032N\n\024SingleClusterRouting\022\022\n\ncl" + "uster_id\030\001 \001(\t\022\"\n\032allow_transactional_wr" + - "ites\030\002 \001(\010B\020\n\016routing_policyB\260\001\n\034com.goo", + "ites\030\002 \001(\010B\020\n\016routing_policyB\260\001\n\034com.goo" + "gle.bigtable.admin.v2B\rInstanceProtoP\001Z=" + "google.golang.org/genproto/googleapis/bi" + "gtable/admin/v2;admin\252\002\036Google.Cloud.Big" + diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java index 75a1332dffc2..5e4eb76dcd2c 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java @@ -34,6 +34,9 @@ private ListAppProfilesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -697,7 +700,7 @@ public ListAppProfilesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAppProfilesRequest(input, extensionRegistry); + return new ListAppProfilesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java index 2e4ec7ebe0aa..9669d91d32f6 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java @@ -34,6 +34,9 @@ private ListAppProfilesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListAppProfilesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAppProfilesResponse(input, extensionRegistry); + return new ListAppProfilesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java index 4daf9bb5a515..9861f4708831 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java @@ -34,6 +34,9 @@ private ListClustersRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -704,7 +707,7 @@ public ListClustersRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListClustersRequest(input, extensionRegistry); + return new ListClustersRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java index 7ab0e0252999..9c3ee71bb02a 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java @@ -35,6 +35,9 @@ private ListClustersResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1243,7 +1246,7 @@ public ListClustersResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListClustersResponse(input, extensionRegistry); + return new ListClustersResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java index 67b1e19ad4bf..b909658fe3ca 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java @@ -34,6 +34,9 @@ private ListInstancesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -690,7 +693,7 @@ public ListInstancesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesRequest(input, extensionRegistry); + return new ListInstancesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java index b4836668ad8f..2fb7732f9d08 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java @@ -35,6 +35,9 @@ private ListInstancesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1256,7 +1259,7 @@ public ListInstancesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesResponse(input, extensionRegistry); + return new ListInstancesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java index 01e2d7f851fe..14d201abbac9 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java @@ -40,6 +40,9 @@ private ListSnapshotsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -795,7 +798,7 @@ public ListSnapshotsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSnapshotsRequest(input, extensionRegistry); + return new ListSnapshotsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java index 189ca38b3027..4f562d1ff961 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java @@ -39,6 +39,9 @@ private ListSnapshotsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -992,7 +995,7 @@ public ListSnapshotsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSnapshotsResponse(input, extensionRegistry); + return new ListSnapshotsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java index 9249a2f7706d..96670aeae7f4 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java @@ -36,6 +36,9 @@ private ListTablesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public ListTablesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTablesRequest(input, extensionRegistry); + return new ListTablesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java index b8a50f17a593..2bc89dfb506f 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java @@ -35,6 +35,9 @@ private ListTablesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -984,7 +987,7 @@ public ListTablesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTablesResponse(input, extensionRegistry); + return new ListTablesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java index d75be49efcf3..5fe2cffb4cf1 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java @@ -35,6 +35,9 @@ private ModifyColumnFamiliesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -215,6 +218,9 @@ private Modification( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1399,7 +1405,7 @@ public Modification parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Modification(input, extensionRegistry); + return new Modification(input, extensionRegistry); } }; @@ -2376,7 +2382,7 @@ public ModifyColumnFamiliesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ModifyColumnFamiliesRequest(input, extensionRegistry); + return new ModifyColumnFamiliesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java index a97efd9b2a59..585ee1b95b2a 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java @@ -32,6 +32,9 @@ private PartialUpdateInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -843,7 +846,7 @@ public PartialUpdateInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PartialUpdateInstanceRequest(input, extensionRegistry); + return new PartialUpdateInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java index 2c137c1ff6f7..9b57045298e2 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java @@ -41,6 +41,9 @@ private Snapshot( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1812,7 +1815,7 @@ public Snapshot parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Snapshot(input, extensionRegistry); + return new Snapshot(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java index 3ffa99f7d0c5..d1dfa7f8753d 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java @@ -36,6 +36,9 @@ private SnapshotTableMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1068,7 +1071,7 @@ public SnapshotTableMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SnapshotTableMetadata(input, extensionRegistry); + return new SnapshotTableMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java index 0d728b8436a5..36fd9afc937e 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java @@ -41,6 +41,9 @@ private SnapshotTableRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1317,7 +1320,7 @@ public SnapshotTableRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SnapshotTableRequest(input, extensionRegistry); + return new SnapshotTableRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java index ed22b8d1ff41..b8ba4bca1796 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java @@ -35,6 +35,9 @@ private Table( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -473,6 +476,9 @@ private ClusterState( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1112,7 +1118,7 @@ public ClusterState parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ClusterState(input, extensionRegistry); + return new ClusterState(input, extensionRegistry); } }; @@ -2380,7 +2386,7 @@ public Table parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Table(input, extensionRegistry); + return new Table(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java index 2c3a17cee561..cedc689943b6 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java @@ -77,7 +77,7 @@ public static void registerAllExtensions( ".ClusterStatesEntry\022L\n\017column_families\030\003" + " \003(\01323.google.bigtable.admin.v2.Table.Co" + "lumnFamiliesEntry\022I\n\013granularity\030\004 \001(\01624" + - ".google.bigtable.admin.v2.Table.Timestam", + ".google.bigtable.admin.v2.Table.Timestam" + "pGranularity\032\342\001\n\014ClusterState\022X\n\021replica" + "tion_state\030\001 \001(\0162=.google.bigtable.admin" + ".v2.Table.ClusterState.ReplicationState\"" + @@ -87,7 +87,7 @@ public static void registerAllExtensions( "\004\032b\n\022ClusterStatesEntry\022\013\n\003key\030\001 \001(\t\022;\n\005" + "value\030\002 \001(\0132,.google.bigtable.admin.v2.T" + "able.ClusterState:\0028\001\032]\n\023ColumnFamiliesE" + - "ntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.googl", + "ntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.googl" + "e.bigtable.admin.v2.ColumnFamily:\0028\001\"I\n\024" + "TimestampGranularity\022%\n!TIMESTAMP_GRANUL" + "ARITY_UNSPECIFIED\020\000\022\n\n\006MILLIS\020\001\"\\\n\004View\022" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( ".google.bigtable.admin.v2.GcRule\"\325\002\n\006GcR" + "ule\022\032\n\020max_num_versions\030\001 \001(\005H\000\022,\n\007max_a" + "ge\030\002 \001(\0132\031.google.protobuf.DurationH\000\022E\n" + - "\014intersection\030\003 \001(\0132-.google.bigtable.ad", + "\014intersection\030\003 \001(\0132-.google.bigtable.ad" + "min.v2.GcRule.IntersectionH\000\0227\n\005union\030\004 " + "\001(\0132&.google.bigtable.admin.v2.GcRule.Un" + "ionH\000\032?\n\014Intersection\022/\n\005rules\030\001 \003(\0132 .g" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "\001(\t\0225\n\014source_table\030\002 \001(\0132\037.google.bigta" + "ble.admin.v2.Table\022\027\n\017data_size_bytes\030\003 " + "\001(\003\022/\n\013create_time\030\004 \001(\0132\032.google.protob" + - "uf.Timestamp\022/\n\013delete_time\030\005 \001(\0132\032.goog", + "uf.Timestamp\022/\n\013delete_time\030\005 \001(\0132\032.goog" + "le.protobuf.Timestamp\0227\n\005state\030\006 \001(\0162(.g" + "oogle.bigtable.admin.v2.Snapshot.State\022\023" + "\n\013description\030\007 \001(\t\"5\n\005State\022\023\n\017STATE_NO" + diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java index 286c4e658f04..67b1f2fd0e2c 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java @@ -32,6 +32,9 @@ private UpdateAppProfileMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -372,7 +375,7 @@ public UpdateAppProfileMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateAppProfileMetadata(input, extensionRegistry); + return new UpdateAppProfileMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java index 5e6f5d169e65..9a1b5a6031ee 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java @@ -33,6 +33,9 @@ private UpdateAppProfileRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -918,7 +921,7 @@ public UpdateAppProfileRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateAppProfileRequest(input, extensionRegistry); + return new UpdateAppProfileRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java index aec8754f2d35..13dc60cd293b 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java @@ -32,6 +32,9 @@ private UpdateClusterMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1060,7 +1063,7 @@ public UpdateClusterMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateClusterMetadata(input, extensionRegistry); + return new UpdateClusterMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java index 8fc4200580a8..90b4e8416a2a 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java @@ -32,6 +32,9 @@ private UpdateInstanceMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1060,7 +1063,7 @@ public UpdateInstanceMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateInstanceMetadata(input, extensionRegistry); + return new UpdateInstanceMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java index eddc17a341d4..f045bb96c57e 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java @@ -107,7 +107,7 @@ public static void registerAllExtensions( "\004rows\030\002 \001(\0132\032.google.bigtable.v2.RowSet\022" + "-\n\006filter\030\003 \001(\0132\035.google.bigtable.v2.Row" + "Filter\022\022\n\nrows_limit\030\004 \001(\003\"\370\002\n\020ReadRowsR" + - "esponse\022>\n\006chunks\030\001 \003(\0132..google.bigtabl", + "esponse\022>\n\006chunks\030\001 \003(\0132..google.bigtabl" + "e.v2.ReadRowsResponse.CellChunk\022\034\n\024last_" + "scanned_row_key\030\002 \001(\014\032\205\002\n\tCellChunk\022\017\n\007r" + "ow_key\030\001 \001(\014\0221\n\013family_name\030\002 \001(\0132\034.goog" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "ue\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n\treset_ro" + "w\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nrow_s" + "tatus\"B\n\024SampleRowKeysRequest\022\022\n\ntable_n" + - "ame\030\001 \001(\t\022\026\n\016app_profile_id\030\002 \001(\t\">\n\025Sam", + "ame\030\001 \001(\t\022\026\n\016app_profile_id\030\002 \001(\t\">\n\025Sam" + "pleRowKeysResponse\022\017\n\007row_key\030\001 \001(\014\022\024\n\014o" + "ffset_bytes\030\002 \001(\003\"\200\001\n\020MutateRowRequest\022\022" + "\n\ntable_name\030\001 \001(\t\022\026\n\016app_profile_id\030\004 \001" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "_name\030\001 \001(\t\022\026\n\016app_profile_id\030\003 \001(\t\022<\n\007e" + "ntries\030\002 \003(\0132+.google.bigtable.v2.Mutate" + "RowsRequest.Entry\032I\n\005Entry\022\017\n\007row_key\030\001 " + - "\001(\014\022/\n\tmutations\030\002 \003(\0132\034.google.bigtable", + "\001(\014\022/\n\tmutations\030\002 \003(\0132\034.google.bigtable" + ".v2.Mutation\"\217\001\n\022MutateRowsResponse\022=\n\007e" + "ntries\030\001 \003(\0132,.google.bigtable.v2.Mutate" + "RowsResponse.Entry\032:\n\005Entry\022\r\n\005index\030\001 \001" + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "ey\030\002 \001(\014\0227\n\020predicate_filter\030\006 \001(\0132\035.goo" + "gle.bigtable.v2.RowFilter\0224\n\016true_mutati" + "ons\030\004 \003(\0132\034.google.bigtable.v2.Mutation\022" + - "5\n\017false_mutations\030\005 \003(\0132\034.google.bigtab", + "5\n\017false_mutations\030\005 \003(\0132\034.google.bigtab" + "le.v2.Mutation\"6\n\031CheckAndMutateRowRespo" + "nse\022\031\n\021predicate_matched\030\001 \001(\010\"\220\001\n\031ReadM" + "odifyWriteRowRequest\022\022\n\ntable_name\030\001 \001(\t" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "esponse\022$\n\003row\030\001 \001(\0132\027.google.bigtable.v" + "2.Row2\255\010\n\010Bigtable\022\235\001\n\010ReadRows\022#.google" + ".bigtable.v2.ReadRowsRequest\032$.google.bi" + - "gtable.v2.ReadRowsResponse\"D\202\323\344\223\002>\"9/v2/", + "gtable.v2.ReadRowsResponse\"D\202\323\344\223\002>\"9/v2/" + "{table_name=projects/*/instances/*/table" + "s/*}:readRows:\001*0\001\022\256\001\n\rSampleRowKeys\022(.g" + "oogle.bigtable.v2.SampleRowKeysRequest\032)" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "MutateRow\022$.google.bigtable.v2.MutateRow" + "Request\032%.google.bigtable.v2.MutateRowRe" + "sponse\"E\202\323\344\223\002?\":/v2/{table_name=projects" + - "/*/instances/*/tables/*}:mutateRow:\001*\022\245\001", + "/*/instances/*/tables/*}:mutateRow:\001*\022\245\001" + "\n\nMutateRows\022%.google.bigtable.v2.Mutate" + "RowsRequest\032&.google.bigtable.v2.MutateR" + "owsResponse\"F\202\323\344\223\002@\";/v2/{table_name=pro" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "le.bigtable.v2.CheckAndMutateRowResponse" + "\"M\202\323\344\223\002G\"B/v2/{table_name=projects/*/ins" + "tances/*/tables/*}:checkAndMutateRow:\001*\022" + - "\303\001\n\022ReadModifyWriteRow\022-.google.bigtable", + "\303\001\n\022ReadModifyWriteRow\022-.google.bigtable" + ".v2.ReadModifyWriteRowRequest\032..google.b" + "igtable.v2.ReadModifyWriteRowResponse\"N\202" + "\323\344\223\002H\"C/v2/{table_name=projects/*/instan" + diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java index 7ee032b242fc..e04566ec6c8d 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java @@ -35,6 +35,9 @@ private Cell( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -780,7 +783,7 @@ public Cell parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Cell(input, extensionRegistry); + return new Cell(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java index d372e7d5deb8..af170edb17a2 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java @@ -37,6 +37,9 @@ private CheckAndMutateRowRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2112,7 +2115,7 @@ public CheckAndMutateRowRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CheckAndMutateRowRequest(input, extensionRegistry); + return new CheckAndMutateRowRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java index e5d58d094139..85389250f03a 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java @@ -33,6 +33,9 @@ private CheckAndMutateRowResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -452,7 +455,7 @@ public CheckAndMutateRowResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CheckAndMutateRowResponse(input, extensionRegistry); + return new CheckAndMutateRowResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java index 71743f5a3e59..51aa779dac6a 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java @@ -35,6 +35,9 @@ private Column( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -908,7 +911,7 @@ public Column parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Column(input, extensionRegistry); + return new Column(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java index b8b304605365..b1a862d1e56c 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java @@ -36,6 +36,9 @@ private ColumnRange( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1034,7 +1037,7 @@ public ColumnRange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ColumnRange(input, extensionRegistry); + return new ColumnRange(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java index 94d203f78900..66858365b135 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java @@ -127,7 +127,7 @@ public static void registerAllExtensions( "bigtable.v2.Cell\"?\n\004Cell\022\030\n\020timestamp_mi" + "cros\030\001 \001(\003\022\r\n\005value\030\002 \001(\014\022\016\n\006labels\030\003 \003(" + "\t\"\212\001\n\010RowRange\022\032\n\020start_key_closed\030\001 \001(\014" + - "H\000\022\030\n\016start_key_open\030\002 \001(\014H\000\022\026\n\014end_key_", + "H\000\022\030\n\016start_key_open\030\002 \001(\014H\000\022\026\n\014end_key_" + "open\030\003 \001(\014H\001\022\030\n\016end_key_closed\030\004 \001(\014H\001B\013" + "\n\tstart_keyB\t\n\007end_key\"L\n\006RowSet\022\020\n\010row_" + "keys\030\001 \003(\014\0220\n\nrow_ranges\030\002 \003(\0132\034.google." + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "\014H\000\022\036\n\024end_qualifier_closed\030\004 \001(\014H\001\022\034\n\022e" + "nd_qualifier_open\030\005 \001(\014H\001B\021\n\017start_quali" + "fierB\017\n\rend_qualifier\"N\n\016TimestampRange\022" + - "\036\n\026start_timestamp_micros\030\001 \001(\003\022\034\n\024end_t", + "\036\n\026start_timestamp_micros\030\001 \001(\003\022\034\n\024end_t" + "imestamp_micros\030\002 \001(\003\"\230\001\n\nValueRange\022\034\n\022" + "start_value_closed\030\001 \001(\014H\000\022\032\n\020start_valu" + "e_open\030\002 \001(\014H\000\022\032\n\020end_value_closed\030\003 \001(\014" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "inH\000\022>\n\ninterleave\030\002 \001(\0132(.google.bigtab" + "le.v2.RowFilter.InterleaveH\000\022<\n\tconditio" + "n\030\003 \001(\0132\'.google.bigtable.v2.RowFilter.C" + - "onditionH\000\022\016\n\004sink\030\020 \001(\010H\000\022\031\n\017pass_all_f", + "onditionH\000\022\016\n\004sink\030\020 \001(\010H\000\022\031\n\017pass_all_f" + "ilter\030\021 \001(\010H\000\022\032\n\020block_all_filter\030\022 \001(\010H" + "\000\022\036\n\024row_key_regex_filter\030\004 \001(\014H\000\022\033\n\021row" + "_sample_filter\030\016 \001(\001H\000\022\"\n\030family_name_re" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "eH\000\022D\n\026timestamp_range_filter\030\010 \001(\0132\".go" + "ogle.bigtable.v2.TimestampRangeH\000\022\034\n\022val" + "ue_regex_filter\030\t \001(\014H\000\022<\n\022value_range_f" + - "ilter\030\017 \001(\0132\036.google.bigtable.v2.ValueRa", + "ilter\030\017 \001(\0132\036.google.bigtable.v2.ValueRa" + "ngeH\000\022%\n\033cells_per_row_offset_filter\030\n \001" + "(\005H\000\022$\n\032cells_per_row_limit_filter\030\013 \001(\005" + "H\000\022\'\n\035cells_per_column_limit_filter\030\014 \001(" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( ".RowFilter\032<\n\nInterleave\022.\n\007filters\030\001 \003(" + "\0132\035.google.bigtable.v2.RowFilter\032\255\001\n\tCon" + "dition\0227\n\020predicate_filter\030\001 \001(\0132\035.googl" + - "e.bigtable.v2.RowFilter\0222\n\013true_filter\030\002", + "e.bigtable.v2.RowFilter\0222\n\013true_filter\030\002" + " \001(\0132\035.google.bigtable.v2.RowFilter\0223\n\014f" + "alse_filter\030\003 \001(\0132\035.google.bigtable.v2.R" + "owFilterB\010\n\006filter\"\311\004\n\010Mutation\0228\n\010set_c" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "lumnH\000\022K\n\022delete_from_family\030\003 \001(\0132-.goo" + "gle.bigtable.v2.Mutation.DeleteFromFamil" + "yH\000\022E\n\017delete_from_row\030\004 \001(\0132*.google.bi" + - "gtable.v2.Mutation.DeleteFromRowH\000\032a\n\007Se", + "gtable.v2.Mutation.DeleteFromRowH\000\032a\n\007Se" + "tCell\022\023\n\013family_name\030\001 \001(\t\022\030\n\020column_qua" + "lifier\030\002 \001(\014\022\030\n\020timestamp_micros\030\003 \001(\003\022\r" + "\n\005value\030\004 \001(\014\032y\n\020DeleteFromColumn\022\023\n\013fam" + @@ -187,7 +187,7 @@ public static void registerAllExtensions( "family_name\030\001 \001(\t\032\017\n\rDeleteFromRowB\n\n\010mu" + "tation\"\200\001\n\023ReadModifyWriteRule\022\023\n\013family" + "_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014\022\026\n" + - "\014append_value\030\003 \001(\014H\000\022\032\n\020increment_amoun", + "\014append_value\030\003 \001(\014H\000\022\032\n\020increment_amoun" + "t\030\004 \001(\003H\000B\006\n\004ruleB\227\001\n\026com.google.bigtabl" + "e.v2B\tDataProtoP\001Z:google.golang.org/gen" + "proto/googleapis/bigtable/v2;bigtable\252\002\030" + diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java index d4b38dbe4f39..6eb9f5209a61 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java @@ -35,6 +35,9 @@ private Family( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1005,7 +1008,7 @@ public Family parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Family(input, extensionRegistry); + return new Family(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java index a46c9196a07b..8df11153c5ad 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java @@ -36,6 +36,9 @@ private MutateRowRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1267,7 +1270,7 @@ public MutateRowRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MutateRowRequest(input, extensionRegistry); + return new MutateRowRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java index 017ef8b15db8..1597a4525f1c 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java @@ -32,6 +32,9 @@ private MutateRowResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -372,7 +375,7 @@ public MutateRowResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MutateRowResponse(input, extensionRegistry); + return new MutateRowResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java index 15184ebbd8ff..da8097ffe6ee 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java @@ -35,6 +35,9 @@ private MutateRowsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -200,6 +203,9 @@ private Entry( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1121,7 +1127,7 @@ public Entry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Entry(input, extensionRegistry); + return new Entry(input, extensionRegistry); } }; @@ -2261,7 +2267,7 @@ public MutateRowsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MutateRowsRequest(input, extensionRegistry); + return new MutateRowsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java index d4d7aec5e6d1..a3af7b895fe2 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java @@ -33,6 +33,9 @@ private MutateRowsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -161,6 +164,9 @@ private Entry( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -841,7 +847,7 @@ public Entry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Entry(input, extensionRegistry); + return new Entry(input, extensionRegistry); } }; @@ -1583,7 +1589,7 @@ public MutateRowsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MutateRowsResponse(input, extensionRegistry); + return new MutateRowsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java index 79ee175d3fbe..75599ff3ffb4 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java @@ -32,6 +32,9 @@ private Mutation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -219,6 +222,9 @@ private SetCell( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -967,7 +973,7 @@ public SetCell parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SetCell(input, extensionRegistry); + return new SetCell(input, extensionRegistry); } }; @@ -1077,6 +1083,9 @@ private DeleteFromColumn( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1889,7 +1898,7 @@ public DeleteFromColumn parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteFromColumn(input, extensionRegistry); + return new DeleteFromColumn(input, extensionRegistry); } }; @@ -1962,6 +1971,9 @@ private DeleteFromFamily( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2464,7 +2476,7 @@ public DeleteFromFamily parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteFromFamily(input, extensionRegistry); + return new DeleteFromFamily(input, extensionRegistry); } }; @@ -2516,6 +2528,9 @@ private DeleteFromRow( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -2856,7 +2871,7 @@ public DeleteFromRow parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteFromRow(input, extensionRegistry); + return new DeleteFromRow(input, extensionRegistry); } }; @@ -4194,7 +4209,7 @@ public Mutation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Mutation(input, extensionRegistry); + return new Mutation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java index 720adf0d11d5..3d15975abacd 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java @@ -36,6 +36,9 @@ private ReadModifyWriteRowRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1274,7 +1277,7 @@ public ReadModifyWriteRowRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadModifyWriteRowRequest(input, extensionRegistry); + return new ReadModifyWriteRowRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java index e2d9741940f1..0738cff286a5 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java @@ -32,6 +32,9 @@ private ReadModifyWriteRowResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public ReadModifyWriteRowResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadModifyWriteRowResponse(input, extensionRegistry); + return new ReadModifyWriteRowResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java index 97e6a916dee4..b68b2abc86f1 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java @@ -35,6 +35,9 @@ private ReadModifyWriteRule( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -890,7 +893,7 @@ public ReadModifyWriteRule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadModifyWriteRule(input, extensionRegistry); + return new ReadModifyWriteRule(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java index cb400e6fd80b..9f82b19cae9b 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java @@ -35,6 +35,9 @@ private ReadRowsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1253,7 +1256,7 @@ public ReadRowsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadRowsRequest(input, extensionRegistry); + return new ReadRowsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java index e3b59a2e539a..85dd9e6c3dc3 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java @@ -34,6 +34,9 @@ private ReadRowsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -327,6 +330,9 @@ private CellChunk( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2108,7 +2114,7 @@ public CellChunk parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CellChunk(input, extensionRegistry); + return new CellChunk(input, extensionRegistry); } }; @@ -2856,7 +2862,7 @@ public ReadRowsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadRowsResponse(input, extensionRegistry); + return new ReadRowsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java index acf007311031..962494bac5b3 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java @@ -35,6 +35,9 @@ private Row( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -923,7 +926,7 @@ public Row parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Row(input, extensionRegistry); + return new Row(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java index abec9a5916a4..2b7137d195b9 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java @@ -59,6 +59,9 @@ private RowFilter( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -340,6 +343,9 @@ private Chain( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1163,7 +1169,7 @@ public Chain parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Chain(input, extensionRegistry); + return new Chain(input, extensionRegistry); } }; @@ -1371,6 +1377,9 @@ private Interleave( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2655,7 +2664,7 @@ public Interleave parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Interleave(input, extensionRegistry); + return new Interleave(input, extensionRegistry); } }; @@ -2799,6 +2808,9 @@ private Condition( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3880,7 +3892,7 @@ public Condition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Condition(input, extensionRegistry); + return new Condition(input, extensionRegistry); } }; @@ -7463,7 +7475,7 @@ public RowFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RowFilter(input, extensionRegistry); + return new RowFilter(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java index b7d94fafa71a..d242ae83d60c 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java @@ -32,6 +32,9 @@ private RowRange( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -873,7 +876,7 @@ public RowRange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RowRange(input, extensionRegistry); + return new RowRange(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java index b9f053098ec0..cbc0ef0c87ce 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java @@ -34,6 +34,9 @@ private RowSet( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -991,7 +994,7 @@ public RowSet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RowSet(input, extensionRegistry); + return new RowSet(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java index 4edbb7e3ae6d..955d647d46a7 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java @@ -34,6 +34,9 @@ private SampleRowKeysRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -704,7 +707,7 @@ public SampleRowKeysRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SampleRowKeysRequest(input, extensionRegistry); + return new SampleRowKeysRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java index 7477200ca710..bb6e4579c316 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java @@ -34,6 +34,9 @@ private SampleRowKeysResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -561,7 +564,7 @@ public SampleRowKeysResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SampleRowKeysResponse(input, extensionRegistry); + return new SampleRowKeysResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java index 9a3959c8381d..c553d6f6243b 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java @@ -34,6 +34,9 @@ private TimestampRange( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -523,7 +526,7 @@ public TimestampRange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TimestampRange(input, extensionRegistry); + return new TimestampRange(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java index 9ee037cc9b2d..c2bc1e73fe4e 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java @@ -32,6 +32,9 @@ private ValueRange( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -873,7 +876,7 @@ public ValueRange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ValueRange(input, extensionRegistry); + return new ValueRange(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java index 108b4d7ec8b0..550786956aa2 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java +++ b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java @@ -34,6 +34,9 @@ private AcceleratorConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -610,7 +613,7 @@ public AcceleratorConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AcceleratorConfig(input, extensionRegistry); + return new AcceleratorConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java index 0696f7d6f5d5..8301594fa211 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java +++ b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java @@ -33,6 +33,9 @@ private AddonsConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1351,7 +1354,7 @@ public AddonsConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AddonsConfig(input, extensionRegistry); + return new AddonsConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java index 7b38eafa1ae0..0a5b0c095b0a 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java +++ b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java @@ -35,6 +35,9 @@ private AutoUpgradeOptions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -706,7 +709,7 @@ public AutoUpgradeOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AutoUpgradeOptions(input, extensionRegistry); + return new AutoUpgradeOptions(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java index 4a681be022a1..ae5523da4a0b 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java +++ b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java @@ -35,6 +35,9 @@ private CancelOperationRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -852,7 +855,7 @@ public CancelOperationRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelOperationRequest(input, extensionRegistry); + return new CancelOperationRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java index 93cde82763ae..7814c6eda9e9 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java +++ b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java @@ -33,6 +33,9 @@ private ClientCertificateConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -448,7 +451,7 @@ public ClientCertificateConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ClientCertificateConfig(input, extensionRegistry); + return new ClientCertificateConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java index e5a763b1ceea..70988f04d37d 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java +++ b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java @@ -58,6 +58,9 @@ private Cluster( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; int mutable_bitField1_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = @@ -7313,7 +7316,7 @@ public Cluster parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Cluster(input, extensionRegistry); + return new Cluster(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java index 4df6650c2763..81671c0542bc 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java +++ b/google-api-grpc/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java @@ -342,7 +342,7 @@ public static void registerAllExtensions( "a\030\004 \003(\0132-.google.container.v1.NodeConfig" + ".MetadataEntry\022\022\n\nimage_type\030\005 \001(\t\022;\n\006la" + "bels\030\006 \003(\0132+.google.container.v1.NodeCon" + - "fig.LabelsEntry\022\027\n\017local_ssd_count\030\007 \001(\005", + "fig.LabelsEntry\022\027\n\017local_ssd_count\030\007 \001(\005" + "\022\014\n\004tags\030\010 \003(\t\022\023\n\013preemptible\030\n \001(\010\022<\n\014a" + "ccelerators\030\013 \003(\0132&.google.container.v1." + "AcceleratorConfig\022\030\n\020min_cpu_platform\030\r " + @@ -352,7 +352,7 @@ public static void registerAllExtensions( "ername\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\022O\n\031client" + "_certificate_config\030\003 \001(\0132,.google.conta" + "iner.v1.ClientCertificateConfig\022\036\n\026clust" + - "er_ca_certificate\030d \001(\t\022\032\n\022client_certif", + "er_ca_certificate\030d \001(\t\022\032\n\022client_certif" + "icate\030e \001(\t\022\022\n\nclient_key\030f \001(\t\";\n\027Clien" + "tCertificateConfig\022 \n\030issue_client_certi" + "ficate\030\001 \001(\010\"\267\002\n\014AddonsConfig\022C\n\023http_lo" + @@ -362,7 +362,7 @@ public static void registerAllExtensions( "izontalPodAutoscaling\022F\n\024kubernetes_dash" + "board\030\003 \001(\0132(.google.container.v1.Kubern" + "etesDashboard\022G\n\025network_policy_config\030\004" + - " \001(\0132(.google.container.v1.NetworkPolicy", + " \001(\0132(.google.container.v1.NetworkPolicy" + "Config\"%\n\021HttpLoadBalancing\022\020\n\010disabled\030" + "\001 \001(\010\",\n\030HorizontalPodAutoscaling\022\020\n\010dis" + "abled\030\001 \001(\010\"\'\n\023KubernetesDashboard\022\020\n\010di" + @@ -372,7 +372,7 @@ public static void registerAllExtensions( "\030\002 \003(\0132=.google.container.v1.MasterAutho" + "rizedNetworksConfig.CidrBlock\0325\n\tCidrBlo" + "ck\022\024\n\014display_name\030\001 \001(\t\022\022\n\ncidr_block\030\002" + - " \001(\t\"\035\n\nLegacyAbac\022\017\n\007enabled\030\001 \001(\010\"\221\001\n\r", + " \001(\t\"\035\n\nLegacyAbac\022\017\n\007enabled\030\001 \001(\010\"\221\001\n\r" + "NetworkPolicy\022=\n\010provider\030\001 \001(\0162+.google" + ".container.v1.NetworkPolicy.Provider\022\017\n\007" + "enabled\030\002 \001(\010\"0\n\010Provider\022\030\n\024PROVIDER_UN" + @@ -382,7 +382,7 @@ public static void registerAllExtensions( "(\t\022\031\n\021cluster_ipv4_cidr\030\004 \001(\t\022\026\n\016node_ip" + "v4_cidr\030\005 \001(\t\022\032\n\022services_ipv4_cidr\030\006 \001(" + "\t\022$\n\034cluster_secondary_range_name\030\007 \001(\t\022" + - "%\n\035services_secondary_range_name\030\010 \001(\t\022\037", + "%\n\035services_secondary_range_name\030\010 \001(\t\022\037" + "\n\027cluster_ipv4_cidr_block\030\t \001(\t\022\034\n\024node_" + "ipv4_cidr_block\030\n \001(\t\022 \n\030services_ipv4_c" + "idr_block\030\013 \001(\t\"\252\013\n\007Cluster\022\014\n\004name\030\001 \001(" + @@ -392,7 +392,7 @@ public static void registerAllExtensions( "\005 \001(\0132\037.google.container.v1.MasterAuth\022\027" + "\n\017logging_service\030\006 \001(\t\022\032\n\022monitoring_se" + "rvice\030\007 \001(\t\022\017\n\007network\030\010 \001(\t\022\031\n\021cluster_" + - "ipv4_cidr\030\t \001(\t\0228\n\raddons_config\030\n \001(\0132!", + "ipv4_cidr\030\t \001(\t\0228\n\raddons_config\030\n \001(\0132!" + ".google.container.v1.AddonsConfig\022\022\n\nsub" + "network\030\013 \001(\t\0221\n\nnode_pools\030\014 \003(\0132\035.goog" + "le.container.v1.NodePool\022\021\n\tlocations\030\r " + @@ -402,7 +402,7 @@ public static void registerAllExtensions( "_fingerprint\030\020 \001(\t\0224\n\013legacy_abac\030\022 \001(\0132" + "\037.google.container.v1.LegacyAbac\022:\n\016netw" + "ork_policy\030\023 \001(\0132\".google.container.v1.N" + - "etworkPolicy\022E\n\024ip_allocation_policy\030\024 \001", + "etworkPolicy\022E\n\024ip_allocation_policy\030\024 \001" + "(\0132\'.google.container.v1.IPAllocationPol" + "icy\022^\n!master_authorized_networks_config" + "\030\026 \001(\01323.google.container.v1.MasterAutho" + @@ -412,7 +412,7 @@ public static void registerAllExtensions( "\022\020\n\010endpoint\030f \001(\t\022\037\n\027initial_cluster_ve" + "rsion\030g \001(\t\022\036\n\026current_master_version\030h " + "\001(\t\022\034\n\024current_node_version\030i \001(\t\022\023\n\013cre" + - "ate_time\030j \001(\t\0223\n\006status\030k \001(\0162#.google.", + "ate_time\030j \001(\t\0223\n\006status\030k \001(\0162#.google." + "container.v1.Cluster.Status\022\026\n\016status_me" + "ssage\030l \001(\t\022\033\n\023node_ipv4_cidr_size\030m \001(\005" + "\022\032\n\022services_ipv4_cidr\030n \001(\t\022\033\n\023instance" + @@ -422,7 +422,7 @@ public static void registerAllExtensions( "\001\"i\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\020\n\014P" + "ROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILIN" + "G\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\"\301\003\n\rCluster" + - "Update\022\034\n\024desired_node_version\030\004 \001(\t\022\"\n\032", + "Update\022\034\n\024desired_node_version\030\004 \001(\t\022\"\n\032" + "desired_monitoring_service\030\005 \001(\t\022@\n\025desi" + "red_addons_config\030\006 \001(\0132!.google.contain" + "er.v1.AddonsConfig\022\034\n\024desired_node_pool_" + @@ -432,7 +432,7 @@ public static void registerAllExtensions( "\021desired_locations\030\n \003(\t\022f\n)desired_mast" + "er_authorized_networks_config\030\014 \001(\01323.go" + "ogle.container.v1.MasterAuthorizedNetwor" + - "ksConfig\022\036\n\026desired_master_version\030d \001(\t", + "ksConfig\022\036\n\026desired_master_version\030d \001(\t" + "\"\345\005\n\tOperation\022\014\n\004name\030\001 \001(\t\022\014\n\004zone\030\002 \001" + "(\t\022;\n\016operation_type\030\003 \001(\0162#.google.cont" + "ainer.v1.Operation.Type\0225\n\006status\030\004 \001(\0162" + @@ -442,7 +442,7 @@ public static void registerAllExtensions( "\n\nstart_time\030\n \001(\t\022\020\n\010end_time\030\013 \001(\t\"R\n\006" + "Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007PENDIN" + "G\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020\004" + - "\"\375\002\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016CREAT", + "\"\375\002\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016CREAT" + "E_CLUSTER\020\001\022\022\n\016DELETE_CLUSTER\020\002\022\022\n\016UPGRA" + "DE_MASTER\020\003\022\021\n\rUPGRADE_NODES\020\004\022\022\n\016REPAIR" + "_CLUSTER\020\005\022\022\n\016UPDATE_CLUSTER\020\006\022\024\n\020CREATE" + @@ -452,7 +452,7 @@ public static void registerAllExtensions( "ABELS\020\014\022\023\n\017SET_MASTER_AUTH\020\r\022\026\n\022SET_NODE" + "_POOL_SIZE\020\016\022\026\n\022SET_NETWORK_POLICY\020\017\022\032\n\026" + "SET_MAINTENANCE_POLICY\020\020\"g\n\024CreateCluste" + - "rRequest\022\022\n\nproject_id\030\001 \001(\t\022\014\n\004zone\030\002 \001", + "rRequest\022\022\n\nproject_id\030\001 \001(\t\022\014\n\004zone\030\002 \001" + "(\t\022-\n\007cluster\030\003 \001(\0132\034.google.container.v" + "1.Cluster\"I\n\021GetClusterRequest\022\022\n\nprojec" + "t_id\030\001 \001(\t\022\014\n\004zone\030\002 \001(\t\022\022\n\ncluster_id\030\003" + @@ -462,7 +462,7 @@ public static void registerAllExtensions( "1.ClusterUpdate\"\215\001\n\025UpdateNodePoolReques" + "t\022\022\n\nproject_id\030\001 \001(\t\022\014\n\004zone\030\002 \001(\t\022\022\n\nc" + "luster_id\030\003 \001(\t\022\024\n\014node_pool_id\030\004 \001(\t\022\024\n" + - "\014node_version\030\005 \001(\t\022\022\n\nimage_type\030\006 \001(\t\"", + "\014node_version\030\005 \001(\t\022\022\n\nimage_type\030\006 \001(\t\"" + "\252\001\n\035SetNodePoolAutoscalingRequest\022\022\n\npro" + "ject_id\030\001 \001(\t\022\014\n\004zone\030\002 \001(\t\022\022\n\ncluster_i" + "d\030\003 \001(\t\022\024\n\014node_pool_id\030\004 \001(\t\022=\n\013autosca" + @@ -472,7 +472,7 @@ public static void registerAllExtensions( "uster_id\030\003 \001(\t\022\027\n\017logging_service\030\004 \001(\t\"" + "o\n\033SetMonitoringServiceRequest\022\022\n\nprojec" + "t_id\030\001 \001(\t\022\014\n\004zone\030\002 \001(\t\022\022\n\ncluster_id\030\003" + - " \001(\t\022\032\n\022monitoring_service\030\004 \001(\t\"\210\001\n\026Set", + " \001(\t\022\032\n\022monitoring_service\030\004 \001(\t\"\210\001\n\026Set" + "AddonsConfigRequest\022\022\n\nproject_id\030\001 \001(\t\022" + "\014\n\004zone\030\002 \001(\t\022\022\n\ncluster_id\030\003 \001(\t\0228\n\radd" + "ons_config\030\004 \001(\0132!.google.container.v1.A" + @@ -482,7 +482,7 @@ public static void registerAllExtensions( "terRequest\022\022\n\nproject_id\030\001 \001(\t\022\014\n\004zone\030\002" + " \001(\t\022\022\n\ncluster_id\030\003 \001(\t\022\026\n\016master_versi" + "on\030\004 \001(\t\"\221\002\n\024SetMasterAuthRequest\022\022\n\npro" + - "ject_id\030\001 \001(\t\022\014\n\004zone\030\002 \001(\t\022\022\n\ncluster_i", + "ject_id\030\001 \001(\t\022\014\n\004zone\030\002 \001(\t\022\022\n\ncluster_i" + "d\030\003 \001(\t\022@\n\006action\030\004 \001(\01620.google.contain" + "er.v1.SetMasterAuthRequest.Action\022/\n\006upd" + "ate\030\005 \001(\0132\037.google.container.v1.MasterAu" + @@ -492,7 +492,7 @@ public static void registerAllExtensions( "id\030\001 \001(\t\022\014\n\004zone\030\002 \001(\t\022\022\n\ncluster_id\030\003 \001" + "(\t\"7\n\023ListClustersRequest\022\022\n\nproject_id\030" + "\001 \001(\t\022\014\n\004zone\030\002 \001(\t\"]\n\024ListClustersRespo" + - "nse\022.\n\010clusters\030\001 \003(\0132\034.google.container", + "nse\022.\n\010clusters\030\001 \003(\0132\034.google.container" + ".v1.Cluster\022\025\n\rmissing_zones\030\002 \003(\t\"M\n\023Ge" + "tOperationRequest\022\022\n\nproject_id\030\001 \001(\t\022\014\n" + "\004zone\030\002 \001(\t\022\024\n\014operation_id\030\003 \001(\t\"9\n\025Lis" + @@ -502,7 +502,7 @@ public static void registerAllExtensions( "ation_id\030\003 \001(\t\"c\n\026ListOperationsResponse" + "\0222\n\noperations\030\001 \003(\0132\036.google.container." + "v1.Operation\022\025\n\rmissing_zones\030\002 \003(\t\":\n\026G" + - "etServerConfigRequest\022\022\n\nproject_id\030\001 \001(", + "etServerConfigRequest\022\022\n\nproject_id\030\001 \001(" + "\t\022\014\n\004zone\030\002 \001(\t\"\242\001\n\014ServerConfig\022\037\n\027defa" + "ult_cluster_version\030\001 \001(\t\022\033\n\023valid_node_" + "versions\030\003 \003(\t\022\032\n\022default_image_type\030\004 \001" + @@ -512,7 +512,7 @@ public static void registerAllExtensions( "\022\n\ncluster_id\030\003 \001(\t\0220\n\tnode_pool\030\004 \001(\0132\035" + ".google.container.v1.NodePool\"c\n\025DeleteN" + "odePoolRequest\022\022\n\nproject_id\030\001 \001(\t\022\014\n\004zo" + - "ne\030\002 \001(\t\022\022\n\ncluster_id\030\003 \001(\t\022\024\n\014node_poo", + "ne\030\002 \001(\t\022\022\n\ncluster_id\030\003 \001(\t\022\024\n\014node_poo" + "l_id\030\004 \001(\t\"L\n\024ListNodePoolsRequest\022\022\n\npr" + "oject_id\030\001 \001(\t\022\014\n\004zone\030\002 \001(\t\022\022\n\ncluster_" + "id\030\003 \001(\t\"`\n\022GetNodePoolRequest\022\022\n\nprojec" + @@ -522,7 +522,7 @@ public static void registerAllExtensions( "ontainer.v1.NodeConfig\022\032\n\022initial_node_c" + "ount\030\003 \001(\005\022\021\n\tself_link\030d \001(\t\022\017\n\007version" + "\030e \001(\t\022\033\n\023instance_group_urls\030f \003(\t\0224\n\006s" + - "tatus\030g \001(\0162$.google.container.v1.NodePo", + "tatus\030g \001(\0162$.google.container.v1.NodePo" + "ol.Status\022\026\n\016status_message\030h \001(\t\022=\n\013aut" + "oscaling\030\004 \001(\0132(.google.container.v1.Nod" + "ePoolAutoscaling\0227\n\nmanagement\030\005 \001(\0132#.g" + @@ -532,7 +532,7 @@ public static void registerAllExtensions( "R\020\003\022\017\n\013RECONCILING\020\004\022\014\n\010STOPPING\020\005\022\t\n\005ER" + "ROR\020\006\"}\n\016NodeManagement\022\024\n\014auto_upgrade\030" + "\001 \001(\010\022\023\n\013auto_repair\030\002 \001(\010\022@\n\017upgrade_op" + - "tions\030\n \001(\0132\'.google.container.v1.AutoUp", + "tions\030\n \001(\0132\'.google.container.v1.AutoUp" + "gradeOptions\"J\n\022AutoUpgradeOptions\022\037\n\027au" + "to_upgrade_start_time\030\001 \001(\t\022\023\n\013descripti" + "on\030\002 \001(\t\"K\n\021MaintenancePolicy\0226\n\006window\030" + @@ -542,7 +542,7 @@ public static void registerAllExtensions( "v1.DailyMaintenanceWindowH\000B\010\n\006policy\">\n" + "\026DailyMaintenanceWindow\022\022\n\nstart_time\030\002 " + "\001(\t\022\020\n\010duration\030\003 \001(\t\"\243\001\n\034SetNodePoolMan" + - "agementRequest\022\022\n\nproject_id\030\001 \001(\t\022\014\n\004zo", + "agementRequest\022\022\n\nproject_id\030\001 \001(\t\022\014\n\004zo" + "ne\030\002 \001(\t\022\022\n\ncluster_id\030\003 \001(\t\022\024\n\014node_poo" + "l_id\030\004 \001(\t\0227\n\nmanagement\030\005 \001(\0132#.google." + "container.v1.NodeManagement\"x\n\026SetNodePo" + @@ -552,7 +552,7 @@ public static void registerAllExtensions( "kNodePoolUpgradeRequest\022\022\n\nproject_id\030\001 " + "\001(\t\022\014\n\004zone\030\002 \001(\t\022\022\n\ncluster_id\030\003 \001(\t\022\024\n" + "\014node_pool_id\030\004 \001(\t\"J\n\025ListNodePoolsResp" + - "onse\0221\n\nnode_pools\030\001 \003(\0132\035.google.contai", + "onse\0221\n\nnode_pools\030\001 \003(\0132\035.google.contai" + "ner.v1.NodePool\"V\n\023NodePoolAutoscaling\022\017" + "\n\007enabled\030\001 \001(\010\022\026\n\016min_node_count\030\002 \001(\005\022" + "\026\n\016max_node_count\030\003 \001(\005\"\356\001\n\020SetLabelsReq" + @@ -562,7 +562,7 @@ public static void registerAllExtensions( "st.ResourceLabelsEntry\022\031\n\021label_fingerpr" + "int\030\005 \001(\t\0325\n\023ResourceLabelsEntry\022\013\n\003key\030" + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"]\n\024SetLegacyAba" + - "cRequest\022\022\n\nproject_id\030\001 \001(\t\022\014\n\004zone\030\002 \001", + "cRequest\022\022\n\nproject_id\030\001 \001(\t\022\014\n\004zone\030\002 \001" + "(\t\022\022\n\ncluster_id\030\003 \001(\t\022\017\n\007enabled\030\004 \001(\010\"" + "N\n\026StartIPRotationRequest\022\022\n\nproject_id\030" + "\001 \001(\t\022\014\n\004zone\030\002 \001(\t\022\022\n\ncluster_id\030\003 \001(\t\"" + @@ -572,7 +572,7 @@ public static void registerAllExtensions( "ount\030\001 \001(\003\022\030\n\020accelerator_type\030\002 \001(\t\"\213\001\n" + "\027SetNetworkPolicyRequest\022\022\n\nproject_id\030\001" + " \001(\t\022\014\n\004zone\030\002 \001(\t\022\022\n\ncluster_id\030\003 \001(\t\022:" + - "\n\016network_policy\030\004 \001(\0132\".google.containe", + "\n\016network_policy\030\004 \001(\0132\".google.containe" + "r.v1.NetworkPolicy\"\227\001\n\033SetMaintenancePol" + "icyRequest\022\022\n\nproject_id\030\001 \001(\t\022\014\n\004zone\030\002" + " \001(\t\022\022\n\ncluster_id\030\003 \001(\t\022B\n\022maintenance_" + @@ -582,7 +582,7 @@ public static void registerAllExtensions( "ersRequest\032).google.container.v1.ListClu" + "stersResponse\"7\202\323\344\223\0021\022//v1/projects/{pro" + "ject_id}/zones/{zone}/clusters\022\230\001\n\nGetCl" + - "uster\022&.google.container.v1.GetClusterRe", + "uster\022&.google.container.v1.GetClusterRe" + "quest\032\034.google.container.v1.Cluster\"D\202\323\344" + "\223\002>\022*\"3/v1/projects/{project_id}/regio" + - "ns/{region}/clusters:\007cluster\022\263\001\n\rUpdate", + "ns/{region}/clusters:\007cluster\022\263\001\n\rUpdate" + "Cluster\022..google.cloud.dataproc.v1.Updat" + "eClusterRequest\032\035.google.longrunning.Ope" + "ration\"S\202\323\344\223\002M2B/v1/projects/{project_id" + @@ -252,7 +252,7 @@ public static void registerAllExtensions( "google.longrunning.Operation\"J\202\323\344\223\002D*B/v" + "1/projects/{project_id}/regions/{region}" + "/clusters/{cluster_name}\022\250\001\n\nGetCluster\022" + - "+.google.cloud.dataproc.v1.GetClusterReq", + "+.google.cloud.dataproc.v1.GetClusterReq" + "uest\032!.google.cloud.dataproc.v1.Cluster\"" + "J\202\323\344\223\002D\022B/v1/projects/{project_id}/regio" + "ns/{region}/clusters/{cluster_name}\022\252\001\n\014" + @@ -262,7 +262,7 @@ public static void registerAllExtensions( "/projects/{project_id}/regions/{region}/" + "clusters\022\272\001\n\017DiagnoseCluster\0220.google.cl" + "oud.dataproc.v1.DiagnoseClusterRequest\032\035" + - ".google.longrunning.Operation\"V\202\323\344\223\002P\"K/", + ".google.longrunning.Operation\"V\202\323\344\223\002P\"K/" + "v1/projects/{project_id}/regions/{region" + "}/clusters/{cluster_name}:diagnose:\001*Bq\n" + "\034com.google.cloud.dataproc.v1B\rClustersP" + diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java index e3c573770678..7af8f5426aee 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java @@ -34,6 +34,9 @@ private CreateClusterRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -919,7 +922,7 @@ public CreateClusterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateClusterRequest(input, extensionRegistry); + return new CreateClusterRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java index 9f7a0f19681c..0cf67414e0b3 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java @@ -35,6 +35,9 @@ private DeleteClusterRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -845,7 +848,7 @@ public DeleteClusterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteClusterRequest(input, extensionRegistry); + return new DeleteClusterRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequest.java index ebbbaf2b8eef..3488014f4c83 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequest.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteJobRequest.java @@ -35,6 +35,9 @@ private DeleteJobRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -845,7 +848,7 @@ public DeleteJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteJobRequest(input, extensionRegistry); + return new DeleteJobRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequest.java index ee3f6886fc6a..653638222dff 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequest.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterRequest.java @@ -35,6 +35,9 @@ private DiagnoseClusterRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -845,7 +848,7 @@ public DiagnoseClusterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DiagnoseClusterRequest(input, extensionRegistry); + return new DiagnoseClusterRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java index d967ff50f1e2..c381f2f9e69c 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java @@ -33,6 +33,9 @@ private DiagnoseClusterResults( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public DiagnoseClusterResults parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DiagnoseClusterResults(input, extensionRegistry); + return new DiagnoseClusterResults(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java index 80b5f04706e9..478dee335724 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java @@ -34,6 +34,9 @@ private DiskConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -541,7 +544,7 @@ public DiskConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DiskConfig(input, extensionRegistry); + return new DiskConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java index a9b1697f3818..e0b87a90b6f1 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java @@ -40,6 +40,9 @@ private GceClusterConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2205,7 +2208,7 @@ public GceClusterConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GceClusterConfig(input, extensionRegistry); + return new GceClusterConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequest.java index 5f4787d73906..bb00dc6eece1 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequest.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetClusterRequest.java @@ -35,6 +35,9 @@ private GetClusterRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -845,7 +848,7 @@ public GetClusterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetClusterRequest(input, extensionRegistry); + return new GetClusterRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequest.java index 6556ffc9af10..a32fb7787c9e 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequest.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetJobRequest.java @@ -35,6 +35,9 @@ private GetJobRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -845,7 +848,7 @@ public GetJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetJobRequest(input, extensionRegistry); + return new GetJobRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java index 94a0886b9441..aaf3d9857362 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java @@ -38,6 +38,9 @@ private HadoopJob( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2419,7 +2422,7 @@ public HadoopJob parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new HadoopJob(input, extensionRegistry); + return new HadoopJob(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java index 47e3940fc6bf..3791e75fd3dc 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java @@ -35,6 +35,9 @@ private HiveJob( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1862,7 +1865,7 @@ public HiveJob parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new HiveJob(input, extensionRegistry); + return new HiveJob(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java index 5c9744e37630..790659fffe33 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java @@ -39,6 +39,9 @@ private InstanceGroupConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2112,7 +2115,7 @@ public InstanceGroupConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceGroupConfig(input, extensionRegistry); + return new InstanceGroupConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Job.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Job.java index c77b2411b636..24df869b2b0b 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Job.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Job.java @@ -36,6 +36,9 @@ private Job( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4564,7 +4567,7 @@ public Job parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Job(input, extensionRegistry); + return new Job(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacement.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacement.java index e23ae7f6c80e..ee3d8d13e2bc 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacement.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobPlacement.java @@ -34,6 +34,9 @@ private JobPlacement( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -690,7 +693,7 @@ public JobPlacement parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new JobPlacement(input, extensionRegistry); + return new JobPlacement(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReference.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReference.java index f9716aa54dc9..5568f0bb187b 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReference.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobReference.java @@ -34,6 +34,9 @@ private JobReference( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -718,7 +721,7 @@ public JobReference parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new JobReference(input, extensionRegistry); + return new JobReference(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobScheduling.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobScheduling.java index dffe47ed6fb8..68f23eb3eca1 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobScheduling.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobScheduling.java @@ -35,6 +35,9 @@ private JobScheduling( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -471,7 +474,7 @@ public JobScheduling parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new JobScheduling(input, extensionRegistry); + return new JobScheduling(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatus.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatus.java index 8708aa31f1e5..a65031df8761 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatus.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobStatus.java @@ -35,6 +35,9 @@ private JobStatus( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1409,7 +1412,7 @@ public JobStatus parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new JobStatus(input, extensionRegistry); + return new JobStatus(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java index 1e3b460a92c9..13e14855d5ed 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java @@ -192,7 +192,7 @@ public static void registerAllExtensions( "gle.cloud.dataproc.v1.LoggingConfig.Driv" + "erLogLevelsEntry\032e\n\024DriverLogLevelsEntry" + "\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0162-.google.cl" + - "oud.dataproc.v1.LoggingConfig.Level:\0028\001\"", + "oud.dataproc.v1.LoggingConfig.Level:\0028\001\"" + "p\n\005Level\022\025\n\021LEVEL_UNSPECIFIED\020\000\022\007\n\003ALL\020\001" + "\022\t\n\005TRACE\020\002\022\t\n\005DEBUG\020\003\022\010\n\004INFO\020\004\022\010\n\004WARN" + "\020\005\022\t\n\005ERROR\020\006\022\t\n\005FATAL\020\007\022\007\n\003OFF\020\010\"\323\002\n\tHa" + @@ -202,7 +202,7 @@ public static void registerAllExtensions( "chive_uris\030\006 \003(\t\022G\n\nproperties\030\007 \003(\01323.g" + "oogle.cloud.dataproc.v1.HadoopJob.Proper" + "tiesEntry\022?\n\016logging_config\030\010 \001(\0132\'.goog" + - "le.cloud.dataproc.v1.LoggingConfig\0321\n\017Pr", + "le.cloud.dataproc.v1.LoggingConfig\0321\n\017Pr" + "opertiesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + "\t:\0028\001B\010\n\006driver\"\321\002\n\010SparkJob\022\033\n\021main_jar" + "_file_uri\030\001 \001(\tH\000\022\024\n\nmain_class\030\002 \001(\tH\000\022" + @@ -212,7 +212,7 @@ public static void registerAllExtensions( "c.v1.SparkJob.PropertiesEntry\022?\n\016logging" + "_config\030\010 \001(\0132\'.google.cloud.dataproc.v1" + ".LoggingConfig\0321\n\017PropertiesEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\010\n\006driver\"\320\002\n\n", + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\010\n\006driver\"\320\002\n\n" + "PySparkJob\022\034\n\024main_python_file_uri\030\001 \001(\t" + "\022\014\n\004args\030\002 \003(\t\022\030\n\020python_file_uris\030\003 \003(\t" + "\022\025\n\rjar_file_uris\030\004 \003(\t\022\021\n\tfile_uris\030\005 \003" + @@ -222,7 +222,7 @@ public static void registerAllExtensions( "(\0132\'.google.cloud.dataproc.v1.LoggingCon" + "fig\0321\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + "alue\030\002 \001(\t:\0028\001\"\034\n\tQueryList\022\017\n\007queries\030\001" + - " \003(\t\"\241\003\n\007HiveJob\022\030\n\016query_file_uri\030\001 \001(\t", + " \003(\t\"\241\003\n\007HiveJob\022\030\n\016query_file_uri\030\001 \001(\t" + "H\000\0229\n\nquery_list\030\002 \001(\0132#.google.cloud.da" + "taproc.v1.QueryListH\000\022\033\n\023continue_on_fai" + "lure\030\003 \001(\010\022P\n\020script_variables\030\004 \003(\01326.g" + @@ -232,7 +232,7 @@ public static void registerAllExtensions( "try\022\025\n\rjar_file_uris\030\006 \003(\t\0326\n\024ScriptVari" + "ablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + "8\001\0321\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + - "lue\030\002 \001(\t:\0028\001B\t\n\007queries\"\321\003\n\013SparkSqlJob", + "lue\030\002 \001(\t:\0028\001B\t\n\007queries\"\321\003\n\013SparkSqlJob" + "\022\030\n\016query_file_uri\030\001 \001(\tH\000\0229\n\nquery_list" + "\030\002 \001(\0132#.google.cloud.dataproc.v1.QueryL" + "istH\000\022T\n\020script_variables\030\003 \003(\0132:.google" + @@ -242,7 +242,7 @@ public static void registerAllExtensions( "sEntry\022\025\n\rjar_file_uris\0308 \003(\t\022?\n\016logging" + "_config\030\006 \001(\0132\'.google.cloud.dataproc.v1" + ".LoggingConfig\0326\n\024ScriptVariablesEntry\022\013" + - "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0321\n\017Proper", + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0321\n\017Proper" + "tiesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + "\001B\t\n\007queries\"\337\003\n\006PigJob\022\030\n\016query_file_ur" + "i\030\001 \001(\tH\000\0229\n\nquery_list\030\002 \001(\0132#.google.c" + @@ -252,7 +252,7 @@ public static void registerAllExtensions( "riptVariablesEntry\022D\n\nproperties\030\005 \003(\01320" + ".google.cloud.dataproc.v1.PigJob.Propert" + "iesEntry\022\025\n\rjar_file_uris\030\006 \003(\t\022?\n\016loggi" + - "ng_config\030\007 \001(\0132\'.google.cloud.dataproc.", + "ng_config\030\007 \001(\0132\'.google.cloud.dataproc." + "v1.LoggingConfig\0326\n\024ScriptVariablesEntry" + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0321\n\017Prop" + "ertiesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + @@ -262,7 +262,7 @@ public static void registerAllExtensions( "ataproc.v1.JobStatus.State\022\017\n\007details\030\002 " + "\001(\t\0224\n\020state_start_time\030\006 \001(\0132\032.google.p" + "rotobuf.Timestamp\022>\n\010substate\030\007 \001(\0162,.go" + - "ogle.cloud.dataproc.v1.JobStatus.Substat", + "ogle.cloud.dataproc.v1.JobStatus.Substat" + "e\"\251\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PE" + "NDING\020\001\022\016\n\nSETUP_DONE\020\010\022\013\n\007RUNNING\020\002\022\022\n\016" + "CANCEL_PENDING\020\003\022\022\n\016CANCEL_STARTED\020\007\022\r\n\t" + @@ -272,7 +272,7 @@ public static void registerAllExtensions( "TATUS\020\003\"2\n\014JobReference\022\022\n\nproject_id\030\001 " + "\001(\t\022\016\n\006job_id\030\002 \001(\t\"\221\002\n\017YarnApplication\022" + "\014\n\004name\030\001 \001(\t\022>\n\005state\030\002 \001(\0162/.google.cl" + - "oud.dataproc.v1.YarnApplication.State\022\020\n", + "oud.dataproc.v1.YarnApplication.State\022\020\n" + "\010progress\030\003 \001(\002\022\024\n\014tracking_url\030\004 \001(\t\"\207\001" + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\007\n\003NEW\020\001\022" + "\016\n\nNEW_SAVING\020\002\022\r\n\tSUBMITTED\020\003\022\014\n\010ACCEPT" + @@ -282,7 +282,7 @@ public static void registerAllExtensions( "ce\0229\n\tplacement\030\002 \001(\0132&.google.cloud.dat" + "aproc.v1.JobPlacement\0229\n\nhadoop_job\030\003 \001(" + "\0132#.google.cloud.dataproc.v1.HadoopJobH\000" + - "\0227\n\tspark_job\030\004 \001(\0132\".google.cloud.datap", + "\0227\n\tspark_job\030\004 \001(\0132\".google.cloud.datap" + "roc.v1.SparkJobH\000\022;\n\013pyspark_job\030\005 \001(\0132$" + ".google.cloud.dataproc.v1.PySparkJobH\000\0225" + "\n\010hive_job\030\006 \001(\0132!.google.cloud.dataproc" + @@ -292,7 +292,7 @@ public static void registerAllExtensions( "rkSqlJobH\000\0223\n\006status\030\010 \001(\0132#.google.clou" + "d.dataproc.v1.JobStatus\022;\n\016status_histor" + "y\030\r \003(\0132#.google.cloud.dataproc.v1.JobSt" + - "atus\022D\n\021yarn_applications\030\t \003(\0132).google", + "atus\022D\n\021yarn_applications\030\t \003(\0132).google" + ".cloud.dataproc.v1.YarnApplication\022\"\n\032dr" + "iver_output_resource_uri\030\021 \001(\t\022 \n\030driver" + "_control_files_uri\030\017 \001(\t\0229\n\006labels\030\022 \003(\013" + @@ -302,7 +302,7 @@ public static void registerAllExtensions( "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\n\n\010type_" + "job\".\n\rJobScheduling\022\035\n\025max_failures_per" + "_hour\030\001 \001(\005\"b\n\020SubmitJobRequest\022\022\n\nproje" + - "ct_id\030\001 \001(\t\022\016\n\006region\030\003 \001(\t\022*\n\003job\030\002 \001(\013", + "ct_id\030\001 \001(\t\022\016\n\006region\030\003 \001(\t\022*\n\003job\030\002 \001(\013" + "2\035.google.cloud.dataproc.v1.Job\"C\n\rGetJo" + "bRequest\022\022\n\nproject_id\030\001 \001(\t\022\016\n\006region\030\003" + " \001(\t\022\016\n\006job_id\030\002 \001(\t\"\220\002\n\017ListJobsRequest" + @@ -312,7 +312,7 @@ public static void registerAllExtensions( " \001(\01629.google.cloud.dataproc.v1.ListJobs" + "Request.JobStateMatcher\022\016\n\006filter\030\007 \001(\t\"" + "6\n\017JobStateMatcher\022\007\n\003ALL\020\000\022\n\n\006ACTIVE\020\001\022" + - "\016\n\nNON_ACTIVE\020\002\"\243\001\n\020UpdateJobRequest\022\022\n\n", + "\016\n\nNON_ACTIVE\020\002\"\243\001\n\020UpdateJobRequest\022\022\n\n" + "project_id\030\001 \001(\t\022\016\n\006region\030\002 \001(\t\022\016\n\006job_" + "id\030\003 \001(\t\022*\n\003job\030\004 \001(\0132\035.google.cloud.dat" + "aproc.v1.Job\022/\n\013update_mask\030\005 \001(\0132\032.goog" + @@ -322,7 +322,7 @@ public static void registerAllExtensions( "lJobRequest\022\022\n\nproject_id\030\001 \001(\t\022\016\n\006regio" + "n\030\003 \001(\t\022\016\n\006job_id\030\002 \001(\t\"F\n\020DeleteJobRequ" + "est\022\022\n\nproject_id\030\001 \001(\t\022\016\n\006region\030\003 \001(\t\022" + - "\016\n\006job_id\030\002 \001(\t2\266\007\n\rJobController\022\231\001\n\tSu", + "\016\n\006job_id\030\002 \001(\t2\266\007\n\rJobController\022\231\001\n\tSu" + "bmitJob\022*.google.cloud.dataproc.v1.Submi" + "tJobRequest\032\035.google.cloud.dataproc.v1.J" + "ob\"A\202\323\344\223\002;\"6/v1/projects/{project_id}/re" + @@ -332,7 +332,7 @@ public static void registerAllExtensions( "\0228/v1/projects/{project_id}/regions/{reg" + "ion}/jobs/{job_id}\022\232\001\n\010ListJobs\022).google" + ".cloud.dataproc.v1.ListJobsRequest\032*.goo" + - "gle.cloud.dataproc.v1.ListJobsResponse\"7", + "gle.cloud.dataproc.v1.ListJobsResponse\"7" + "\202\323\344\223\0021\022//v1/projects/{project_id}/region" + "s/{region}/jobs\022\235\001\n\tUpdateJob\022*.google.c" + "loud.dataproc.v1.UpdateJobRequest\032\035.goog" + @@ -342,7 +342,7 @@ public static void registerAllExtensions( "loud.dataproc.v1.CancelJobRequest\032\035.goog" + "le.cloud.dataproc.v1.Job\"J\202\323\344\223\002D\"?/v1/pr" + "ojects/{project_id}/regions/{region}/job" + - "s/{job_id}:cancel:\001*\022\221\001\n\tDeleteJob\022*.goo", + "s/{job_id}:cancel:\001*\022\221\001\n\tDeleteJob\022*.goo" + "gle.cloud.dataproc.v1.DeleteJobRequest\032\026" + ".google.protobuf.Empty\"@\202\323\344\223\002:*8/v1/proj" + "ects/{project_id}/regions/{region}/jobs/" + diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequest.java index 2d2534ec4ec2..1ce1d695ef4e 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequest.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersRequest.java @@ -37,6 +37,9 @@ private ListClustersRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1172,7 +1175,7 @@ public ListClustersRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListClustersRequest(input, extensionRegistry); + return new ListClustersRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponse.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponse.java index adb81340fec9..c58ab305527c 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponse.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListClustersResponse.java @@ -34,6 +34,9 @@ private ListClustersResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListClustersResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListClustersResponse(input, extensionRegistry); + return new ListClustersResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequest.java index a1efdd26f503..add0a7d48813 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequest.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsRequest.java @@ -39,6 +39,9 @@ private ListJobsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1568,7 +1571,7 @@ public ListJobsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsRequest(input, extensionRegistry); + return new ListJobsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponse.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponse.java index 270eb220e684..6a16e53d315f 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponse.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ListJobsResponse.java @@ -34,6 +34,9 @@ private ListJobsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListJobsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsResponse(input, extensionRegistry); + return new ListJobsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LoggingConfig.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LoggingConfig.java index 84c59fa04cb6..ec9087c977a1 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LoggingConfig.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LoggingConfig.java @@ -32,6 +32,9 @@ private LoggingConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1153,7 +1156,7 @@ public LoggingConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LoggingConfig(input, extensionRegistry); + return new LoggingConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfig.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfig.java index b67328620d9f..65130ea2d335 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfig.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ManagedGroupConfig.java @@ -34,6 +34,9 @@ private ManagedGroupConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -690,7 +693,7 @@ public ManagedGroupConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ManagedGroupConfig(input, extensionRegistry); + return new ManagedGroupConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationAction.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationAction.java index b1c1ab6d8b17..cf4b8feb1787 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationAction.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeInitializationAction.java @@ -34,6 +34,9 @@ private NodeInitializationAction( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -795,7 +798,7 @@ public NodeInitializationAction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeInitializationAction(input, extensionRegistry); + return new NodeInitializationAction(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java index 8559b588882a..1b5700bc2f71 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java @@ -47,7 +47,7 @@ public static void registerAllExtensions( "26.google.cloud.dataproc.v1.ClusterOpera" + "tionStatus.State\022\023\n\013inner_state\030\002 \001(\t\022\017\n" + "\007details\030\003 \001(\t\0224\n\020state_start_time\030\004 \001(\013" + - "2\032.google.protobuf.Timestamp\"8\n\005State\022\013\n", + "2\032.google.protobuf.Timestamp\"8\n\005State\022\013\n" + "\007UNKNOWN\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n\004" + "DONE\020\003\"\220\003\n\030ClusterOperationMetadata\022\024\n\014c" + "luster_name\030\007 \001(\t\022\024\n\014cluster_uuid\030\010 \001(\t\022" + @@ -57,7 +57,7 @@ public static void registerAllExtensions( "sterOperationStatus\022\026\n\016operation_type\030\013 " + "\001(\t\022\023\n\013description\030\014 \001(\t\022N\n\006labels\030\r \003(\013" + "2>.google.cloud.dataproc.v1.ClusterOpera" + - "tionMetadata.LabelsEntry\022\020\n\010warnings\030\016 \003", + "tionMetadata.LabelsEntry\022\020\n\010warnings\030\016 \003" + "(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + "\002 \001(\t:\0028\001Bs\n\034com.google.cloud.dataproc.v" + "1B\017OperationsProtoP\001Z@google.golang.org/" + diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java index 2e8c8ae6460b..83203cc6189e 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java @@ -35,6 +35,9 @@ private PigJob( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2078,7 +2081,7 @@ public PigJob parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PigJob(input, extensionRegistry); + return new PigJob(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJob.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJob.java index 294970ca8a09..959ffec2cd15 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJob.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PySparkJob.java @@ -40,6 +40,9 @@ private PySparkJob( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2310,7 +2313,7 @@ public PySparkJob parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PySparkJob(input, extensionRegistry); + return new PySparkJob(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryList.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryList.java index ebe9e3d13ca9..d03e4d429d22 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryList.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/QueryList.java @@ -33,6 +33,9 @@ private QueryList( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -753,7 +756,7 @@ public QueryList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryList(input, extensionRegistry); + return new QueryList(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfig.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfig.java index 8300a825f392..88ab48b8c25e 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfig.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SoftwareConfig.java @@ -33,6 +33,9 @@ private SoftwareConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1017,7 +1020,7 @@ public SoftwareConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SoftwareConfig(input, extensionRegistry); + return new SoftwareConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java index 998356dc282c..97098af3548e 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java @@ -37,6 +37,9 @@ private SparkJob( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2363,7 +2366,7 @@ public SparkJob parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SparkJob(input, extensionRegistry); + return new SparkJob(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java index 5b484ef1ebe2..22f5249bd8ff 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java @@ -34,6 +34,9 @@ private SparkSqlJob( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1971,7 +1974,7 @@ public SparkSqlJob parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SparkSqlJob(input, extensionRegistry); + return new SparkSqlJob(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequest.java index 3314ff07fc49..69f915d514bb 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequest.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SubmitJobRequest.java @@ -34,6 +34,9 @@ private SubmitJobRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -919,7 +922,7 @@ public SubmitJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SubmitJobRequest(input, extensionRegistry); + return new SubmitJobRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequest.java index fb996d8e0463..41b6586fa176 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequest.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateClusterRequest.java @@ -35,6 +35,9 @@ private UpdateClusterRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1819,7 +1822,7 @@ public UpdateClusterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateClusterRequest(input, extensionRegistry); + return new UpdateClusterRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequest.java index 400c93dae0ec..37afd2d409a9 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequest.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/UpdateJobRequest.java @@ -35,6 +35,9 @@ private UpdateJobRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1363,7 +1366,7 @@ public UpdateJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateJobRequest(input, extensionRegistry); + return new UpdateJobRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplication.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplication.java index 247b7752bbf1..b03e9798a41e 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplication.java +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/YarnApplication.java @@ -39,6 +39,9 @@ private YarnApplication( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1136,7 +1139,7 @@ public YarnApplication parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new YarnApplication(input, extensionRegistry); + return new YarnApplication(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequest.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequest.java index aebc798e7c23..400846c83530 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequest.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequest.java @@ -34,6 +34,9 @@ private AllocateIdsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -991,7 +994,7 @@ public AllocateIdsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AllocateIdsRequest(input, extensionRegistry); + return new AllocateIdsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java index 3844547c3756..ee62ee5fec98 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java @@ -33,6 +33,9 @@ private AllocateIdsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -833,7 +836,7 @@ public AllocateIdsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AllocateIdsResponse(input, extensionRegistry); + return new AllocateIdsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java index ad0cb62648e6..fe6b290e9322 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java @@ -33,6 +33,9 @@ private ArrayValue( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -856,7 +859,7 @@ public ArrayValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ArrayValue(input, extensionRegistry); + return new ArrayValue(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java index e977c4250e83..2fdd90689108 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java @@ -33,6 +33,9 @@ private BeginTransactionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -757,7 +760,7 @@ public BeginTransactionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BeginTransactionRequest(input, extensionRegistry); + return new BeginTransactionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java index a511859f4210..0bb48d6a6899 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java @@ -33,6 +33,9 @@ private BeginTransactionResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -450,7 +453,7 @@ public BeginTransactionResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BeginTransactionResponse(input, extensionRegistry); + return new BeginTransactionResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java index 3040ae1e25ab..ffae15d56af6 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java @@ -35,6 +35,9 @@ private CommitRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1590,7 +1593,7 @@ public CommitRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitRequest(input, extensionRegistry); + return new CommitRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java index ff72b2e89499..05ae3dda3d70 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java @@ -34,6 +34,9 @@ private CommitResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -914,7 +917,7 @@ public CommitResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitResponse(input, extensionRegistry); + return new CommitResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java index 20ab2f6c13fe..acb487899c4d 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java @@ -34,6 +34,9 @@ private CompositeFilter( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1065,7 +1068,7 @@ public CompositeFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CompositeFilter(input, extensionRegistry); + return new CompositeFilter(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java index c4079ab19db1..0ef9ef973d45 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java @@ -132,7 +132,7 @@ public static void registerAllExtensions( "adOptions\022&\n\004keys\030\003 \003(\0132\030.google.datasto" + "re.v1.Key\"\242\001\n\016LookupResponse\0220\n\005found\030\001 " + "\003(\0132!.google.datastore.v1.EntityResult\0222" + - "\n\007missing\030\002 \003(\0132!.google.datastore.v1.En", + "\n\007missing\030\002 \003(\0132!.google.datastore.v1.En" + "tityResult\022*\n\010deferred\030\003 \003(\0132\030.google.da" + "tastore.v1.Key\"\204\002\n\017RunQueryRequest\022\022\n\npr" + "oject_id\030\010 \001(\t\0226\n\014partition_id\030\002 \001(\0132 .g" + @@ -142,7 +142,7 @@ public static void registerAllExtensions( ".v1.QueryH\000\0222\n\tgql_query\030\007 \001(\0132\035.google." + "datastore.v1.GqlQueryH\000B\014\n\nquery_type\"s\n" + "\020RunQueryResponse\0224\n\005batch\030\001 \001(\0132%.googl" + - "e.datastore.v1.QueryResultBatch\022)\n\005query", + "e.datastore.v1.QueryResultBatch\022)\n\005query" + "\030\002 \001(\0132\032.google.datastore.v1.Query\"s\n\027Be" + "ginTransactionRequest\022\022\n\nproject_id\030\010 \001(" + "\t\022D\n\023transaction_options\030\n \001(\0132\'.google." + @@ -152,7 +152,7 @@ public static void registerAllExtensions( "\023\n\013transaction\030\001 \001(\014\"\022\n\020RollbackResponse" + "\"\203\002\n\rCommitRequest\022\022\n\nproject_id\030\010 \001(\t\0225" + "\n\004mode\030\005 \001(\0162\'.google.datastore.v1.Commi" + - "tRequest.Mode\022\025\n\013transaction\030\001 \001(\014H\000\0220\n\t", + "tRequest.Mode\022\025\n\013transaction\030\001 \001(\014H\000\0220\n\t" + "mutations\030\006 \003(\0132\035.google.datastore.v1.Mu" + "tation\"F\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\021\n\r" + "TRANSACTIONAL\020\001\022\025\n\021NON_TRANSACTIONAL\020\002B\026" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "\030\004 \001(\005\"P\n\022AllocateIdsRequest\022\022\n\nproject_" + "id\030\010 \001(\t\022&\n\004keys\030\001 \003(\0132\030.google.datastor" + "e.v1.Key\"=\n\023AllocateIdsResponse\022&\n\004keys\030" + - "\001 \003(\0132\030.google.datastore.v1.Key\"d\n\021Reser", + "\001 \003(\0132\030.google.datastore.v1.Key\"d\n\021Reser" + "veIdsRequest\022\022\n\nproject_id\030\010 \001(\t\022\023\n\013data" + "base_id\030\t \001(\t\022&\n\004keys\030\001 \003(\0132\030.google.dat" + "astore.v1.Key\"\024\n\022ReserveIdsResponse\"\207\002\n\010" + @@ -172,7 +172,7 @@ public static void registerAllExtensions( ".google.datastore.v1.EntityH\000\022*\n\006delete\030" + "\007 \001(\0132\030.google.datastore.v1.KeyH\000\022\026\n\014bas" + "e_version\030\010 \001(\003H\001B\013\n\toperationB\035\n\033confli" + - "ct_detection_strategy\"c\n\016MutationResult\022", + "ct_detection_strategy\"c\n\016MutationResult\022" + "%\n\003key\030\003 \001(\0132\030.google.datastore.v1.Key\022\017" + "\n\007version\030\004 \001(\003\022\031\n\021conflict_detected\030\005 \001" + "(\010\"\325\001\n\013ReadOptions\022L\n\020read_consistency\030\001" + @@ -182,7 +182,7 @@ public static void registerAllExtensions( "NSPECIFIED\020\000\022\n\n\006STRONG\020\001\022\014\n\010EVENTUAL\020\002B\022" + "\n\020consistency_type\"\343\001\n\022TransactionOption" + "s\022G\n\nread_write\030\001 \001(\01321.google.datastore" + - ".v1.TransactionOptions.ReadWriteH\000\022E\n\tre", + ".v1.TransactionOptions.ReadWriteH\000\022E\n\tre" + "ad_only\030\002 \001(\01320.google.datastore.v1.Tran" + "sactionOptions.ReadOnlyH\000\032)\n\tReadWrite\022\034" + "\n\024previous_transaction\030\001 \001(\014\032\n\n\010ReadOnly" + @@ -192,7 +192,7 @@ public static void registerAllExtensions( "rojects/{project_id}:lookup:\001*\022\206\001\n\010RunQu" + "ery\022$.google.datastore.v1.RunQueryReques" + "t\032%.google.datastore.v1.RunQueryResponse" + - "\"-\202\323\344\223\002\'\"\"/v1/projects/{project_id}:runQ", + "\"-\202\323\344\223\002\'\"\"/v1/projects/{project_id}:runQ" + "uery:\001*\022\246\001\n\020BeginTransaction\022,.google.da" + "tastore.v1.BeginTransactionRequest\032-.goo" + "gle.datastore.v1.BeginTransactionRespons" + @@ -202,7 +202,7 @@ public static void registerAllExtensions( "e.v1.CommitResponse\"+\202\323\344\223\002%\" /v1/project" + "s/{project_id}:commit:\001*\022\206\001\n\010Rollback\022$." + "google.datastore.v1.RollbackRequest\032%.go" + - "ogle.datastore.v1.RollbackResponse\"-\202\323\344\223", + "ogle.datastore.v1.RollbackResponse\"-\202\323\344\223" + "\002\'\"\"/v1/projects/{project_id}:rollback:\001" + "*\022\222\001\n\013AllocateIds\022\'.google.datastore.v1." + "AllocateIdsRequest\032(.google.datastore.v1" + @@ -212,7 +212,7 @@ public static void registerAllExtensions( "quest\032\'.google.datastore.v1.ReserveIdsRe" + "sponse\"/\202\323\344\223\002)\"$/v1/projects/{project_id" + "}:reserveIds:\001*B\241\001\n\027com.google.datastore" + - ".v1B\016DatastoreProtoP\001Z\n\017p" + - "roperty_filter\030\002 \001(\0132#.google.datastore.", + "roperty_filter\030\002 \001(\0132#.google.datastore." + "v1.PropertyFilterH\000B\r\n\013filter_type\"\251\001\n\017C" + "ompositeFilter\0229\n\002op\030\001 \001(\0162-.google.data" + "store.v1.CompositeFilter.Operator\022,\n\007fil" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "\001(\0132&.google.datastore.v1.PropertyRefere" + "nce\0228\n\002op\030\002 \001(\0162,.google.datastore.v1.Pr" + "opertyFilter.Operator\022)\n\005value\030\003 \001(\0132\032.g" + - "oogle.datastore.v1.Value\"\225\001\n\010Operator\022\030\n", + "oogle.datastore.v1.Value\"\225\001\n\010Operator\022\030\n" + "\024OPERATOR_UNSPECIFIED\020\000\022\r\n\tLESS_THAN\020\001\022\026" + "\n\022LESS_THAN_OR_EQUAL\020\002\022\020\n\014GREATER_THAN\020\003" + "\022\031\n\025GREATER_THAN_OR_EQUAL\020\004\022\t\n\005EQUAL\020\005\022\020" + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "1.GqlQuery.NamedBindingsEntry\022C\n\023positio" + "nal_bindings\030\004 \003(\0132&.google.datastore.v1" + ".GqlQueryParameter\032\\\n\022NamedBindingsEntry" + - "\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.google.da", + "\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.google.da" + "tastore.v1.GqlQueryParameter:\0028\001\"d\n\021GqlQ" + "ueryParameter\022+\n\005value\030\002 \001(\0132\032.google.da" + "tastore.v1.ValueH\000\022\020\n\006cursor\030\003 \001(\014H\000B\020\n\016" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "e.datastore.v1.EntityResult.ResultType\0229" + "\n\016entity_results\030\002 \003(\0132!.google.datastor" + "e.v1.EntityResult\022\022\n\nend_cursor\030\004 \001(\014\022K\n" + - "\014more_results\030\005 \001(\01625.google.datastore.v", + "\014more_results\030\005 \001(\01625.google.datastore.v" + "1.QueryResultBatch.MoreResultsType\022\030\n\020sn" + "apshot_version\030\007 \001(\003\"\230\001\n\017MoreResultsType" + "\022!\n\035MORE_RESULTS_TYPE_UNSPECIFIED\020\000\022\020\n\014N" + diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatch.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatch.java index b1b10aa07ef9..cea8e80d4c64 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatch.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatch.java @@ -39,6 +39,9 @@ private QueryResultBatch( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1541,7 +1544,7 @@ public QueryResultBatch parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryResultBatch(input, extensionRegistry); + return new QueryResultBatch(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java index b2bcfaa948fc..048ee2dabfaf 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java @@ -32,6 +32,9 @@ private ReadOptions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -815,7 +818,7 @@ public ReadOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadOptions(input, extensionRegistry); + return new ReadOptions(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java index d5c5f26c5142..2ffd5b09e1ac 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java @@ -35,6 +35,9 @@ private ReserveIdsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1146,7 +1149,7 @@ public ReserveIdsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReserveIdsRequest(input, extensionRegistry); + return new ReserveIdsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java index d5d38f6b6f60..1a905db7ea25 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java @@ -32,6 +32,9 @@ private ReserveIdsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -372,7 +375,7 @@ public ReserveIdsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReserveIdsResponse(input, extensionRegistry); + return new ReserveIdsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java index 0aa141f0cea0..16c714da64b5 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java @@ -34,6 +34,9 @@ private RollbackRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -609,7 +612,7 @@ public RollbackRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RollbackRequest(input, extensionRegistry); + return new RollbackRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java index f309bbc17cf5..8570e62626f8 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java @@ -33,6 +33,9 @@ private RollbackResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -374,7 +377,7 @@ public RollbackResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RollbackResponse(input, extensionRegistry); + return new RollbackResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java index 25ec2ddfa31d..f06507679d03 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java @@ -33,6 +33,9 @@ private RunQueryRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1594,7 +1597,7 @@ public RunQueryRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RunQueryRequest(input, extensionRegistry); + return new RunQueryRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java index cf6f8aa66101..3f7dd2858e68 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java @@ -32,6 +32,9 @@ private RunQueryResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -831,7 +834,7 @@ public RunQueryResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RunQueryResponse(input, extensionRegistry); + return new RunQueryResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java index 4c832a372d80..697ff5bae265 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java @@ -35,6 +35,9 @@ private TransactionOptions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -148,6 +151,9 @@ private ReadWrite( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -565,7 +571,7 @@ public ReadWrite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadWrite(input, extensionRegistry); + return new ReadWrite(input, extensionRegistry); } }; @@ -617,6 +623,9 @@ private ReadOnly( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -957,7 +966,7 @@ public ReadOnly parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadOnly(input, extensionRegistry); + return new ReadOnly(input, extensionRegistry); } }; @@ -1822,7 +1831,7 @@ public TransactionOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TransactionOptions(input, extensionRegistry); + return new TransactionOptions(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java index 24a7ce3b5f03..6070573eb5eb 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java @@ -35,6 +35,9 @@ private Value( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2653,7 +2656,7 @@ public Value parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Value(input, extensionRegistry); + return new Value(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java index 7357870f9f83..4a1e444855ef 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java @@ -42,6 +42,9 @@ private Agent( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2032,7 +2035,7 @@ public Agent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Agent(input, extensionRegistry); + return new Agent(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java index 8b6d80e57bd3..223b016df8ec 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java @@ -77,7 +77,7 @@ public static void registerAllExtensions( "\n\006parent\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\035\n\025" + "default_language_code\030\003 \001(\t\022 \n\030supported" + "_language_codes\030\004 \003(\t\022\021\n\ttime_zone\030\005 \001(\t" + - "\022\023\n\013description\030\006 \001(\t\022\022\n\navatar_uri\030\007 \001(", + "\022\023\n\013description\030\006 \001(\t\022\022\n\navatar_uri\030\007 \001(" + "\t\022\026\n\016enable_logging\030\010 \001(\010\022?\n\nmatch_mode\030" + "\t \001(\0162+.google.cloud.dialogflow.v2.Agent" + ".MatchMode\022 \n\030classification_threshold\030\n" + @@ -87,7 +87,7 @@ public static void registerAllExtensions( "t\030\001 \001(\t\"L\n\023SearchAgentsRequest\022\016\n\006parent" + "\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + "\003 \001(\t\"b\n\024SearchAgentsResponse\0221\n\006agents\030" + - "\001 \003(\0132!.google.cloud.dialogflow.v2.Agent", + "\001 \003(\0132!.google.cloud.dialogflow.v2.Agent" + "\022\027\n\017next_page_token\030\002 \001(\t\"#\n\021TrainAgentR" + "equest\022\016\n\006parent\030\001 \001(\t\"7\n\022ExportAgentReq" + "uest\022\016\n\006parent\030\001 \001(\t\022\021\n\tagent_uri\030\002 \001(\t\"" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( "gent_uri\030\002 \001(\tH\000\022\027\n\ragent_content\030\003 \001(\014H" + "\000B\007\n\005agent\"\\\n\023RestoreAgentRequest\022\016\n\006par" + "ent\030\001 \001(\t\022\023\n\tagent_uri\030\002 \001(\tH\000\022\027\n\ragent_" + - "content\030\003 \001(\014H\000B\007\n\005agent2\356\006\n\006Agents\022\201\001\n\010", + "content\030\003 \001(\014H\000B\007\n\005agent2\356\006\n\006Agents\022\201\001\n\010" + "GetAgent\022+.google.cloud.dialogflow.v2.Ge" + "tAgentRequest\032!.google.cloud.dialogflow." + "v2.Agent\"%\202\323\344\223\002\037\022\035/v2/{parent=projects/*" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "nse\",\202\323\344\223\002&\022$/v2/{parent=projects/*}/age" + "nt:search\022\212\001\n\nTrainAgent\022-.google.cloud." + "dialogflow.v2.TrainAgentRequest\032\035.google" + - ".longrunning.Operation\".\202\323\344\223\002(\"#/v2/{par", + ".longrunning.Operation\".\202\323\344\223\002(\"#/v2/{par" + "ent=projects/*}/agent:train:\001*\022\215\001\n\013Expor" + "tAgent\022..google.cloud.dialogflow.v2.Expo" + "rtAgentRequest\032\035.google.longrunning.Oper" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( ".google.longrunning.Operation\"/\202\323\344\223\002)\"$/" + "v2/{parent=projects/*}/agent:import:\001*\022\220" + "\001\n\014RestoreAgent\022/.google.cloud.dialogflo" + - "w.v2.RestoreAgentRequest\032\035.google.longru", + "w.v2.RestoreAgentRequest\032\035.google.longru" + "nning.Operation\"0\202\323\344\223\002*\"%/v2/{parent=pro" + "jects/*}/agent:restore:\001*B\231\001\n\036com.google" + ".cloud.dialogflow.v2B\nAgentProtoP\001ZDgoog" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java index 959f7413eea8..55286885dffa 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java @@ -35,6 +35,9 @@ private BatchCreateEntitiesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1158,7 +1161,7 @@ public BatchCreateEntitiesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchCreateEntitiesRequest(input, extensionRegistry); + return new BatchCreateEntitiesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java index dcfe65a762da..80a831333f1f 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java @@ -35,6 +35,9 @@ private BatchDeleteEntitiesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -971,7 +974,7 @@ public BatchDeleteEntitiesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchDeleteEntitiesRequest(input, extensionRegistry); + return new BatchDeleteEntitiesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java index 4f9fe0e95057..f1d6cd81c995 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java @@ -34,6 +34,9 @@ private BatchDeleteEntityTypesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -775,7 +778,7 @@ public BatchDeleteEntityTypesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchDeleteEntityTypesRequest(input, extensionRegistry); + return new BatchDeleteEntityTypesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java index 9d7d203f80f3..e225daf0b743 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java @@ -34,6 +34,9 @@ private BatchDeleteIntentsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public BatchDeleteIntentsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchDeleteIntentsRequest(input, extensionRegistry); + return new BatchDeleteIntentsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java index c306e43e863e..ee8580729c2c 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java @@ -35,6 +35,9 @@ private BatchUpdateEntitiesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1387,7 +1390,7 @@ public BatchUpdateEntitiesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateEntitiesRequest(input, extensionRegistry); + return new BatchUpdateEntitiesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java index 3f51033d517e..f8b14eb488cc 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java @@ -34,6 +34,9 @@ private BatchUpdateEntityTypesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1470,7 +1473,7 @@ public BatchUpdateEntityTypesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateEntityTypesRequest(input, extensionRegistry); + return new BatchUpdateEntityTypesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java index dcefb3f93cab..c0db39cd73be 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java @@ -33,6 +33,9 @@ private BatchUpdateEntityTypesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public BatchUpdateEntityTypesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateEntityTypesResponse(input, extensionRegistry); + return new BatchUpdateEntityTypesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java index ddf6df76cd2d..800411c7180b 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java @@ -35,6 +35,9 @@ private BatchUpdateIntentsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1574,7 +1577,7 @@ public BatchUpdateIntentsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateIntentsRequest(input, extensionRegistry); + return new BatchUpdateIntentsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java index 40504b429a51..cffc3967863f 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java @@ -33,6 +33,9 @@ private BatchUpdateIntentsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public BatchUpdateIntentsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateIntentsResponse(input, extensionRegistry); + return new BatchUpdateIntentsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java index 4b7a2d870d8b..4ebe55bbeb7e 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java @@ -34,6 +34,9 @@ private Context( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -874,7 +877,7 @@ public Context parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Context(input, extensionRegistry); + return new Context(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java index f6d3b8fbed0e..ec82bf27bb89 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java @@ -72,7 +72,7 @@ public static void registerAllExtensions( "(\005\022+\n\nparameters\030\003 \001(\0132\027.google.protobuf" + ".Struct\"L\n\023ListContextsRequest\022\016\n\006parent" + "\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + - "\003 \001(\t\"f\n\024ListContextsResponse\0225\n\010context", + "\003 \001(\t\"f\n\024ListContextsResponse\0225\n\010context" + "s\030\001 \003(\0132#.google.cloud.dialogflow.v2.Con" + "text\022\027\n\017next_page_token\030\002 \001(\t\"!\n\021GetCont" + "extRequest\022\014\n\004name\030\001 \001(\t\"\\\n\024CreateContex" + @@ -82,7 +82,7 @@ public static void registerAllExtensions( "#.google.cloud.dialogflow.v2.Context\022/\n\013" + "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" + "dMask\"$\n\024DeleteContextRequest\022\014\n\004name\030\001 " + - "\001(\t\"*\n\030DeleteAllContextsRequest\022\016\n\006paren", + "\001(\t\"*\n\030DeleteAllContextsRequest\022\016\n\006paren" + "t\030\001 \001(\t2\357\007\n\010Contexts\022\254\001\n\014ListContexts\022/." + "google.cloud.dialogflow.v2.ListContextsR" + "equest\0320.google.cloud.dialogflow.v2.List" + @@ -92,7 +92,7 @@ public static void registerAllExtensions( "GetContextRequest\032#.google.cloud.dialogf" + "low.v2.Context\"9\202\323\344\223\0023\0221/v2/{name=projec" + "ts/*/agent/sessions/*/contexts/*}\022\252\001\n\rCr" + - "eateContext\0220.google.cloud.dialogflow.v2", + "eateContext\0220.google.cloud.dialogflow.v2" + ".CreateContextRequest\032#.google.cloud.dia" + "logflow.v2.Context\"B\202\323\344\223\002<\"1/v2/{parent=" + "projects/*/agent/sessions/*}/contexts:\007c" + @@ -102,7 +102,7 @@ public static void registerAllExtensions( "9/v2/{context.name=projects/*/agent/sess" + "ions/*/contexts/*}:\007context\022\224\001\n\rDeleteCo" + "ntext\0220.google.cloud.dialogflow.v2.Delet" + - "eContextRequest\032\026.google.protobuf.Empty\"", + "eContextRequest\032\026.google.protobuf.Empty\"" + "9\202\323\344\223\0023*1/v2/{name=projects/*/agent/sess" + "ions/*/contexts/*}\022\234\001\n\021DeleteAllContexts" + "\0224.google.cloud.dialogflow.v2.DeleteAllC" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java index 534049b8d558..410a774c3e12 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java @@ -33,6 +33,9 @@ private CreateContextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -764,7 +767,7 @@ public CreateContextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateContextRequest(input, extensionRegistry); + return new CreateContextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java index c320a80c4931..3df7adf00abd 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java @@ -34,6 +34,9 @@ private CreateEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -947,7 +950,7 @@ public CreateEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateEntityTypeRequest(input, extensionRegistry); + return new CreateEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java index 47eda4e174da..bf9e8a0748ca 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java @@ -35,6 +35,9 @@ private CreateIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1058,7 +1061,7 @@ public CreateIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateIntentRequest(input, extensionRegistry); + return new CreateIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java index 37a647932e5f..c88b30b39907 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java @@ -33,6 +33,9 @@ private CreateSessionEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -764,7 +767,7 @@ public CreateSessionEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateSessionEntityTypeRequest(input, extensionRegistry); + return new CreateSessionEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java index 2a8b1b9aac1d..3d5adcf33093 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java @@ -33,6 +33,9 @@ private DeleteAllContextsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteAllContextsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAllContextsRequest(input, extensionRegistry); + return new DeleteAllContextsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java index 533dbea8ae0c..b46357aa38d3 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java @@ -33,6 +33,9 @@ private DeleteContextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteContextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteContextRequest(input, extensionRegistry); + return new DeleteContextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java index 15038e13c25c..5fc9bdfe368d 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java @@ -33,6 +33,9 @@ private DeleteEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteEntityTypeRequest(input, extensionRegistry); + return new DeleteEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java index 2fd223bc6a49..e1e3a52b1956 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java @@ -33,6 +33,9 @@ private DeleteIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteIntentRequest(input, extensionRegistry); + return new DeleteIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java index ab3fb5a8c3ec..8e52e4221789 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java @@ -33,6 +33,9 @@ private DeleteSessionEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public DeleteSessionEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSessionEntityTypeRequest(input, extensionRegistry); + return new DeleteSessionEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java index 4c39c760859a..58c91b333365 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java @@ -34,6 +34,9 @@ private DetectIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1147,7 +1150,7 @@ public DetectIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectIntentRequest(input, extensionRegistry); + return new DetectIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java index b2fcd3f0444d..1c85cd7f9801 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java @@ -33,6 +33,9 @@ private DetectIntentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1005,7 +1008,7 @@ public DetectIntentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectIntentResponse(input, extensionRegistry); + return new DetectIntentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java index 8e036c48bc63..a91d515acc2e 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java @@ -39,6 +39,9 @@ private EntityType( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -482,6 +485,9 @@ private Entity( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1251,7 +1257,7 @@ public Entity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); + return new Entity(input, extensionRegistry); } }; @@ -2530,7 +2536,7 @@ public EntityType parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityType(input, extensionRegistry); + return new EntityType(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java index 2322567346a7..0833d9bc4434 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java @@ -33,6 +33,9 @@ private EntityTypeBatch( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public EntityTypeBatch parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityTypeBatch(input, extensionRegistry); + return new EntityTypeBatch(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java index 2447a418e7bb..ef423e7ebb89 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java @@ -107,7 +107,7 @@ public static void registerAllExtensions( "ntityType\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030" + "\002 \001(\t\0229\n\004kind\030\003 \001(\0162+.google.cloud.dialo" + "gflow.v2.EntityType.Kind\022U\n\023auto_expansi" + - "on_mode\030\004 \001(\01628.google.cloud.dialogflow.", + "on_mode\030\004 \001(\01628.google.cloud.dialogflow." + "v2.EntityType.AutoExpansionMode\022?\n\010entit" + "ies\030\006 \003(\0132-.google.cloud.dialogflow.v2.E" + "ntityType.Entity\032)\n\006Entity\022\r\n\005value\030\001 \001(" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "DE_UNSPECIFIED\020\000\022\037\n\033AUTO_EXPANSION_MODE_" + "DEFAULT\020\001\"f\n\026ListEntityTypesRequest\022\016\n\006p" + "arent\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\t\022\021\n\tpa" + - "ge_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"p\n\027Lis", + "ge_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"p\n\027Lis" + "tEntityTypesResponse\022<\n\014entity_types\030\001 \003" + "(\0132&.google.cloud.dialogflow.v2.EntityTy" + "pe\022\027\n\017next_page_token\030\002 \001(\t\";\n\024GetEntity" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "e.cloud.dialogflow.v2.EntityType\022\025\n\rlang" + "uage_code\030\003 \001(\t\"\236\001\n\027UpdateEntityTypeRequ" + "est\022;\n\013entity_type\030\001 \001(\0132&.google.cloud." + - "dialogflow.v2.EntityType\022\025\n\rlanguage_cod", + "dialogflow.v2.EntityType\022\025\n\rlanguage_cod" + "e\030\002 \001(\t\022/\n\013update_mask\030\003 \001(\0132\032.google.pr" + "otobuf.FieldMask\"\'\n\027DeleteEntityTypeRequ" + "est\022\014\n\004name\030\001 \001(\t\"\376\001\n\035BatchUpdateEntityT" + @@ -137,7 +137,7 @@ public static void registerAllExtensions( ".v2.EntityTypeBatchH\000\022\025\n\rlanguage_code\030\004" + " \001(\t\022/\n\013update_mask\030\005 \001(\0132\032.google.proto" + "buf.FieldMaskB\023\n\021entity_type_batch\"^\n\036Ba" + - "tchUpdateEntityTypesResponse\022<\n\014entity_t", + "tchUpdateEntityTypesResponse\022<\n\014entity_t" + "ypes\030\001 \003(\0132&.google.cloud.dialogflow.v2." + "EntityType\"J\n\035BatchDeleteEntityTypesRequ" + "est\022\016\n\006parent\030\001 \001(\t\022\031\n\021entity_type_names" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "\n\rlanguage_code\030\003 \001(\t\"\265\001\n\032BatchUpdateEnt" + "itiesRequest\022\016\n\006parent\030\001 \001(\t\022?\n\010entities" + "\030\002 \003(\0132-.google.cloud.dialogflow.v2.Enti" + - "tyType.Entity\022\025\n\rlanguage_code\030\003 \001(\t\022/\n\013", + "tyType.Entity\022\025\n\rlanguage_code\030\003 \001(\t\022/\n\013" + "update_mask\030\004 \001(\0132\032.google.protobuf.Fiel" + "dMask\"Z\n\032BatchDeleteEntitiesRequest\022\016\n\006p" + "arent\030\001 \001(\t\022\025\n\rentity_values\030\002 \003(\t\022\025\n\rla" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "istEntityTypes\0222.google.cloud.dialogflow" + ".v2.ListEntityTypesRequest\0323.google.clou" + "d.dialogflow.v2.ListEntityTypesResponse\"" + - "1\202\323\344\223\002+\022)/v2/{parent=projects/*/agent}/e", + "1\202\323\344\223\002+\022)/v2/{parent=projects/*/agent}/e" + "ntityTypes\022\234\001\n\rGetEntityType\0220.google.cl" + "oud.dialogflow.v2.GetEntityTypeRequest\032&" + ".google.cloud.dialogflow.v2.EntityType\"1" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "est\032&.google.cloud.dialogflow.v2.EntityT" + "ype\">\202\323\344\223\0028\")/v2/{parent=projects/*/agen" + "t}/entityTypes:\013entity_type\022\273\001\n\020UpdateEn" + - "tityType\0223.google.cloud.dialogflow.v2.Up", + "tityType\0223.google.cloud.dialogflow.v2.Up" + "dateEntityTypeRequest\032&.google.cloud.dia" + "logflow.v2.EntityType\"J\202\323\344\223\002D25/v2/{enti" + "ty_type.name=projects/*/agent/entityType" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "\223\002+*)/v2/{name=projects/*/agent/entityTy" + "pes/*}\022\264\001\n\026BatchUpdateEntityTypes\0229.goog" + "le.cloud.dialogflow.v2.BatchUpdateEntity" + - "TypesRequest\032\035.google.longrunning.Operat", + "TypesRequest\032\035.google.longrunning.Operat" + "ion\"@\202\323\344\223\002:\"5/v2/{parent=projects/*/agen" + "t}/entityTypes:batchUpdate:\001*\022\264\001\n\026BatchD" + "eleteEntityTypes\0229.google.cloud.dialogfl" + @@ -187,7 +187,7 @@ public static void registerAllExtensions( "tchDelete:\001*\022\271\001\n\023BatchCreateEntities\0226.g" + "oogle.cloud.dialogflow.v2.BatchCreateEnt" + "itiesRequest\032\035.google.longrunning.Operat" + - "ion\"K\202\323\344\223\002E\"@/v2/{parent=projects/*/agen", + "ion\"K\202\323\344\223\002E\"@/v2/{parent=projects/*/agen" + "t/entityTypes/*}/entities:batchCreate:\001*" + "\022\271\001\n\023BatchUpdateEntities\0226.google.cloud." + "dialogflow.v2.BatchUpdateEntitiesRequest" + @@ -197,7 +197,7 @@ public static void registerAllExtensions( "leteEntities\0226.google.cloud.dialogflow.v" + "2.BatchDeleteEntitiesRequest\032\035.google.lo" + "ngrunning.Operation\"K\202\323\344\223\002E\"@/v2/{parent" + - "=projects/*/agent/entityTypes/*}/entitie", + "=projects/*/agent/entityTypes/*}/entitie" + "s:batchDelete:\001*B\236\001\n\036com.google.cloud.di" + "alogflow.v2B\017EntityTypeProtoP\001ZDgoogle.g" + "olang.org/genproto/googleapis/cloud/dial" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java index d7f98cfbd2a2..b3fdbaf81efa 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java @@ -38,6 +38,9 @@ private EventInput( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -941,7 +944,7 @@ public EventInput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EventInput(input, extensionRegistry); + return new EventInput(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java index 6bda5850db24..222ec8080b5c 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java @@ -34,6 +34,9 @@ private ExportAgentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -704,7 +707,7 @@ public ExportAgentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportAgentRequest(input, extensionRegistry); + return new ExportAgentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java index 0fea43564697..9d2b79e460a0 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java @@ -32,6 +32,9 @@ private ExportAgentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -765,7 +768,7 @@ public ExportAgentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportAgentResponse(input, extensionRegistry); + return new ExportAgentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java index 4efae16eb112..7955a87f3cc0 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java @@ -33,6 +33,9 @@ private GetAgentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetAgentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAgentRequest(input, extensionRegistry); + return new GetAgentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java index afa5e1c7b5c0..f951485bbc21 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java @@ -33,6 +33,9 @@ private GetContextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetContextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetContextRequest(input, extensionRegistry); + return new GetContextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java index 26cee4ed21b6..d6bd88bed552 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java @@ -34,6 +34,9 @@ private GetEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -718,7 +721,7 @@ public GetEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetEntityTypeRequest(input, extensionRegistry); + return new GetEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java index 5ced7296c314..fe9b0db5586d 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java @@ -35,6 +35,9 @@ private GetIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -829,7 +832,7 @@ public GetIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetIntentRequest(input, extensionRegistry); + return new GetIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java index e72da1b3ebf7..4203465cb4ae 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java @@ -33,6 +33,9 @@ private GetSessionEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public GetSessionEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetSessionEntityTypeRequest(input, extensionRegistry); + return new GetSessionEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java index ba7575e60e15..c649be17e31c 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java @@ -33,6 +33,9 @@ private ImportAgentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -927,7 +930,7 @@ public ImportAgentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAgentRequest(input, extensionRegistry); + return new ImportAgentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java index 703feacaf7a6..f30f1d718694 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java @@ -36,6 +36,9 @@ private InputAudioConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1015,7 +1018,7 @@ public InputAudioConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InputAudioConfig(input, extensionRegistry); + return new InputAudioConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java index 877de31f7e68..8b3586b85e03 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java @@ -52,6 +52,9 @@ private Intent( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -534,6 +537,9 @@ private TrainingPhrase( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -855,6 +861,9 @@ private Part( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1771,7 +1780,7 @@ public Part parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Part(input, extensionRegistry); + return new Part(input, extensionRegistry); } }; @@ -2890,7 +2899,7 @@ public TrainingPhrase parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TrainingPhrase(input, extensionRegistry); + return new TrainingPhrase(input, extensionRegistry); } }; @@ -3119,6 +3128,9 @@ private Parameter( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4695,7 +4707,7 @@ public Parameter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Parameter(input, extensionRegistry); + return new Parameter(input, extensionRegistry); } }; @@ -5048,6 +5060,9 @@ private Message( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5676,6 +5691,9 @@ private Text( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6240,7 +6258,7 @@ public Text parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Text(input, extensionRegistry); + return new Text(input, extensionRegistry); } }; @@ -6332,6 +6350,9 @@ private Image( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6988,7 +7009,7 @@ public Image parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Image(input, extensionRegistry); + return new Image(input, extensionRegistry); } }; @@ -7095,6 +7116,9 @@ private QuickReplies( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -7816,7 +7840,7 @@ public QuickReplies parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QuickReplies(input, extensionRegistry); + return new QuickReplies(input, extensionRegistry); } }; @@ -7970,6 +7994,9 @@ private Card( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -8115,6 +8142,9 @@ private Button( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -8771,7 +8801,7 @@ public Button parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Button(input, extensionRegistry); + return new Button(input, extensionRegistry); } }; @@ -9960,7 +9990,7 @@ public Card parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Card(input, extensionRegistry); + return new Card(input, extensionRegistry); } }; @@ -10075,6 +10105,9 @@ private SimpleResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -10899,7 +10932,7 @@ public SimpleResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SimpleResponse(input, extensionRegistry); + return new SimpleResponse(input, extensionRegistry); } }; @@ -10999,6 +11032,9 @@ private SimpleResponses( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -11779,7 +11815,7 @@ public SimpleResponses parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SimpleResponses(input, extensionRegistry); + return new SimpleResponses(input, extensionRegistry); } }; @@ -11958,6 +11994,9 @@ private BasicCard( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -12120,6 +12159,9 @@ private Button( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -12233,6 +12275,9 @@ private OpenUriAction( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -12728,7 +12773,7 @@ public OpenUriAction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new OpenUriAction(input, extensionRegistry); + return new OpenUriAction(input, extensionRegistry); } }; @@ -13410,7 +13455,7 @@ public Button parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Button(input, extensionRegistry); + return new Button(input, extensionRegistry); } }; @@ -14815,7 +14860,7 @@ public BasicCard parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BasicCard(input, extensionRegistry); + return new BasicCard(input, extensionRegistry); } }; @@ -14887,6 +14932,9 @@ private Suggestion( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -15383,7 +15431,7 @@ public Suggestion parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Suggestion(input, extensionRegistry); + return new Suggestion(input, extensionRegistry); } }; @@ -15480,6 +15528,9 @@ private Suggestions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -16257,7 +16308,7 @@ public Suggestions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Suggestions(input, extensionRegistry); + return new Suggestions(input, extensionRegistry); } }; @@ -16350,6 +16401,9 @@ private LinkOutSuggestion( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -17007,7 +17061,7 @@ public LinkOutSuggestion parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LinkOutSuggestion(input, extensionRegistry); + return new LinkOutSuggestion(input, extensionRegistry); } }; @@ -17123,6 +17177,9 @@ private ListSelect( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -17304,6 +17361,9 @@ private Item( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -18411,7 +18471,7 @@ public Item parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); + return new Item(input, extensionRegistry); } }; @@ -19304,7 +19364,7 @@ public ListSelect parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSelect(input, extensionRegistry); + return new ListSelect(input, extensionRegistry); } }; @@ -19401,6 +19461,9 @@ private CarouselSelect( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -19576,6 +19639,9 @@ private Item( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -20683,7 +20749,7 @@ public Item parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); + return new Item(input, extensionRegistry); } }; @@ -21425,7 +21491,7 @@ public CarouselSelect parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CarouselSelect(input, extensionRegistry); + return new CarouselSelect(input, extensionRegistry); } }; @@ -21539,6 +21605,9 @@ private SelectItemInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -22281,7 +22350,7 @@ public SelectItemInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SelectItemInfo(input, extensionRegistry); + return new SelectItemInfo(input, extensionRegistry); } }; @@ -25413,7 +25482,7 @@ public Message parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Message(input, extensionRegistry); + return new Message(input, extensionRegistry); } }; @@ -25507,6 +25576,9 @@ private FollowupIntentInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -26170,7 +26242,7 @@ public FollowupIntentInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FollowupIntentInfo(input, extensionRegistry); + return new FollowupIntentInfo(input, extensionRegistry); } }; @@ -30721,7 +30793,7 @@ public Intent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Intent(input, extensionRegistry); + return new Intent(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatch.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatch.java index 2aea2724e351..583bd58c8c4e 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatch.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatch.java @@ -33,6 +33,9 @@ private IntentBatch( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public IntentBatch parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new IntentBatch(input, extensionRegistry); + return new IntentBatch(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java index 590f1aea5edc..3261da283575 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java @@ -202,7 +202,7 @@ public static void registerAllExtensions( "o\032\034google/protobuf/struct.proto\"\363 \n\006Inte" + "nt\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022F" + "\n\rwebhook_state\030\006 \001(\0162/.google.cloud.dia" + - "logflow.v2.Intent.WebhookState\022\020\n\010priori", + "logflow.v2.Intent.WebhookState\022\020\n\010priori" + "ty\030\003 \001(\005\022\023\n\013is_fallback\030\004 \001(\010\022\023\n\013ml_disa" + "bled\030\023 \001(\010\022\033\n\023input_context_names\030\007 \003(\t\022" + "\016\n\006events\030\010 \003(\t\022K\n\020training_phrases\030\t \003(" + @@ -212,7 +212,7 @@ public static void registerAllExtensions( "v2.Context\022\026\n\016reset_contexts\030\014 \001(\010\022@\n\npa" + "rameters\030\r \003(\0132,.google.cloud.dialogflow" + ".v2.Intent.Parameter\022<\n\010messages\030\016 \003(\0132*" + - ".google.cloud.dialogflow.v2.Intent.Messa", + ".google.cloud.dialogflow.v2.Intent.Messa" + "ge\022W\n\032default_response_platforms\030\017 \003(\01623" + ".google.cloud.dialogflow.v2.Intent.Messa" + "ge.Platform\022!\n\031root_followup_intent_name" + @@ -222,7 +222,7 @@ public static void registerAllExtensions( "tentInfo\032\317\002\n\016TrainingPhrase\022\014\n\004name\030\001 \001(" + "\t\022D\n\004type\030\002 \001(\01626.google.cloud.dialogflo" + "w.v2.Intent.TrainingPhrase.Type\022E\n\005parts" + - "\030\003 \003(\01326.google.cloud.dialogflow.v2.Inte", + "\030\003 \003(\01326.google.cloud.dialogflow.v2.Inte" + "nt.TrainingPhrase.Part\022\031\n\021times_added_co" + "unt\030\004 \001(\005\032N\n\004Part\022\014\n\004text\030\001 \001(\t\022\023\n\013entit" + "y_type\030\002 \001(\t\022\r\n\005alias\030\003 \001(\t\022\024\n\014user_defi" + @@ -232,7 +232,7 @@ public static void registerAllExtensions( "value\030\003 \001(\t\022\025\n\rdefault_value\030\004 \001(\t\022 \n\030en" + "tity_type_display_name\030\005 \001(\t\022\021\n\tmandator" + "y\030\006 \001(\010\022\017\n\007prompts\030\007 \003(\t\022\017\n\007is_list\030\010 \001(" + - "\010\032\232\025\n\007Message\022?\n\004text\030\001 \001(\0132/.google.clo", + "\010\032\232\025\n\007Message\022?\n\004text\030\001 \001(\0132/.google.clo" + "ud.dialogflow.v2.Intent.Message.TextH\000\022A" + "\n\005image\030\002 \001(\01320.google.cloud.dialogflow." + "v2.Intent.Message.ImageH\000\022P\n\rquick_repli" + @@ -242,7 +242,7 @@ public static void registerAllExtensions( "ssage.CardH\000\022*\n\007payload\030\005 \001(\0132\027.google.p" + "rotobuf.StructH\000\022V\n\020simple_responses\030\007 \001" + "(\0132:.google.cloud.dialogflow.v2.Intent.M" + - "essage.SimpleResponsesH\000\022J\n\nbasic_card\030\010", + "essage.SimpleResponsesH\000\022J\n\nbasic_card\030\010" + " \001(\01324.google.cloud.dialogflow.v2.Intent" + ".Message.BasicCardH\000\022M\n\013suggestions\030\t \001(" + "\01326.google.cloud.dialogflow.v2.Intent.Me" + @@ -252,7 +252,7 @@ public static void registerAllExtensions( "_select\030\013 \001(\01325.google.cloud.dialogflow." + "v2.Intent.Message.ListSelectH\000\022T\n\017carous" + "el_select\030\014 \001(\01329.google.cloud.dialogflo" + - "w.v2.Intent.Message.CarouselSelectH\000\022E\n\010", + "w.v2.Intent.Message.CarouselSelectH\000\022E\n\010" + "platform\030\006 \001(\01623.google.cloud.dialogflow" + ".v2.Intent.Message.Platform\032\024\n\004Text\022\014\n\004t" + "ext\030\001 \003(\t\0326\n\005Image\022\021\n\timage_uri\030\001 \001(\t\022\032\n" + @@ -262,7 +262,7 @@ public static void registerAllExtensions( "\t\022\021\n\timage_uri\030\003 \001(\t\022G\n\007buttons\030\004 \003(\01326." + "google.cloud.dialogflow.v2.Intent.Messag" + "e.Card.Button\032(\n\006Button\022\014\n\004text\030\001 \001(\t\022\020\n" + - "\010postback\030\002 \001(\t\032L\n\016SimpleResponse\022\026\n\016tex", + "\010postback\030\002 \001(\t\032L\n\016SimpleResponse\022\026\n\016tex" + "t_to_speech\030\001 \001(\t\022\014\n\004ssml\030\002 \001(\t\022\024\n\014displ" + "ay_text\030\003 \001(\t\032f\n\017SimpleResponses\022S\n\020simp" + "le_responses\030\001 \003(\01329.google.cloud.dialog" + @@ -272,7 +272,7 @@ public static void registerAllExtensions( "\001(\01320.google.cloud.dialogflow.v2.Intent." + "Message.Image\022L\n\007buttons\030\005 \003(\0132;.google." + "cloud.dialogflow.v2.Intent.Message.Basic" + - "Card.Button\032\231\001\n\006Button\022\r\n\005title\030\001 \001(\t\022b\n", + "Card.Button\032\231\001\n\006Button\022\r\n\005title\030\001 \001(\t\022b\n" + "\017open_uri_action\030\002 \001(\0132I.google.cloud.di" + "alogflow.v2.Intent.Message.BasicCard.But" + "ton.OpenUriAction\032\034\n\rOpenUriAction\022\013\n\003ur" + @@ -282,7 +282,7 @@ public static void registerAllExtensions( "gestion\032:\n\021LinkOutSuggestion\022\030\n\020destinat" + "ion_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\032\235\002\n\nListSele" + "ct\022\r\n\005title\030\001 \001(\t\022I\n\005items\030\002 \003(\0132:.googl" + - "e.cloud.dialogflow.v2.Intent.Message.Lis", + "e.cloud.dialogflow.v2.Intent.Message.Lis" + "tSelect.Item\032\264\001\n\004Item\022G\n\004info\030\001 \001(\01329.go" + "ogle.cloud.dialogflow.v2.Intent.Message." + "SelectItemInfo\022\r\n\005title\030\002 \001(\t\022\023\n\013descrip" + @@ -292,7 +292,7 @@ public static void registerAllExtensions( "loud.dialogflow.v2.Intent.Message.Carous" + "elSelect.Item\032\264\001\n\004Item\022G\n\004info\030\001 \001(\01329.g" + "oogle.cloud.dialogflow.v2.Intent.Message" + - ".SelectItemInfo\022\r\n\005title\030\002 \001(\t\022\023\n\013descri", + ".SelectItemInfo\022\r\n\005title\030\002 \001(\t\022\023\n\013descri" + "ption\030\003 \001(\t\022?\n\005image\030\004 \001(\01320.google.clou" + "d.dialogflow.v2.Intent.Message.Image\032/\n\016" + "SelectItemInfo\022\013\n\003key\030\001 \001(\t\022\020\n\010synonyms\030" + @@ -302,7 +302,7 @@ public static void registerAllExtensions( "ER\020\007\022\025\n\021ACTIONS_ON_GOOGLE\020\010B\t\n\007message\032W" + "\n\022FollowupIntentInfo\022\034\n\024followup_intent_" + "name\030\001 \001(\t\022#\n\033parent_followup_intent_nam" + - "e\030\002 \001(\t\"t\n\014WebhookState\022\035\n\031WEBHOOK_STATE", + "e\030\002 \001(\t\"t\n\014WebhookState\022\035\n\031WEBHOOK_STATE" + "_UNSPECIFIED\020\000\022\031\n\025WEBHOOK_STATE_ENABLED\020" + "\001\022*\n&WEBHOOK_STATE_ENABLED_FOR_SLOT_FILL" + "ING\020\002\"\237\001\n\022ListIntentsRequest\022\016\n\006parent\030\001" + @@ -312,7 +312,7 @@ public static void registerAllExtensions( "n\030\005 \001(\t\"c\n\023ListIntentsResponse\0223\n\007intent" + "s\030\001 \003(\0132\".google.cloud.dialogflow.v2.Int" + "ent\022\027\n\017next_page_token\030\002 \001(\t\"t\n\020GetInten" + - "tRequest\022\014\n\004name\030\001 \001(\t\022\025\n\rlanguage_code\030", + "tRequest\022\014\n\004name\030\001 \001(\t\022\025\n\rlanguage_code\030" + "\002 \001(\t\022;\n\013intent_view\030\003 \001(\0162&.google.clou" + "d.dialogflow.v2.IntentView\"\255\001\n\023CreateInt" + "entRequest\022\016\n\006parent\030\001 \001(\t\0222\n\006intent\030\002 \001" + @@ -322,7 +322,7 @@ public static void registerAllExtensions( "ew\"\316\001\n\023UpdateIntentRequest\0222\n\006intent\030\001 \001" + "(\0132\".google.cloud.dialogflow.v2.Intent\022\025" + "\n\rlanguage_code\030\002 \001(\t\022/\n\013update_mask\030\003 \001" + - "(\0132\032.google.protobuf.FieldMask\022;\n\013intent", + "(\0132\032.google.protobuf.FieldMask\022;\n\013intent" + "_view\030\004 \001(\0162&.google.cloud.dialogflow.v2" + ".IntentView\"#\n\023DeleteIntentRequest\022\014\n\004na" + "me\030\001 \001(\t\"\244\002\n\031BatchUpdateIntentsRequest\022\016" + @@ -332,7 +332,7 @@ public static void registerAllExtensions( "nguage_code\030\004 \001(\t\022/\n\013update_mask\030\005 \001(\0132\032" + ".google.protobuf.FieldMask\022;\n\013intent_vie" + "w\030\006 \001(\0162&.google.cloud.dialogflow.v2.Int" + - "entViewB\016\n\014intent_batch\"Q\n\032BatchUpdateIn", + "entViewB\016\n\014intent_batch\"Q\n\032BatchUpdateIn" + "tentsResponse\0223\n\007intents\030\001 \003(\0132\".google." + "cloud.dialogflow.v2.Intent\"`\n\031BatchDelet" + "eIntentsRequest\022\016\n\006parent\030\001 \001(\t\0223\n\007inten" + @@ -342,7 +342,7 @@ public static void registerAllExtensions( "ntView\022\033\n\027INTENT_VIEW_UNSPECIFIED\020\000\022\024\n\020I" + "NTENT_VIEW_FULL\020\0012\330\010\n\007Intents\022\235\001\n\013ListIn" + "tents\022..google.cloud.dialogflow.v2.ListI" + - "ntentsRequest\032/.google.cloud.dialogflow.", + "ntentsRequest\032/.google.cloud.dialogflow." + "v2.ListIntentsResponse\"-\202\323\344\223\002\'\022%/v2/{par" + "ent=projects/*/agent}/intents\022\214\001\n\tGetInt" + "ent\022,.google.cloud.dialogflow.v2.GetInte" + @@ -352,7 +352,7 @@ public static void registerAllExtensions( "loud.dialogflow.v2.CreateIntentRequest\032\"" + ".google.cloud.dialogflow.v2.Intent\"5\202\323\344\223" + "\002/\"%/v2/{parent=projects/*/agent}/intent" + - "s:\006intent\022\241\001\n\014UpdateIntent\022/.google.clou", + "s:\006intent\022\241\001\n\014UpdateIntent\022/.google.clou" + "d.dialogflow.v2.UpdateIntentRequest\032\".go" + "ogle.cloud.dialogflow.v2.Intent\"<\202\323\344\223\00262" + ",/v2/{intent.name=projects/*/agent/inten" + @@ -362,7 +362,7 @@ public static void registerAllExtensions( "me=projects/*/agent/intents/*}\022\250\001\n\022Batch" + "UpdateIntents\0225.google.cloud.dialogflow." + "v2.BatchUpdateIntentsRequest\032\035.google.lo" + - "ngrunning.Operation\"<\202\323\344\223\0026\"1/v2/{parent", + "ngrunning.Operation\"<\202\323\344\223\0026\"1/v2/{parent" + "=projects/*/agent}/intents:batchUpdate:\001" + "*\022\250\001\n\022BatchDeleteIntents\0225.google.cloud." + "dialogflow.v2.BatchDeleteIntentsRequest\032" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java index ba345cd89402..1d87eb14448d 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java @@ -35,6 +35,9 @@ private ListContextsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -768,7 +771,7 @@ public ListContextsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListContextsRequest(input, extensionRegistry); + return new ListContextsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponse.java index 94976a72f055..c3fdc007dff0 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponse.java @@ -34,6 +34,9 @@ private ListContextsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public ListContextsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListContextsResponse(input, extensionRegistry); + return new ListContextsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java index 8012b54e9918..c1717d261f24 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java @@ -36,6 +36,9 @@ private ListEntityTypesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -951,7 +954,7 @@ public ListEntityTypesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEntityTypesRequest(input, extensionRegistry); + return new ListEntityTypesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponse.java index 3002f2f91a82..29d7cbfef5f8 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponse.java @@ -34,6 +34,9 @@ private ListEntityTypesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public ListEntityTypesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEntityTypesResponse(input, extensionRegistry); + return new ListEntityTypesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java index f01659b32807..3b90aff11352 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java @@ -37,6 +37,9 @@ private ListIntentsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1062,7 +1065,7 @@ public ListIntentsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListIntentsRequest(input, extensionRegistry); + return new ListIntentsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponse.java index c69d9e025e44..1193382fd186 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponse.java @@ -34,6 +34,9 @@ private ListIntentsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public ListIntentsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListIntentsResponse(input, extensionRegistry); + return new ListIntentsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java index 6162ee6ab6d5..0f86b87e1988 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java @@ -35,6 +35,9 @@ private ListSessionEntityTypesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -768,7 +771,7 @@ public ListSessionEntityTypesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSessionEntityTypesRequest(input, extensionRegistry); + return new ListSessionEntityTypesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponse.java index bd4560ec81d1..7e42c1d43097 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponse.java @@ -34,6 +34,9 @@ private ListSessionEntityTypesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public ListSessionEntityTypesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSessionEntityTypesResponse(input, extensionRegistry); + return new ListSessionEntityTypesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java index d7e309d24611..1e10fb6b88b3 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java @@ -34,6 +34,9 @@ private OriginalDetectIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -778,7 +781,7 @@ public OriginalDetectIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new OriginalDetectIntentRequest(input, extensionRegistry); + return new OriginalDetectIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInput.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInput.java index dfb11d203bec..b29583b0bdcb 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInput.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInput.java @@ -36,6 +36,9 @@ private QueryInput( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1205,7 +1208,7 @@ public QueryInput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryInput(input, extensionRegistry); + return new QueryInput(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java index 6adde6769a63..e959b0c45f67 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java @@ -36,6 +36,9 @@ private QueryParameters( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2042,7 +2045,7 @@ public QueryParameters parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryParameters(input, extensionRegistry); + return new QueryParameters(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java index 60b06836ca84..25b603922af0 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java @@ -42,6 +42,9 @@ private QueryResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3396,7 +3399,7 @@ public QueryResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryResult(input, extensionRegistry); + return new QueryResult(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequest.java index bc0aeca1b50f..dec3615287c9 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequest.java @@ -33,6 +33,9 @@ private RestoreAgentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -927,7 +930,7 @@ public RestoreAgentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RestoreAgentRequest(input, extensionRegistry); + return new RestoreAgentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java index 93c422585085..8d4d61268291 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java @@ -35,6 +35,9 @@ private SearchAgentsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -768,7 +771,7 @@ public SearchAgentsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAgentsRequest(input, extensionRegistry); + return new SearchAgentsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponse.java index f4c166f94507..d0114472860f 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponse.java @@ -34,6 +34,9 @@ private SearchAgentsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public SearchAgentsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAgentsResponse(input, extensionRegistry); + return new SearchAgentsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java index cf003f4a03ce..b1dd4268d124 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java @@ -39,6 +39,9 @@ private SessionEntityType( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1278,7 +1281,7 @@ public SessionEntityType parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SessionEntityType(input, extensionRegistry); + return new SessionEntityType(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java index 9f650622a1be..75769cc7418e 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java @@ -67,7 +67,7 @@ public static void registerAllExtensions( "ype\022\014\n\004name\030\001 \001(\t\022^\n\024entity_override_mod" + "e\030\002 \001(\0162@.google.cloud.dialogflow.v2.Ses" + "sionEntityType.EntityOverrideMode\022?\n\010ent" + - "ities\030\003 \003(\0132-.google.cloud.dialogflow.v2", + "ities\030\003 \003(\0132-.google.cloud.dialogflow.v2" + ".EntityType.Entity\"\202\001\n\022EntityOverrideMod" + "e\022$\n ENTITY_OVERRIDE_MODE_UNSPECIFIED\020\000\022" + "!\n\035ENTITY_OVERRIDE_MODE_OVERRIDE\020\001\022#\n\037EN" + @@ -77,7 +77,7 @@ public static void registerAllExtensions( "\206\001\n\036ListSessionEntityTypesResponse\022K\n\024se" + "ssion_entity_types\030\001 \003(\0132-.google.cloud." + "dialogflow.v2.SessionEntityType\022\027\n\017next_" + - "page_token\030\002 \001(\t\"+\n\033GetSessionEntityType", + "page_token\030\002 \001(\t\"+\n\033GetSessionEntityType" + "Request\022\014\n\004name\030\001 \001(\t\"|\n\036CreateSessionEn" + "tityTypeRequest\022\016\n\006parent\030\001 \001(\t\022J\n\023sessi" + "on_entity_type\030\002 \001(\0132-.google.cloud.dial" + @@ -87,7 +87,7 @@ public static void registerAllExtensions( ".SessionEntityType\022/\n\013update_mask\030\002 \001(\0132" + "\032.google.protobuf.FieldMask\".\n\036DeleteSes" + "sionEntityTypeRequest\022\014\n\004name\030\001 \001(\t2\231\010\n\022" + - "SessionEntityTypes\022\315\001\n\026ListSessionEntity", + "SessionEntityTypes\022\315\001\n\026ListSessionEntity" + "Types\0229.google.cloud.dialogflow.v2.ListS" + "essionEntityTypesRequest\032:.google.cloud." + "dialogflow.v2.ListSessionEntityTypesResp" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( ".GetSessionEntityTypeRequest\032-.google.cl" + "oud.dialogflow.v2.SessionEntityType\"<\202\323\344" + "\223\0026\0224/v2/{name=projects/*/agent/sessions" + - "/*/entityTypes/*}\022\327\001\n\027CreateSessionEntit", + "/*/entityTypes/*}\022\327\001\n\027CreateSessionEntit" + "yType\022:.google.cloud.dialogflow.v2.Creat" + "eSessionEntityTypeRequest\032-.google.cloud" + ".dialogflow.v2.SessionEntityType\"Q\202\323\344\223\002K" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "ialogflow.v2.UpdateSessionEntityTypeRequ" + "est\032-.google.cloud.dialogflow.v2.Session" + "EntityType\"e\202\323\344\223\002_2H/v2/{session_entity_" + - "type.name=projects/*/agent/sessions/*/en", + "type.name=projects/*/agent/sessions/*/en" + "tityTypes/*}:\023session_entity_type\022\253\001\n\027De" + "leteSessionEntityType\022:.google.cloud.dia" + "logflow.v2.DeleteSessionEntityTypeReques" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java index e8d797ea89c9..86b056dc8a86 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java @@ -87,7 +87,7 @@ public static void registerAllExtensions( "oogle/protobuf/struct.proto\032\027google/rpc/" + "status.proto\032\030google/type/latlng.proto\"\273" + "\001\n\023DetectIntentRequest\022\017\n\007session\030\001 \001(\t\022" + - "A\n\014query_params\030\002 \001(\0132+.google.cloud.dia", + "A\n\014query_params\030\002 \001(\0132+.google.cloud.dia" + "logflow.v2.QueryParameters\022;\n\013query_inpu" + "t\030\003 \001(\0132&.google.cloud.dialogflow.v2.Que" + "ryInput\022\023\n\013input_audio\030\005 \001(\014\"\226\001\n\024DetectI" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( "\0132\022.google.rpc.Status\"\225\002\n\017QueryParameter" + "s\022\021\n\ttime_zone\030\001 \001(\t\022)\n\014geo_location\030\002 \001" + "(\0132\023.google.type.LatLng\0225\n\010contexts\030\003 \003(" + - "\0132#.google.cloud.dialogflow.v2.Context\022\026", + "\0132#.google.cloud.dialogflow.v2.Context\022\026" + "\n\016reset_contexts\030\004 \001(\010\022K\n\024session_entity" + "_types\030\005 \003(\0132-.google.cloud.dialogflow.v" + "2.SessionEntityType\022(\n\007payload\030\006 \001(\0132\027.g" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "2%.google.cloud.dialogflow.v2.TextInputH" + "\000\0227\n\005event\030\003 \001(\0132&.google.cloud.dialogfl" + "ow.v2.EventInputH\000B\007\n\005input\"\270\004\n\013QueryRes" + - "ult\022\022\n\nquery_text\030\001 \001(\t\022\025\n\rlanguage_code", + "ult\022\022\n\nquery_text\030\001 \001(\t\022\025\n\rlanguage_code" + "\030\017 \001(\t\022%\n\035speech_recognition_confidence\030" + "\002 \001(\002\022\016\n\006action\030\003 \001(\t\022+\n\nparameters\030\004 \001(" + "\0132\027.google.protobuf.Struct\022#\n\033all_requir" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "age\022\026\n\016webhook_source\030\010 \001(\t\0220\n\017webhook_p" + "ayload\030\t \001(\0132\027.google.protobuf.Struct\022<\n" + "\017output_contexts\030\n \003(\0132#.google.cloud.di" + - "alogflow.v2.Context\0222\n\006intent\030\013 \001(\0132\".go", + "alogflow.v2.Context\0222\n\006intent\030\013 \001(\0132\".go" + "ogle.cloud.dialogflow.v2.Intent\022#\n\033inten" + "t_detection_confidence\030\014 \001(\002\0220\n\017diagnost" + "ic_info\030\016 \001(\0132\027.google.protobuf.Struct\"\336" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "uery_input\030\003 \001(\0132&.google.cloud.dialogfl" + "ow.v2.QueryInput\022\030\n\020single_utterance\030\004 \001" + "(\010\022\023\n\013input_audio\030\006 \001(\014\"\363\001\n\035StreamingDet" + - "ectIntentResponse\022\023\n\013response_id\030\001 \001(\t\022R", + "ectIntentResponse\022\023\n\013response_id\030\001 \001(\t\022R" + "\n\022recognition_result\030\002 \001(\01326.google.clou" + "d.dialogflow.v2.StreamingRecognitionResu" + "lt\022=\n\014query_result\030\003 \001(\0132\'.google.cloud." + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "(\0162B.google.cloud.dialogflow.v2.Streamin" + "gRecognitionResult.MessageType\022\022\n\ntransc" + "ript\030\002 \001(\t\022\020\n\010is_final\030\003 \001(\010\022\022\n\nconfiden" + - "ce\030\004 \001(\002\"X\n\013MessageType\022\034\n\030MESSAGE_TYPE_", + "ce\030\004 \001(\002\"X\n\013MessageType\022\034\n\030MESSAGE_TYPE_" + "UNSPECIFIED\020\000\022\016\n\nTRANSCRIPT\020\001\022\033\n\027END_OF_" + "SINGLE_UTTERANCE\020\002\"\235\001\n\020InputAudioConfig\022" + "A\n\016audio_encoding\030\001 \001(\0162).google.cloud.d" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\t\"^\n\nEventInp" + "ut\022\014\n\004name\030\001 \001(\t\022+\n\nparameters\030\002 \001(\0132\027.g" + "oogle.protobuf.Struct\022\025\n\rlanguage_code\030\003" + - " \001(\t*\373\001\n\rAudioEncoding\022\036\n\032AUDIO_ENCODING", + " \001(\t*\373\001\n\rAudioEncoding\022\036\n\032AUDIO_ENCODING" + "_UNSPECIFIED\020\000\022\034\n\030AUDIO_ENCODING_LINEAR_" + "16\020\001\022\027\n\023AUDIO_ENCODING_FLAC\020\002\022\030\n\024AUDIO_E" + "NCODING_MULAW\020\003\022\026\n\022AUDIO_ENCODING_AMR\020\004\022" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "ctIntent\022/.google.cloud.dialogflow.v2.De" + "tectIntentRequest\0320.google.cloud.dialogf" + "low.v2.DetectIntentResponse\"A\202\323\344\223\002;\"6/v2" + - "/{session=projects/*/agent/sessions/*}:d", + "/{session=projects/*/agent/sessions/*}:d" + "etectIntent:\001*\022\220\001\n\025StreamingDetectIntent" + "\0228.google.cloud.dialogflow.v2.StreamingD" + "etectIntentRequest\0329.google.cloud.dialog" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java index da285eead6f5..6f0855fabfe0 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java @@ -42,6 +42,9 @@ private StreamingDetectIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1271,7 +1274,7 @@ public StreamingDetectIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingDetectIntentRequest(input, extensionRegistry); + return new StreamingDetectIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponse.java index 642f93f364ec..d6978ab7bca8 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponse.java @@ -41,6 +41,9 @@ private StreamingDetectIntentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1238,7 +1241,7 @@ public StreamingDetectIntentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingDetectIntentResponse(input, extensionRegistry); + return new StreamingDetectIntentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java index f17877802f2a..5948b4a51f50 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java @@ -55,6 +55,9 @@ private StreamingRecognitionResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1019,7 +1022,7 @@ public StreamingRecognitionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingRecognitionResult(input, extensionRegistry); + return new StreamingRecognitionResult(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInput.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInput.java index bf015b39b60b..8dd3d5d0e214 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInput.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInput.java @@ -34,6 +34,9 @@ private TextInput( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -711,7 +714,7 @@ public TextInput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TextInput(input, extensionRegistry); + return new TextInput(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequest.java index 4dce693dfe4b..5f035d0ed035 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequest.java @@ -33,6 +33,9 @@ private TrainAgentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public TrainAgentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TrainAgentRequest(input, extensionRegistry); + return new TrainAgentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequest.java index 632e7c1c2f3e..8cd0da7ceb2d 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequest.java @@ -32,6 +32,9 @@ private UpdateContextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -831,7 +834,7 @@ public UpdateContextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateContextRequest(input, extensionRegistry); + return new UpdateContextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java index b170ec518899..5fefac55466f 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java @@ -33,6 +33,9 @@ private UpdateEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1026,7 +1029,7 @@ public UpdateEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateEntityTypeRequest(input, extensionRegistry); + return new UpdateEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java index 294f27941122..6dd1632e81b6 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java @@ -34,6 +34,9 @@ private UpdateIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1137,7 +1140,7 @@ public UpdateIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateIntentRequest(input, extensionRegistry); + return new UpdateIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java index 15c4ab49b391..981eb429fdf4 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java @@ -32,6 +32,9 @@ private UpdateSessionEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -855,7 +858,7 @@ public UpdateSessionEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateSessionEntityTypeRequest(input, extensionRegistry); + return new UpdateSessionEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookProto.java index 0ca8ce580e7e..015c1042e487 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookProto.java @@ -47,7 +47,7 @@ public static void registerAllExtensions( "uf/struct.proto\"\326\001\n\016WebhookRequest\022\017\n\007se" + "ssion\030\004 \001(\t\022\023\n\013response_id\030\001 \001(\t\022=\n\014quer" + "y_result\030\002 \001(\0132\'.google.cloud.dialogflow" + - ".v2.QueryResult\022_\n\036original_detect_inten", + ".v2.QueryResult\022_\n\036original_detect_inten" + "t_request\030\003 \001(\01327.google.cloud.dialogflo" + "w.v2.OriginalDetectIntentRequest\"\263\002\n\017Web" + "hookResponse\022\030\n\020fulfillment_text\030\001 \001(\t\022H" + @@ -57,7 +57,7 @@ public static void registerAllExtensions( "buf.Struct\022<\n\017output_contexts\030\005 \003(\0132#.go" + "ogle.cloud.dialogflow.v2.Context\022D\n\024foll" + "owup_event_input\030\006 \001(\0132&.google.cloud.di" + - "alogflow.v2.EventInput\"W\n\033OriginalDetect", + "alogflow.v2.EventInput\"W\n\033OriginalDetect" + "IntentRequest\022\016\n\006source\030\001 \001(\t\022(\n\007payload" + "\030\003 \001(\0132\027.google.protobuf.StructB\233\001\n\036com." + "google.cloud.dialogflow.v2B\014WebhookProto" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequest.java index 7c93a8f3b606..a42f9fc84f2e 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequest.java @@ -34,6 +34,9 @@ private WebhookRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1186,7 +1189,7 @@ public WebhookRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebhookRequest(input, extensionRegistry); + return new WebhookRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java index 7d71aff65bac..d0237a2e6d01 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java @@ -36,6 +36,9 @@ private WebhookResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2333,7 +2336,7 @@ public WebhookResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebhookResponse(input, extensionRegistry); + return new WebhookResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java index 89729308efa4..f34354230b6a 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java @@ -42,6 +42,9 @@ private Agent( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2032,7 +2035,7 @@ public Agent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Agent(input, extensionRegistry); + return new Agent(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java index 5cbc1493ca62..738a51cd5f2d 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java @@ -77,7 +77,7 @@ public static void registerAllExtensions( "\003\n\005Agent\022\016\n\006parent\030\001 \001(\t\022\024\n\014display_name" + "\030\002 \001(\t\022\035\n\025default_language_code\030\003 \001(\t\022 \n" + "\030supported_language_codes\030\004 \003(\t\022\021\n\ttime_" + - "zone\030\005 \001(\t\022\023\n\013description\030\006 \001(\t\022\022\n\navata", + "zone\030\005 \001(\t\022\023\n\013description\030\006 \001(\t\022\022\n\navata" + "r_uri\030\007 \001(\t\022\026\n\016enable_logging\030\010 \001(\010\022D\n\nm" + "atch_mode\030\t \001(\01620.google.cloud.dialogflo" + "w.v2beta1.Agent.MatchMode\022 \n\030classificat" + @@ -87,7 +87,7 @@ public static void registerAllExtensions( "equest\022\016\n\006parent\030\001 \001(\t\"L\n\023SearchAgentsRe" + "quest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005" + "\022\022\n\npage_token\030\003 \001(\t\"g\n\024SearchAgentsResp" + - "onse\0226\n\006agents\030\001 \003(\0132&.google.cloud.dial", + "onse\0226\n\006agents\030\001 \003(\0132&.google.cloud.dial" + "ogflow.v2beta1.Agent\022\027\n\017next_page_token\030" + "\002 \001(\t\"#\n\021TrainAgentRequest\022\016\n\006parent\030\001 \001" + "(\t\"7\n\022ExportAgentRequest\022\016\n\006parent\030\001 \001(\t" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( "\016\n\006parent\030\001 \001(\t\022\023\n\tagent_uri\030\002 \001(\tH\000\022\027\n\r" + "agent_content\030\003 \001(\014H\000B\007\n\005agent\"\\\n\023Restor" + "eAgentRequest\022\016\n\006parent\030\001 \001(\t\022\023\n\tagent_u" + - "ri\030\002 \001(\tH\000\022\027\n\ragent_content\030\003 \001(\014H\000B\007\n\005a", + "ri\030\002 \001(\tH\000\022\027\n\ragent_content\030\003 \001(\014H\000B\007\n\005a" + "gent2\264\007\n\006Agents\022\220\001\n\010GetAgent\0220.google.cl" + "oud.dialogflow.v2beta1.GetAgentRequest\032&" + ".google.cloud.dialogflow.v2beta1.Agent\"*" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "le.cloud.dialogflow.v2beta1.SearchAgents" + "Response\"1\202\323\344\223\002+\022)/v2beta1/{parent=proje" + "cts/*}/agent:search\022\224\001\n\nTrainAgent\0222.goo" + - "gle.cloud.dialogflow.v2beta1.TrainAgentR", + "gle.cloud.dialogflow.v2beta1.TrainAgentR" + "equest\032\035.google.longrunning.Operation\"3\202" + "\323\344\223\002-\"(/v2beta1/{parent=projects/*}/agen" + "t:train:\001*\022\227\001\n\013ExportAgent\0223.google.clou" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "t:\001*\022\227\001\n\013ImportAgent\0223.google.cloud.dial" + "ogflow.v2beta1.ImportAgentRequest\032\035.goog" + "le.longrunning.Operation\"4\202\323\344\223\002.\")/v2bet" + - "a1/{parent=projects/*}/agent:import:\001*\022\232", + "a1/{parent=projects/*}/agent:import:\001*\022\232" + "\001\n\014RestoreAgent\0224.google.cloud.dialogflo" + "w.v2beta1.RestoreAgentRequest\032\035.google.l" + "ongrunning.Operation\"5\202\323\344\223\002/\"*/v2beta1/{" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java index b9a98436bdb0..e21e7b22be8b 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java @@ -35,6 +35,9 @@ private BatchCreateEntitiesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1158,7 +1161,7 @@ public BatchCreateEntitiesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchCreateEntitiesRequest(input, extensionRegistry); + return new BatchCreateEntitiesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java index a390c84270c6..f100527ff239 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java @@ -35,6 +35,9 @@ private BatchDeleteEntitiesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -971,7 +974,7 @@ public BatchDeleteEntitiesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchDeleteEntitiesRequest(input, extensionRegistry); + return new BatchDeleteEntitiesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java index d3a656c5ff9e..0e8f9fa05b04 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java @@ -34,6 +34,9 @@ private BatchDeleteEntityTypesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -775,7 +778,7 @@ public BatchDeleteEntityTypesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchDeleteEntityTypesRequest(input, extensionRegistry); + return new BatchDeleteEntityTypesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java index b64d41d29b56..88d419c4c38e 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java @@ -34,6 +34,9 @@ private BatchDeleteIntentsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public BatchDeleteIntentsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchDeleteIntentsRequest(input, extensionRegistry); + return new BatchDeleteIntentsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java index d82ec796f5de..e72d6e4b8a00 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java @@ -35,6 +35,9 @@ private BatchUpdateEntitiesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1387,7 +1390,7 @@ public BatchUpdateEntitiesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateEntitiesRequest(input, extensionRegistry); + return new BatchUpdateEntitiesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java index bf7d0d406097..8310f2a14ce7 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java @@ -34,6 +34,9 @@ private BatchUpdateEntityTypesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1470,7 +1473,7 @@ public BatchUpdateEntityTypesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateEntityTypesRequest(input, extensionRegistry); + return new BatchUpdateEntityTypesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java index 5d76a9237602..de8e276961fa 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java @@ -33,6 +33,9 @@ private BatchUpdateEntityTypesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public BatchUpdateEntityTypesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateEntityTypesResponse(input, extensionRegistry); + return new BatchUpdateEntityTypesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java index 10b44ff52c71..f4df1fa6835c 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java @@ -35,6 +35,9 @@ private BatchUpdateIntentsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1574,7 +1577,7 @@ public BatchUpdateIntentsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateIntentsRequest(input, extensionRegistry); + return new BatchUpdateIntentsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java index 845673e3f221..6ea9918ddf33 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java @@ -33,6 +33,9 @@ private BatchUpdateIntentsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public BatchUpdateIntentsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchUpdateIntentsResponse(input, extensionRegistry); + return new BatchUpdateIntentsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java index 94ac3527b5d4..29e9a3ddd6bb 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java @@ -34,6 +34,9 @@ private Context( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -923,7 +926,7 @@ public Context parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Context(input, extensionRegistry); + return new Context(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java index eacdbe947f2e..e68d1b94d441 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java @@ -72,7 +72,7 @@ public static void registerAllExtensions( "_count\030\002 \001(\005\022+\n\nparameters\030\003 \001(\0132\027.googl" + "e.protobuf.Struct\"L\n\023ListContextsRequest" + "\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\"k\n\024ListContextsResponse\022", + "age_token\030\003 \001(\t\"k\n\024ListContextsResponse\022" + ":\n\010contexts\030\001 \003(\0132(.google.cloud.dialogf" + "low.v2beta1.Context\022\027\n\017next_page_token\030\002" + " \001(\t\"!\n\021GetContextRequest\022\014\n\004name\030\001 \001(\t\"" + @@ -82,7 +82,7 @@ public static void registerAllExtensions( "est\0229\n\007context\030\001 \001(\0132(.google.cloud.dial" + "ogflow.v2beta1.Context\022/\n\013update_mask\030\002 " + "\001(\0132\032.google.protobuf.FieldMask\"$\n\024Delet" + - "eContextRequest\022\014\n\004name\030\001 \001(\t\"*\n\030DeleteA", + "eContextRequest\022\014\n\004name\030\001 \001(\t\"*\n\030DeleteA" + "llContextsRequest\022\016\n\006parent\030\001 \001(\t2\313\014\n\010Co" + "ntexts\022\216\002\n\014ListContexts\0224.google.cloud.d" + "ialogflow.v2beta1.ListContextsRequest\0325." + @@ -92,7 +92,7 @@ public static void registerAllExtensions( "\022M/v2beta1/{parent=projects/*/agent/envi" + "ronments/*/users/*/sessions/*}/contexts\022" + "\375\001\n\nGetContext\0222.google.cloud.dialogflow" + - ".v2beta1.GetContextRequest\032(.google.clou", + ".v2beta1.GetContextRequest\032(.google.clou" + "d.dialogflow.v2beta1.Context\"\220\001\202\323\344\223\002\211\001\0226" + "/v2beta1/{name=projects/*/agent/sessions" + "/*/contexts/*}ZO\022M/v2beta1/{name=project" + @@ -102,7 +102,7 @@ public static void registerAllExtensions( "tRequest\032(.google.cloud.dialogflow.v2bet" + "a1.Context\"\242\001\202\323\344\223\002\233\001\"6/v2beta1/{parent=p" + "rojects/*/agent/sessions/*}/contexts:\007co" + - "ntextZX\"M/v2beta1/{parent=projects/*/age", + "ntextZX\"M/v2beta1/{parent=projects/*/age" + "nt/environments/*/users/*/sessions/*}/co" + "ntexts:\007context\022\245\002\n\rUpdateContext\0225.goog" + "le.cloud.dialogflow.v2beta1.UpdateContex" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "s/*}:\007contextZ`2U/v2beta1/{context.name=" + "projects/*/agent/environments/*/users/*/" + "sessions/*/contexts/*}:\007context\022\361\001\n\rDele" + - "teContext\0225.google.cloud.dialogflow.v2be", + "teContext\0225.google.cloud.dialogflow.v2be" + "ta1.DeleteContextRequest\032\026.google.protob" + "uf.Empty\"\220\001\202\323\344\223\002\211\001*6/v2beta1/{name=proje" + "cts/*/agent/sessions/*/contexts/*}ZO*M/v" + @@ -122,7 +122,7 @@ public static void registerAllExtensions( "low.v2beta1.DeleteAllContextsRequest\032\026.g" + "oogle.protobuf.Empty\"\220\001\202\323\344\223\002\211\001*6/v2beta1" + "/{parent=projects/*/agent/sessions/*}/co" + - "ntextsZO*M/v2beta1/{parent=projects/*/ag", + "ntextsZO*M/v2beta1/{parent=projects/*/ag" + "ent/environments/*/users/*/sessions/*}/c" + "ontextsB\252\001\n#com.google.cloud.dialogflow." + "v2beta1B\014ContextProtoP\001ZIgoogle.golang.o" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java index 18a93fbff696..f4c27d58fe82 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java @@ -33,6 +33,9 @@ private CreateContextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -799,7 +802,7 @@ public CreateContextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateContextRequest(input, extensionRegistry); + return new CreateContextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java index 8f2962468ee6..ad5ad9c33c36 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java @@ -34,6 +34,9 @@ private CreateEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -947,7 +950,7 @@ public CreateEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateEntityTypeRequest(input, extensionRegistry); + return new CreateEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java index 9d261b7357e8..ad0974e642ea 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java @@ -35,6 +35,9 @@ private CreateIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1058,7 +1061,7 @@ public CreateIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateIntentRequest(input, extensionRegistry); + return new CreateIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java index fd051048102d..15fda3ce50ac 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java @@ -33,6 +33,9 @@ private CreateSessionEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -799,7 +802,7 @@ public CreateSessionEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateSessionEntityTypeRequest(input, extensionRegistry); + return new CreateSessionEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java index 844d5a393542..6ce8fbd1307b 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java @@ -33,6 +33,9 @@ private DeleteAllContextsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -570,7 +573,7 @@ public DeleteAllContextsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAllContextsRequest(input, extensionRegistry); + return new DeleteAllContextsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java index 1e15c0a5da74..9466fba3eeaf 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java @@ -33,6 +33,9 @@ private DeleteContextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -577,7 +580,7 @@ public DeleteContextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteContextRequest(input, extensionRegistry); + return new DeleteContextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java index 5b46c1c0a83d..4c88e265222c 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java @@ -33,6 +33,9 @@ private DeleteEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteEntityTypeRequest(input, extensionRegistry); + return new DeleteEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java index 8bda7c4aca81..b3f95cd8cc10 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java @@ -33,6 +33,9 @@ private DeleteIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteIntentRequest(input, extensionRegistry); + return new DeleteIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java index 5a735af5c909..950d954c7d97 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java @@ -33,6 +33,9 @@ private DeleteSessionEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -577,7 +580,7 @@ public DeleteSessionEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSessionEntityTypeRequest(input, extensionRegistry); + return new DeleteSessionEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java index 116d309d3ec4..f636e93b5e83 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java @@ -34,6 +34,9 @@ private DetectIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1182,7 +1185,7 @@ public DetectIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectIntentRequest(input, extensionRegistry); + return new DetectIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponse.java index 5eb997d4b4d5..aebd7db66179 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponse.java @@ -33,6 +33,9 @@ private DetectIntentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1005,7 +1008,7 @@ public DetectIntentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectIntentResponse(input, extensionRegistry); + return new DetectIntentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java index 00369121817a..93bdac9b1fd1 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java @@ -39,6 +39,9 @@ private EntityType( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -482,6 +485,9 @@ private Entity( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1251,7 +1257,7 @@ public Entity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); + return new Entity(input, extensionRegistry); } }; @@ -2530,7 +2536,7 @@ public EntityType parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityType(input, extensionRegistry); + return new EntityType(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatch.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatch.java index 8f31621bc3ad..c52291ded568 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatch.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatch.java @@ -33,6 +33,9 @@ private EntityTypeBatch( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public EntityTypeBatch parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityTypeBatch(input, extensionRegistry); + return new EntityTypeBatch(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java index a4c9fdb8bbf0..512e2af39fbf 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java @@ -107,7 +107,7 @@ public static void registerAllExtensions( "roto\"\323\003\n\nEntityType\022\014\n\004name\030\001 \001(\t\022\024\n\014dis" + "play_name\030\002 \001(\t\022>\n\004kind\030\003 \001(\01620.google.c" + "loud.dialogflow.v2beta1.EntityType.Kind\022" + - "Z\n\023auto_expansion_mode\030\004 \001(\0162=.google.cl", + "Z\n\023auto_expansion_mode\030\004 \001(\0162=.google.cl" + "oud.dialogflow.v2beta1.EntityType.AutoEx" + "pansionMode\022D\n\010entities\030\006 \003(\01322.google.c" + "loud.dialogflow.v2beta1.EntityType.Entit" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "Mode\022#\n\037AUTO_EXPANSION_MODE_UNSPECIFIED\020" + "\000\022\037\n\033AUTO_EXPANSION_MODE_DEFAULT\020\001\"f\n\026Li" + "stEntityTypesRequest\022\016\n\006parent\030\001 \001(\t\022\025\n\r" + - "language_code\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022", + "language_code\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022" + "\n\npage_token\030\004 \001(\t\"u\n\027ListEntityTypesRes" + "ponse\022A\n\014entity_types\030\001 \003(\0132+.google.clo" + "ud.dialogflow.v2beta1.EntityType\022\027\n\017next" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "(\t\022@\n\013entity_type\030\002 \001(\0132+.google.cloud.d" + "ialogflow.v2beta1.EntityType\022\025\n\rlanguage" + "_code\030\003 \001(\t\"\243\001\n\027UpdateEntityTypeRequest\022" + - "@\n\013entity_type\030\001 \001(\0132+.google.cloud.dial", + "@\n\013entity_type\030\001 \001(\0132+.google.cloud.dial" + "ogflow.v2beta1.EntityType\022\025\n\rlanguage_co" + "de\030\002 \001(\t\022/\n\013update_mask\030\003 \001(\0132\032.google.p" + "rotobuf.FieldMask\"\'\n\027DeleteEntityTypeReq" + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "ch_inline\030\003 \001(\01320.google.cloud.dialogflo" + "w.v2beta1.EntityTypeBatchH\000\022\025\n\rlanguage_" + "code\030\004 \001(\t\022/\n\013update_mask\030\005 \001(\0132\032.google" + - ".protobuf.FieldMaskB\023\n\021entity_type_batch", + ".protobuf.FieldMaskB\023\n\021entity_type_batch" + "\"c\n\036BatchUpdateEntityTypesResponse\022A\n\014en" + "tity_types\030\001 \003(\0132+.google.cloud.dialogfl" + "ow.v2beta1.EntityType\"J\n\035BatchDeleteEnti" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "(\01322.google.cloud.dialogflow.v2beta1.Ent" + "ityType.Entity\022\025\n\rlanguage_code\030\003 \001(\t\"\272\001" + "\n\032BatchUpdateEntitiesRequest\022\016\n\006parent\030\001" + - " \001(\t\022D\n\010entities\030\002 \003(\01322.google.cloud.di", + " \001(\t\022D\n\010entities\030\002 \003(\01322.google.cloud.di" + "alogflow.v2beta1.EntityType.Entity\022\025\n\rla" + "nguage_code\030\003 \001(\t\022/\n\013update_mask\030\004 \001(\0132\032" + ".google.protobuf.FieldMask\"Z\n\032BatchDelet" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "+.google.cloud.dialogflow.v2beta1.Entity" + "Type2\373\016\n\013EntityTypes\022\274\001\n\017ListEntityTypes" + "\0227.google.cloud.dialogflow.v2beta1.ListE" + - "ntityTypesRequest\0328.google.cloud.dialogf", + "ntityTypesRequest\0328.google.cloud.dialogf" + "low.v2beta1.ListEntityTypesResponse\"6\202\323\344" + "\223\0020\022./v2beta1/{parent=projects/*/agent}/" + "entityTypes\022\253\001\n\rGetEntityType\0225.google.c" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "ts/*/agent/entityTypes/*}\022\276\001\n\020CreateEnti" + "tyType\0228.google.cloud.dialogflow.v2beta1" + ".CreateEntityTypeRequest\032+.google.cloud." + - "dialogflow.v2beta1.EntityType\"C\202\323\344\223\002=\"./", + "dialogflow.v2beta1.EntityType\"C\202\323\344\223\002=\"./" + "v2beta1/{parent=projects/*/agent}/entity" + "Types:\013entity_type\022\312\001\n\020UpdateEntityType\022" + "8.google.cloud.dialogflow.v2beta1.Update" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "tyTypes/*}:\013entity_type\022\234\001\n\020DeleteEntity" + "Type\0228.google.cloud.dialogflow.v2beta1.D" + "eleteEntityTypeRequest\032\026.google.protobuf" + - ".Empty\"6\202\323\344\223\0020*./v2beta1/{name=projects/", + ".Empty\"6\202\323\344\223\0020*./v2beta1/{name=projects/" + "*/agent/entityTypes/*}\022\276\001\n\026BatchUpdateEn" + "tityTypes\022>.google.cloud.dialogflow.v2be" + "ta1.BatchUpdateEntityTypesRequest\032\035.goog" + @@ -187,7 +187,7 @@ public static void registerAllExtensions( "es\022>.google.cloud.dialogflow.v2beta1.Bat" + "chDeleteEntityTypesRequest\032\035.google.long" + "running.Operation\"E\202\323\344\223\002?\":/v2beta1/{par" + - "ent=projects/*/agent}/entityTypes:batchD", + "ent=projects/*/agent}/entityTypes:batchD" + "elete:\001*\022\303\001\n\023BatchCreateEntities\022;.googl" + "e.cloud.dialogflow.v2beta1.BatchCreateEn" + "titiesRequest\032\035.google.longrunning.Opera" + @@ -197,7 +197,7 @@ public static void registerAllExtensions( "cloud.dialogflow.v2beta1.BatchUpdateEnti" + "tiesRequest\032\035.google.longrunning.Operati" + "on\"P\202\323\344\223\002J\"E/v2beta1/{parent=projects/*/" + - "agent/entityTypes/*}/entities:batchUpdat", + "agent/entityTypes/*}/entities:batchUpdat" + "e:\001*\022\303\001\n\023BatchDeleteEntities\022;.google.cl" + "oud.dialogflow.v2beta1.BatchDeleteEntiti" + "esRequest\032\035.google.longrunning.Operation" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java index d4c3d7a75fd3..71344536289a 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java @@ -38,6 +38,9 @@ private EventInput( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -941,7 +944,7 @@ public EventInput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EventInput(input, extensionRegistry); + return new EventInput(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java index e4aae82e0595..c64aedd7411e 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java @@ -34,6 +34,9 @@ private ExportAgentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -704,7 +707,7 @@ public ExportAgentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportAgentRequest(input, extensionRegistry); + return new ExportAgentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java index db028b4e9a18..906ab3ae0c1d 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java @@ -32,6 +32,9 @@ private ExportAgentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -765,7 +768,7 @@ public ExportAgentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportAgentResponse(input, extensionRegistry); + return new ExportAgentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java index 4992ca11cd02..f553d90f107e 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java @@ -33,6 +33,9 @@ private GetAgentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetAgentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAgentRequest(input, extensionRegistry); + return new GetAgentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java index 03b1644806c2..c2e1a8d5b9b3 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java @@ -33,6 +33,9 @@ private GetContextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -570,7 +573,7 @@ public GetContextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetContextRequest(input, extensionRegistry); + return new GetContextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java index 8b417f5d9c1f..f01561dd1cf5 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java @@ -34,6 +34,9 @@ private GetEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -718,7 +721,7 @@ public GetEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetEntityTypeRequest(input, extensionRegistry); + return new GetEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java index 5fe17ef27f62..3b730f1f0358 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java @@ -35,6 +35,9 @@ private GetIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -829,7 +832,7 @@ public GetIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetIntentRequest(input, extensionRegistry); + return new GetIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java index 1b1ff6d8cb9e..16831c4c6e7d 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java @@ -33,6 +33,9 @@ private GetSessionEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -577,7 +580,7 @@ public GetSessionEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetSessionEntityTypeRequest(input, extensionRegistry); + return new GetSessionEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java index a7bbb1f1f334..07cc3290000b 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java @@ -33,6 +33,9 @@ private ImportAgentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -927,7 +930,7 @@ public ImportAgentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAgentRequest(input, extensionRegistry); + return new ImportAgentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java index aef4a3ae9c85..bd2d2f6d32a5 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java @@ -36,6 +36,9 @@ private InputAudioConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1015,7 +1018,7 @@ public InputAudioConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InputAudioConfig(input, extensionRegistry); + return new InputAudioConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java index 794163a0e2ee..e7577670ec1c 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java @@ -53,6 +53,9 @@ private Intent( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -540,6 +543,9 @@ private TrainingPhrase( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -861,6 +867,9 @@ private Part( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1777,7 +1786,7 @@ public Part parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Part(input, extensionRegistry); + return new Part(input, extensionRegistry); } }; @@ -2896,7 +2905,7 @@ public TrainingPhrase parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TrainingPhrase(input, extensionRegistry); + return new TrainingPhrase(input, extensionRegistry); } }; @@ -3125,6 +3134,9 @@ private Parameter( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4701,7 +4713,7 @@ public Parameter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Parameter(input, extensionRegistry); + return new Parameter(input, extensionRegistry); } }; @@ -5054,6 +5066,9 @@ private Message( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5682,6 +5697,9 @@ private Text( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6246,7 +6264,7 @@ public Text parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Text(input, extensionRegistry); + return new Text(input, extensionRegistry); } }; @@ -6338,6 +6356,9 @@ private Image( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6994,7 +7015,7 @@ public Image parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Image(input, extensionRegistry); + return new Image(input, extensionRegistry); } }; @@ -7101,6 +7122,9 @@ private QuickReplies( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -7822,7 +7846,7 @@ public QuickReplies parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QuickReplies(input, extensionRegistry); + return new QuickReplies(input, extensionRegistry); } }; @@ -7976,6 +8000,9 @@ private Card( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -8121,6 +8148,9 @@ private Button( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -8777,7 +8807,7 @@ public Button parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Button(input, extensionRegistry); + return new Button(input, extensionRegistry); } }; @@ -9966,7 +9996,7 @@ public Card parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Card(input, extensionRegistry); + return new Card(input, extensionRegistry); } }; @@ -10081,6 +10111,9 @@ private SimpleResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -10905,7 +10938,7 @@ public SimpleResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SimpleResponse(input, extensionRegistry); + return new SimpleResponse(input, extensionRegistry); } }; @@ -11005,6 +11038,9 @@ private SimpleResponses( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -11785,7 +11821,7 @@ public SimpleResponses parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SimpleResponses(input, extensionRegistry); + return new SimpleResponses(input, extensionRegistry); } }; @@ -11964,6 +12000,9 @@ private BasicCard( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -12126,6 +12165,9 @@ private Button( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -12239,6 +12281,9 @@ private OpenUriAction( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -12734,7 +12779,7 @@ public OpenUriAction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new OpenUriAction(input, extensionRegistry); + return new OpenUriAction(input, extensionRegistry); } }; @@ -13416,7 +13461,7 @@ public Button parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Button(input, extensionRegistry); + return new Button(input, extensionRegistry); } }; @@ -14821,7 +14866,7 @@ public BasicCard parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BasicCard(input, extensionRegistry); + return new BasicCard(input, extensionRegistry); } }; @@ -14893,6 +14938,9 @@ private Suggestion( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -15389,7 +15437,7 @@ public Suggestion parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Suggestion(input, extensionRegistry); + return new Suggestion(input, extensionRegistry); } }; @@ -15486,6 +15534,9 @@ private Suggestions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -16263,7 +16314,7 @@ public Suggestions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Suggestions(input, extensionRegistry); + return new Suggestions(input, extensionRegistry); } }; @@ -16356,6 +16407,9 @@ private LinkOutSuggestion( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -17013,7 +17067,7 @@ public LinkOutSuggestion parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LinkOutSuggestion(input, extensionRegistry); + return new LinkOutSuggestion(input, extensionRegistry); } }; @@ -17129,6 +17183,9 @@ private ListSelect( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -17310,6 +17367,9 @@ private Item( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -18417,7 +18477,7 @@ public Item parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); + return new Item(input, extensionRegistry); } }; @@ -19310,7 +19370,7 @@ public ListSelect parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSelect(input, extensionRegistry); + return new ListSelect(input, extensionRegistry); } }; @@ -19407,6 +19467,9 @@ private CarouselSelect( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -19582,6 +19645,9 @@ private Item( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -20689,7 +20755,7 @@ public Item parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); + return new Item(input, extensionRegistry); } }; @@ -21431,7 +21497,7 @@ public CarouselSelect parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CarouselSelect(input, extensionRegistry); + return new CarouselSelect(input, extensionRegistry); } }; @@ -21545,6 +21611,9 @@ private SelectItemInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -22287,7 +22356,7 @@ public SelectItemInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SelectItemInfo(input, extensionRegistry); + return new SelectItemInfo(input, extensionRegistry); } }; @@ -25419,7 +25488,7 @@ public Message parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Message(input, extensionRegistry); + return new Message(input, extensionRegistry); } }; @@ -25513,6 +25582,9 @@ private FollowupIntentInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -26176,7 +26248,7 @@ public FollowupIntentInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FollowupIntentInfo(input, extensionRegistry); + return new FollowupIntentInfo(input, extensionRegistry); } }; @@ -30836,7 +30908,7 @@ public Intent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Intent(input, extensionRegistry); + return new Intent(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatch.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatch.java index 9457e6d554f1..6fbac2cd79e6 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatch.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatch.java @@ -33,6 +33,9 @@ private IntentBatch( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public IntentBatch parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new IntentBatch(input, extensionRegistry); + return new IntentBatch(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java index 4055c2239861..d5fae1d40288 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java @@ -202,7 +202,7 @@ public static void registerAllExtensions( "field_mask.proto\032\034google/protobuf/struct" + ".proto\"\247\"\n\006Intent\022\014\n\004name\030\001 \001(\t\022\024\n\014displ" + "ay_name\030\002 \001(\t\022K\n\rwebhook_state\030\006 \001(\01624.g" + - "oogle.cloud.dialogflow.v2beta1.Intent.We", + "oogle.cloud.dialogflow.v2beta1.Intent.We" + "bhookState\022\020\n\010priority\030\003 \001(\005\022\023\n\013is_fallb" + "ack\030\004 \001(\010\022\022\n\nml_enabled\030\005 \001(\010\022\023\n\013ml_disa" + "bled\030\023 \001(\010\022\033\n\023input_context_names\030\007 \003(\t\022" + @@ -212,7 +212,7 @@ public static void registerAllExtensions( "put_contexts\030\013 \003(\0132(.google.cloud.dialog" + "flow.v2beta1.Context\022\026\n\016reset_contexts\030\014" + " \001(\010\022E\n\nparameters\030\r \003(\01321.google.cloud." + - "dialogflow.v2beta1.Intent.Parameter\022A\n\010m", + "dialogflow.v2beta1.Intent.Parameter\022A\n\010m" + "essages\030\016 \003(\0132/.google.cloud.dialogflow." + "v2beta1.Intent.Message\022\\\n\032default_respon" + "se_platforms\030\017 \003(\01628.google.cloud.dialog" + @@ -222,7 +222,7 @@ public static void registerAllExtensions( "_intent_info\030\022 \003(\0132:.google.cloud.dialog" + "flow.v2beta1.Intent.FollowupIntentInfo\032\331" + "\002\n\016TrainingPhrase\022\014\n\004name\030\001 \001(\t\022I\n\004type\030" + - "\002 \001(\0162;.google.cloud.dialogflow.v2beta1.", + "\002 \001(\0162;.google.cloud.dialogflow.v2beta1." + "Intent.TrainingPhrase.Type\022J\n\005parts\030\003 \003(" + "\0132;.google.cloud.dialogflow.v2beta1.Inte" + "nt.TrainingPhrase.Part\022\031\n\021times_added_co" + @@ -232,7 +232,7 @@ public static void registerAllExtensions( "\013\n\007EXAMPLE\020\001\022\014\n\010TEMPLATE\020\002\032\254\001\n\tParameter" + "\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\r\n\005" + "value\030\003 \001(\t\022\025\n\rdefault_value\030\004 \001(\t\022 \n\030en" + - "tity_type_display_name\030\005 \001(\t\022\021\n\tmandator", + "tity_type_display_name\030\005 \001(\t\022\021\n\tmandator" + "y\030\006 \001(\010\022\017\n\007prompts\030\007 \003(\t\022\017\n\007is_list\030\010 \001(" + "\010\032\215\026\n\007Message\022D\n\004text\030\001 \001(\01324.google.clo" + "ud.dialogflow.v2beta1.Intent.Message.Tex" + @@ -242,7 +242,7 @@ public static void registerAllExtensions( "flow.v2beta1.Intent.Message.QuickReplies" + "H\000\022D\n\004card\030\004 \001(\01324.google.cloud.dialogfl" + "ow.v2beta1.Intent.Message.CardH\000\022*\n\007payl" + - "oad\030\005 \001(\0132\027.google.protobuf.StructH\000\022[\n\020", + "oad\030\005 \001(\0132\027.google.protobuf.StructH\000\022[\n\020" + "simple_responses\030\007 \001(\0132?.google.cloud.di" + "alogflow.v2beta1.Intent.Message.SimpleRe" + "sponsesH\000\022O\n\nbasic_card\030\010 \001(\01329.google.c" + @@ -252,7 +252,7 @@ public static void registerAllExtensions( ".SuggestionsH\000\022`\n\023link_out_suggestion\030\n " + "\001(\0132A.google.cloud.dialogflow.v2beta1.In" + "tent.Message.LinkOutSuggestionH\000\022Q\n\013list" + - "_select\030\013 \001(\0132:.google.cloud.dialogflow.", + "_select\030\013 \001(\0132:.google.cloud.dialogflow." + "v2beta1.Intent.Message.ListSelectH\000\022Y\n\017c" + "arousel_select\030\014 \001(\0132>.google.cloud.dial" + "ogflow.v2beta1.Intent.Message.CarouselSe" + @@ -262,7 +262,7 @@ public static void registerAllExtensions( "ge_uri\030\001 \001(\t\022\032\n\022accessibility_text\030\002 \001(\t" + "\0324\n\014QuickReplies\022\r\n\005title\030\001 \001(\t\022\025\n\rquick" + "_replies\030\002 \003(\t\032\262\001\n\004Card\022\r\n\005title\030\001 \001(\t\022\020" + - "\n\010subtitle\030\002 \001(\t\022\021\n\timage_uri\030\003 \001(\t\022L\n\007b", + "\n\010subtitle\030\002 \001(\t\022\021\n\timage_uri\030\003 \001(\t\022L\n\007b" + "uttons\030\004 \003(\0132;.google.cloud.dialogflow.v" + "2beta1.Intent.Message.Card.Button\032(\n\006But" + "ton\022\014\n\004text\030\001 \001(\t\022\020\n\010postback\030\002 \001(\t\032L\n\016S" + @@ -272,7 +272,7 @@ public static void registerAllExtensions( ".google.cloud.dialogflow.v2beta1.Intent." + "Message.SimpleResponse\032\376\002\n\tBasicCard\022\r\n\005" + "title\030\001 \001(\t\022\020\n\010subtitle\030\002 \001(\t\022\026\n\016formatt" + - "ed_text\030\003 \001(\t\022D\n\005image\030\004 \001(\01325.google.cl", + "ed_text\030\003 \001(\t\022D\n\005image\030\004 \001(\01325.google.cl" + "oud.dialogflow.v2beta1.Intent.Message.Im" + "age\022Q\n\007buttons\030\005 \003(\0132@.google.cloud.dial" + "ogflow.v2beta1.Intent.Message.BasicCard." + @@ -282,7 +282,7 @@ public static void registerAllExtensions( "ton.OpenUriAction\032\034\n\rOpenUriAction\022\013\n\003ur" + "i\030\001 \001(\t\032\033\n\nSuggestion\022\r\n\005title\030\001 \001(\t\032^\n\013" + "Suggestions\022O\n\013suggestions\030\001 \003(\0132:.googl" + - "e.cloud.dialogflow.v2beta1.Intent.Messag", + "e.cloud.dialogflow.v2beta1.Intent.Messag" + "e.Suggestion\032:\n\021LinkOutSuggestion\022\030\n\020des" + "tination_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\032\254\002\n\nLis" + "tSelect\022\r\n\005title\030\001 \001(\t\022N\n\005items\030\002 \003(\0132?." + @@ -292,7 +292,7 @@ public static void registerAllExtensions( "Intent.Message.SelectItemInfo\022\r\n\005title\030\002" + " \001(\t\022\023\n\013description\030\003 \001(\t\022D\n\005image\030\004 \001(\013" + "25.google.cloud.dialogflow.v2beta1.Inten" + - "t.Message.Image\032\245\002\n\016CarouselSelect\022R\n\005it", + "t.Message.Image\032\245\002\n\016CarouselSelect\022R\n\005it" + "ems\030\001 \003(\0132C.google.cloud.dialogflow.v2be" + "ta1.Intent.Message.CarouselSelect.Item\032\276" + "\001\n\004Item\022L\n\004info\030\001 \001(\0132>.google.cloud.dia" + @@ -302,7 +302,7 @@ public static void registerAllExtensions( "ow.v2beta1.Intent.Message.Image\032/\n\016Selec" + "tItemInfo\022\013\n\003key\030\001 \001(\t\022\020\n\010synonyms\030\002 \003(\t" + "\"\213\001\n\010Platform\022\030\n\024PLATFORM_UNSPECIFIED\020\000\022" + - "\014\n\010FACEBOOK\020\001\022\t\n\005SLACK\020\002\022\014\n\010TELEGRAM\020\003\022\007", + "\014\n\010FACEBOOK\020\001\022\t\n\005SLACK\020\002\022\014\n\010TELEGRAM\020\003\022\007" + "\n\003KIK\020\004\022\t\n\005SKYPE\020\005\022\010\n\004LINE\020\006\022\t\n\005VIBER\020\007\022" + "\025\n\021ACTIONS_ON_GOOGLE\020\010B\t\n\007message\032W\n\022Fol" + "lowupIntentInfo\022\034\n\024followup_intent_name\030" + @@ -312,7 +312,7 @@ public static void registerAllExtensions( "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING\020\002" + "\"\244\001\n\022ListIntentsRequest\022\016\n\006parent\030\001 \001(\t\022" + "\025\n\rlanguage_code\030\002 \001(\t\022@\n\013intent_view\030\003 " + - "\001(\0162+.google.cloud.dialogflow.v2beta1.In", + "\001(\0162+.google.cloud.dialogflow.v2beta1.In" + "tentView\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_toke" + "n\030\005 \001(\t\"h\n\023ListIntentsResponse\0228\n\007intent" + "s\030\001 \003(\0132\'.google.cloud.dialogflow.v2beta" + @@ -322,7 +322,7 @@ public static void registerAllExtensions( ".cloud.dialogflow.v2beta1.IntentView\"\267\001\n" + "\023CreateIntentRequest\022\016\n\006parent\030\001 \001(\t\0227\n\006" + "intent\030\002 \001(\0132\'.google.cloud.dialogflow.v" + - "2beta1.Intent\022\025\n\rlanguage_code\030\003 \001(\t\022@\n\013", + "2beta1.Intent\022\025\n\rlanguage_code\030\003 \001(\t\022@\n\013" + "intent_view\030\004 \001(\0162+.google.cloud.dialogf" + "low.v2beta1.IntentView\"\330\001\n\023UpdateIntentR" + "equest\0227\n\006intent\030\001 \001(\0132\'.google.cloud.di" + @@ -332,7 +332,7 @@ public static void registerAllExtensions( "oogle.cloud.dialogflow.v2beta1.IntentVie" + "w\"#\n\023DeleteIntentRequest\022\014\n\004name\030\001 \001(\t\"\256" + "\002\n\031BatchUpdateIntentsRequest\022\016\n\006parent\030\001" + - " \001(\t\022\032\n\020intent_batch_uri\030\002 \001(\tH\000\022K\n\023inte", + " \001(\t\022\032\n\020intent_batch_uri\030\002 \001(\tH\000\022K\n\023inte" + "nt_batch_inline\030\003 \001(\0132,.google.cloud.dia" + "logflow.v2beta1.IntentBatchH\000\022\025\n\rlanguag" + "e_code\030\004 \001(\t\022/\n\013update_mask\030\005 \001(\0132\032.goog" + @@ -342,7 +342,7 @@ public static void registerAllExtensions( "tentsResponse\0228\n\007intents\030\001 \003(\0132\'.google." + "cloud.dialogflow.v2beta1.Intent\"e\n\031Batch" + "DeleteIntentsRequest\022\016\n\006parent\030\001 \001(\t\0228\n\007" + - "intents\030\002 \003(\0132\'.google.cloud.dialogflow.", + "intents\030\002 \003(\0132\'.google.cloud.dialogflow." + "v2beta1.Intent\"G\n\013IntentBatch\0228\n\007intents" + "\030\001 \003(\0132\'.google.cloud.dialogflow.v2beta1" + ".Intent*?\n\nIntentView\022\033\n\027INTENT_VIEW_UNS" + @@ -352,7 +352,7 @@ public static void registerAllExtensions( "le.cloud.dialogflow.v2beta1.ListIntentsR" + "esponse\"2\202\323\344\223\002,\022*/v2beta1/{parent=projec" + "ts/*/agent}/intents\022\233\001\n\tGetIntent\0221.goog" + - "le.cloud.dialogflow.v2beta1.GetIntentReq", + "le.cloud.dialogflow.v2beta1.GetIntentReq" + "uest\032\'.google.cloud.dialogflow.v2beta1.I" + "ntent\"2\202\323\344\223\002,\022*/v2beta1/{name=projects/*" + "/agent/intents/*}\022\251\001\n\014CreateIntent\0224.goo" + @@ -362,7 +362,7 @@ public static void registerAllExtensions( "ects/*/agent}/intents:\006intent\022\260\001\n\014Update" + "Intent\0224.google.cloud.dialogflow.v2beta1" + ".UpdateIntentRequest\032\'.google.cloud.dial" + - "ogflow.v2beta1.Intent\"A\202\323\344\223\002;21/v2beta1/", + "ogflow.v2beta1.Intent\"A\202\323\344\223\002;21/v2beta1/" + "{intent.name=projects/*/agent/intents/*}" + ":\006intent\022\220\001\n\014DeleteIntent\0224.google.cloud" + ".dialogflow.v2beta1.DeleteIntentRequest\032" + @@ -372,7 +372,7 @@ public static void registerAllExtensions( "flow.v2beta1.BatchUpdateIntentsRequest\032\035" + ".google.longrunning.Operation\"A\202\323\344\223\002;\"6/" + "v2beta1/{parent=projects/*/agent}/intent" + - "s:batchUpdate:\001*\022\262\001\n\022BatchDeleteIntents\022", + "s:batchUpdate:\001*\022\262\001\n\022BatchDeleteIntents\022" + ":.google.cloud.dialogflow.v2beta1.BatchD" + "eleteIntentsRequest\032\035.google.longrunning" + ".Operation\"A\202\323\344\223\002;\"6/v2beta1/{parent=pro" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java index 87d232ca4c27..2858ba3a4919 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java @@ -35,6 +35,9 @@ private ListContextsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -803,7 +806,7 @@ public ListContextsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListContextsRequest(input, extensionRegistry); + return new ListContextsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java index 55b135eb2dce..8eb1ddb2a8ac 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java @@ -34,6 +34,9 @@ private ListContextsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public ListContextsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListContextsResponse(input, extensionRegistry); + return new ListContextsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java index 5b1e08abb28e..c8a436ba5381 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java @@ -36,6 +36,9 @@ private ListEntityTypesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -951,7 +954,7 @@ public ListEntityTypesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEntityTypesRequest(input, extensionRegistry); + return new ListEntityTypesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java index 5da302edb917..1e94fbd19db6 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java @@ -34,6 +34,9 @@ private ListEntityTypesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public ListEntityTypesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEntityTypesResponse(input, extensionRegistry); + return new ListEntityTypesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java index a5c3ddd96966..3ee34ee09cd6 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java @@ -37,6 +37,9 @@ private ListIntentsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1062,7 +1065,7 @@ public ListIntentsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListIntentsRequest(input, extensionRegistry); + return new ListIntentsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java index 56906c7810dc..e9575b2194ce 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java @@ -34,6 +34,9 @@ private ListIntentsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public ListIntentsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListIntentsResponse(input, extensionRegistry); + return new ListIntentsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java index 2454623392a3..253bd49a1e67 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java @@ -35,6 +35,9 @@ private ListSessionEntityTypesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -803,7 +806,7 @@ public ListSessionEntityTypesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSessionEntityTypesRequest(input, extensionRegistry); + return new ListSessionEntityTypesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java index 64290ad11413..1cd43fe82840 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java @@ -34,6 +34,9 @@ private ListSessionEntityTypesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public ListSessionEntityTypesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSessionEntityTypesResponse(input, extensionRegistry); + return new ListSessionEntityTypesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java index f7488167fb82..940b6ef5d2d6 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java @@ -34,6 +34,9 @@ private OriginalDetectIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -778,7 +781,7 @@ public OriginalDetectIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new OriginalDetectIntentRequest(input, extensionRegistry); + return new OriginalDetectIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInput.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInput.java index e926d0064014..29e7d40b122b 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInput.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInput.java @@ -36,6 +36,9 @@ private QueryInput( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1205,7 +1208,7 @@ public QueryInput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryInput(input, extensionRegistry); + return new QueryInput(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java index e16fdb4d5e37..f0a8e0164c14 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java @@ -36,6 +36,9 @@ private QueryParameters( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2042,7 +2045,7 @@ public QueryParameters parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryParameters(input, extensionRegistry); + return new QueryParameters(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java index 2f6bd364e245..ba508db57eb1 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java @@ -42,6 +42,9 @@ private QueryResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3396,7 +3399,7 @@ public QueryResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryResult(input, extensionRegistry); + return new QueryResult(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java index 17b315ac2593..ed50e07975c4 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java @@ -33,6 +33,9 @@ private RestoreAgentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -927,7 +930,7 @@ public RestoreAgentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RestoreAgentRequest(input, extensionRegistry); + return new RestoreAgentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java index fb2b535a3939..73262cd7359b 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java @@ -35,6 +35,9 @@ private SearchAgentsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -768,7 +771,7 @@ public SearchAgentsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAgentsRequest(input, extensionRegistry); + return new SearchAgentsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java index b79294508fc5..6b02e4236b44 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java @@ -34,6 +34,9 @@ private SearchAgentsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public SearchAgentsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAgentsResponse(input, extensionRegistry); + return new SearchAgentsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java index 35143568f385..5f15ccf1f5dc 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java @@ -39,6 +39,9 @@ private SessionEntityType( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1320,7 +1323,7 @@ public SessionEntityType parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SessionEntityType(input, extensionRegistry); + return new SessionEntityType(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java index 275d8de5c437..040f77fe39d0 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java @@ -67,7 +67,7 @@ public static void registerAllExtensions( "\021SessionEntityType\022\014\n\004name\030\001 \001(\t\022c\n\024enti" + "ty_override_mode\030\002 \001(\0162E.google.cloud.di" + "alogflow.v2beta1.SessionEntityType.Entit" + - "yOverrideMode\022D\n\010entities\030\003 \003(\01322.google", + "yOverrideMode\022D\n\010entities\030\003 \003(\01322.google" + ".cloud.dialogflow.v2beta1.EntityType.Ent" + "ity\"\202\001\n\022EntityOverrideMode\022$\n ENTITY_OVE" + "RRIDE_MODE_UNSPECIFIED\020\000\022!\n\035ENTITY_OVERR" + @@ -77,7 +77,7 @@ public static void registerAllExtensions( " \001(\005\022\022\n\npage_token\030\003 \001(\t\"\213\001\n\036ListSession" + "EntityTypesResponse\022P\n\024session_entity_ty" + "pes\030\001 \003(\01322.google.cloud.dialogflow.v2be" + - "ta1.SessionEntityType\022\027\n\017next_page_token", + "ta1.SessionEntityType\022\027\n\017next_page_token" + "\030\002 \001(\t\"+\n\033GetSessionEntityTypeRequest\022\014\n" + "\004name\030\001 \001(\t\"\201\001\n\036CreateSessionEntityTypeR" + "equest\022\016\n\006parent\030\001 \001(\t\022O\n\023session_entity" + @@ -87,7 +87,7 @@ public static void registerAllExtensions( "e\030\001 \001(\01322.google.cloud.dialogflow.v2beta" + "1.SessionEntityType\022/\n\013update_mask\030\002 \001(\013" + "2\032.google.protobuf.FieldMask\".\n\036DeleteSe" + - "ssionEntityTypeRequest\022\014\n\004name\030\001 \001(\t2\313\014\n", + "ssionEntityTypeRequest\022\014\n\004name\030\001 \001(\t2\313\014\n" + "\022SessionEntityTypes\022\262\002\n\026ListSessionEntit" + "yTypes\022>.google.cloud.dialogflow.v2beta1" + ".ListSessionEntityTypesRequest\032?.google." + @@ -97,7 +97,7 @@ public static void registerAllExtensions( "ypesZR\022P/v2beta1/{parent=projects/*/agen" + "t/environments/*/users/*/sessions/*}/ent" + "ityTypes\022\241\002\n\024GetSessionEntityType\022<.goog" + - "le.cloud.dialogflow.v2beta1.GetSessionEn", + "le.cloud.dialogflow.v2beta1.GetSessionEn" + "tityTypeRequest\0322.google.cloud.dialogflo" + "w.v2beta1.SessionEntityType\"\226\001\202\323\344\223\002\217\001\0229/" + "v2beta1/{name=projects/*/agent/sessions/" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "tityType\022?.google.cloud.dialogflow.v2bet" + "a1.CreateSessionEntityTypeRequest\0322.goog" + "le.cloud.dialogflow.v2beta1.SessionEntit" + - "yType\"\300\001\202\323\344\223\002\271\001\"9/v2beta1/{parent=projec", + "yType\"\300\001\202\323\344\223\002\271\001\"9/v2beta1/{parent=projec" + "ts/*/agent/sessions/*}/entityTypes:\023sess" + "ion_entity_typeZg\"P/v2beta1/{parent=proj" + "ects/*/agent/environments/*/users/*/sess" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "tyTypeRequest\0322.google.cloud.dialogflow." + "v2beta1.SessionEntityType\"\350\001\202\323\344\223\002\341\0012M/v2" + "beta1/{session_entity_type.name=projects" + - "/*/agent/sessions/*/entityTypes/*}:\023sess", + "/*/agent/sessions/*/entityTypes/*}:\023sess" + "ion_entity_typeZ{2d/v2beta1/{session_ent" + "ity_type.name=projects/*/agent/environme" + "nts/*/users/*/sessions/*/entityTypes/*}:" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "le.protobuf.Empty\"\226\001\202\323\344\223\002\217\001*9/v2beta1/{n" + "ame=projects/*/agent/sessions/*/entityTy" + "pes/*}ZR*P/v2beta1/{name=projects/*/agen" + - "t/environments/*/users/*/sessions/*/enti", + "t/environments/*/users/*/sessions/*/enti" + "tyTypes/*}B\264\001\n#com.google.cloud.dialogfl" + "ow.v2beta1B\026SessionEntityTypeProtoP\001ZIgo" + "ogle.golang.org/genproto/googleapis/clou" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java index 205886aa222e..ecc37a3f3691 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java @@ -87,7 +87,7 @@ public static void registerAllExtensions( "sion_entity_type.proto\032\034google/protobuf/" + "struct.proto\032\027google/rpc/status.proto\032\030g" + "oogle/type/latlng.proto\"\305\001\n\023DetectIntent" + - "Request\022\017\n\007session\030\001 \001(\t\022F\n\014query_params", + "Request\022\017\n\007session\030\001 \001(\t\022F\n\014query_params" + "\030\002 \001(\01320.google.cloud.dialogflow.v2beta1" + ".QueryParameters\022@\n\013query_input\030\003 \001(\0132+." + "google.cloud.dialogflow.v2beta1.QueryInp" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( "beta1.QueryResult\022*\n\016webhook_status\030\003 \001(" + "\0132\022.google.rpc.Status\"\237\002\n\017QueryParameter" + "s\022\021\n\ttime_zone\030\001 \001(\t\022)\n\014geo_location\030\002 \001" + - "(\0132\023.google.type.LatLng\022:\n\010contexts\030\003 \003(", + "(\0132\023.google.type.LatLng\022:\n\010contexts\030\003 \003(" + "\0132(.google.cloud.dialogflow.v2beta1.Cont" + "ext\022\026\n\016reset_contexts\030\004 \001(\010\022P\n\024session_e" + "ntity_types\030\005 \003(\01322.google.cloud.dialogf" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "oud.dialogflow.v2beta1.InputAudioConfigH" + "\000\022:\n\004text\030\002 \001(\0132*.google.cloud.dialogflo" + "w.v2beta1.TextInputH\000\022<\n\005event\030\003 \001(\0132+.g" + - "oogle.cloud.dialogflow.v2beta1.EventInpu", + "oogle.cloud.dialogflow.v2beta1.EventInpu" + "tH\000B\007\n\005input\"\307\004\n\013QueryResult\022\022\n\nquery_te" + "xt\030\001 \001(\t\022\025\n\rlanguage_code\030\017 \001(\t\022%\n\035speec" + "h_recognition_confidence\030\002 \001(\002\022\016\n\006action" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "lfillment_messages\030\007 \003(\0132/.google.cloud." + "dialogflow.v2beta1.Intent.Message\022\026\n\016web" + "hook_source\030\010 \001(\t\0220\n\017webhook_payload\030\t \001" + - "(\0132\027.google.protobuf.Struct\022A\n\017output_co", + "(\0132\027.google.protobuf.Struct\022A\n\017output_co" + "ntexts\030\n \003(\0132(.google.cloud.dialogflow.v" + "2beta1.Context\0227\n\006intent\030\013 \001(\0132\'.google." + "cloud.dialogflow.v2beta1.Intent\022#\n\033inten" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "on\030\001 \001(\t\022F\n\014query_params\030\002 \001(\01320.google." + "cloud.dialogflow.v2beta1.QueryParameters" + "\022@\n\013query_input\030\003 \001(\0132+.google.cloud.dia" + - "logflow.v2beta1.QueryInput\022\030\n\020single_utt", + "logflow.v2beta1.QueryInput\022\030\n\020single_utt" + "erance\030\004 \001(\010\022\023\n\013input_audio\030\006 \001(\014\"\375\001\n\035St" + "reamingDetectIntentResponse\022\023\n\013response_" + "id\030\001 \001(\t\022W\n\022recognition_result\030\002 \001(\0132;.g" + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "esult\022*\n\016webhook_status\030\004 \001(\0132\022.google.r" + "pc.Status\"\217\002\n\032StreamingRecognitionResult" + "\022]\n\014message_type\030\001 \001(\0162G.google.cloud.di" + - "alogflow.v2beta1.StreamingRecognitionRes", + "alogflow.v2beta1.StreamingRecognitionRes" + "ult.MessageType\022\022\n\ntranscript\030\002 \001(\t\022\020\n\010i" + "s_final\030\003 \001(\010\022\022\n\nconfidence\030\004 \001(\002\"X\n\013Mes" + "sageType\022\034\n\030MESSAGE_TYPE_UNSPECIFIED\020\000\022\016" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "a1.AudioEncoding\022\031\n\021sample_rate_hertz\030\002 " + "\001(\005\022\025\n\rlanguage_code\030\003 \001(\t\022\024\n\014phrase_hin" + "ts\030\004 \003(\t\"0\n\tTextInput\022\014\n\004text\030\001 \001(\t\022\025\n\rl" + - "anguage_code\030\002 \001(\t\"^\n\nEventInput\022\014\n\004name", + "anguage_code\030\002 \001(\t\"^\n\nEventInput\022\014\n\004name" + "\030\001 \001(\t\022+\n\nparameters\030\002 \001(\0132\027.google.prot" + "obuf.Struct\022\025\n\rlanguage_code\030\003 \001(\t*\373\001\n\rA" + "udioEncoding\022\036\n\032AUDIO_ENCODING_UNSPECIFI" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "NCODING_AMR_WB\020\005\022\033\n\027AUDIO_ENCODING_OGG_O" + "PUS\020\006\022)\n%AUDIO_ENCODING_SPEEX_WITH_HEADE" + "R_BYTE\020\0072\310\003\n\010Sessions\022\236\002\n\014DetectIntent\0224" + - ".google.cloud.dialogflow.v2beta1.DetectI", + ".google.cloud.dialogflow.v2beta1.DetectI" + "ntentRequest\0325.google.cloud.dialogflow.v" + "2beta1.DetectIntentResponse\"\240\001\202\323\344\223\002\231\001\";/" + "v2beta1/{session=projects/*/agent/sessio" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "mingDetectIntent\022=.google.cloud.dialogfl" + "ow.v2beta1.StreamingDetectIntentRequest\032" + ">.google.cloud.dialogflow.v2beta1.Stream" + - "ingDetectIntentResponse(\0010\001B\252\001\n#com.goog", + "ingDetectIntentResponse(\0010\001B\252\001\n#com.goog" + "le.cloud.dialogflow.v2beta1B\014SessionProt" + "oP\001ZIgoogle.golang.org/genproto/googleap" + "is/cloud/dialogflow/v2beta1;dialogflow\370\001" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java index dcb4195d5ada..865b176c5fe9 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java @@ -42,6 +42,9 @@ private StreamingDetectIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1306,7 +1309,7 @@ public StreamingDetectIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingDetectIntentRequest(input, extensionRegistry); + return new StreamingDetectIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java index c0603315fe5b..afa9054dde97 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java @@ -41,6 +41,9 @@ private StreamingDetectIntentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1238,7 +1241,7 @@ public StreamingDetectIntentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingDetectIntentResponse(input, extensionRegistry); + return new StreamingDetectIntentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java index c0ac5a76866c..928cdf935eac 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java @@ -55,6 +55,9 @@ private StreamingRecognitionResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1019,7 +1022,7 @@ public StreamingRecognitionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingRecognitionResult(input, extensionRegistry); + return new StreamingRecognitionResult(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInput.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInput.java index dcb34bc01546..074b6eb8ead6 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInput.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInput.java @@ -34,6 +34,9 @@ private TextInput( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -711,7 +714,7 @@ public TextInput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TextInput(input, extensionRegistry); + return new TextInput(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java index a822ebb2e085..899aee42caea 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java @@ -33,6 +33,9 @@ private TrainAgentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public TrainAgentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TrainAgentRequest(input, extensionRegistry); + return new TrainAgentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java index 0f1050633cb7..2e9f2687c2c8 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java @@ -32,6 +32,9 @@ private UpdateContextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -831,7 +834,7 @@ public UpdateContextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateContextRequest(input, extensionRegistry); + return new UpdateContextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java index dee4a6016379..9d3011bb946a 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java @@ -33,6 +33,9 @@ private UpdateEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1026,7 +1029,7 @@ public UpdateEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateEntityTypeRequest(input, extensionRegistry); + return new UpdateEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java index e492f6f85f6b..446ddcd2e4fa 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java @@ -34,6 +34,9 @@ private UpdateIntentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1137,7 +1140,7 @@ public UpdateIntentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateIntentRequest(input, extensionRegistry); + return new UpdateIntentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java index 29c355af5483..4ab91ac3e97d 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java @@ -32,6 +32,9 @@ private UpdateSessionEntityTypeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -915,7 +918,7 @@ public UpdateSessionEntityTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateSessionEntityTypeRequest(input, extensionRegistry); + return new UpdateSessionEntityTypeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java index 429a5f22c886..37563a7ad253 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java @@ -47,7 +47,7 @@ public static void registerAllExtensions( "sion.proto\032\034google/protobuf/struct.proto" + "\"\340\001\n\016WebhookRequest\022\017\n\007session\030\004 \001(\t\022\023\n\013" + "response_id\030\001 \001(\t\022B\n\014query_result\030\002 \001(\0132" + - ",.google.cloud.dialogflow.v2beta1.QueryR", + ",.google.cloud.dialogflow.v2beta1.QueryR" + "esult\022d\n\036original_detect_intent_request\030" + "\003 \001(\0132<.google.cloud.dialogflow.v2beta1." + "OriginalDetectIntentRequest\"\302\002\n\017WebhookR" + @@ -57,7 +57,7 @@ public static void registerAllExtensions( "ce\030\003 \001(\t\022(\n\007payload\030\004 \001(\0132\027.google.proto" + "buf.Struct\022A\n\017output_contexts\030\005 \003(\0132(.go" + "ogle.cloud.dialogflow.v2beta1.Context\022I\n" + - "\024followup_event_input\030\006 \001(\0132+.google.clo", + "\024followup_event_input\030\006 \001(\0132+.google.clo" + "ud.dialogflow.v2beta1.EventInput\"W\n\033Orig" + "inalDetectIntentRequest\022\016\n\006source\030\001 \001(\t\022" + "(\n\007payload\030\003 \001(\0132\027.google.protobuf.Struc" + diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequest.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequest.java index 4ef6bb7becc6..3417425b879e 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequest.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequest.java @@ -34,6 +34,9 @@ private WebhookRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1186,7 +1189,7 @@ public WebhookRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebhookRequest(input, extensionRegistry); + return new WebhookRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java index f31a4c3eafe3..c94087813bde 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java @@ -36,6 +36,9 @@ private WebhookResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2333,7 +2336,7 @@ public WebhookResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebhookResponse(input, extensionRegistry); + return new WebhookResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java index d6ab38f3efe9..f050d50fb8e5 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java @@ -32,6 +32,9 @@ private Action( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -165,6 +168,9 @@ private SaveFindings( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -690,7 +696,7 @@ public SaveFindings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SaveFindings(input, extensionRegistry); + return new SaveFindings(input, extensionRegistry); } }; @@ -768,6 +774,9 @@ private PublishToPubSub( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1285,7 +1294,7 @@ public PublishToPubSub parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PublishToPubSub(input, extensionRegistry); + return new PublishToPubSub(input, extensionRegistry); } }; @@ -1346,6 +1355,9 @@ private PublishSummaryToCscc( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -1695,7 +1707,7 @@ public PublishSummaryToCscc parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PublishSummaryToCscc(input, extensionRegistry); + return new PublishSummaryToCscc(input, extensionRegistry); } }; @@ -2795,7 +2807,7 @@ public Action parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Action(input, extensionRegistry); + return new Action(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java index 4d3aa7e60f1b..0d99f490cca9 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java @@ -32,6 +32,9 @@ private AnalyzeDataSourceRiskDetails( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -303,6 +306,9 @@ private NumericalStatsResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1564,7 +1570,7 @@ public NumericalStatsResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NumericalStatsResult(input, extensionRegistry); + return new NumericalStatsResult(input, extensionRegistry); } }; @@ -1661,6 +1667,9 @@ private CategoricalStatsResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1834,6 +1843,9 @@ private CategoricalStatsHistogramBucket( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2929,7 +2941,7 @@ public CategoricalStatsHistogramBucket parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CategoricalStatsHistogramBucket(input, extensionRegistry); + return new CategoricalStatsHistogramBucket(input, extensionRegistry); } }; @@ -3671,7 +3683,7 @@ public CategoricalStatsResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CategoricalStatsResult(input, extensionRegistry); + return new CategoricalStatsResult(input, extensionRegistry); } }; @@ -3768,6 +3780,9 @@ private KAnonymityResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3921,6 +3936,9 @@ private KAnonymityEquivalenceClass( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4825,7 +4843,7 @@ public KAnonymityEquivalenceClass parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KAnonymityEquivalenceClass(input, extensionRegistry); + return new KAnonymityEquivalenceClass(input, extensionRegistry); } }; @@ -4963,6 +4981,9 @@ private KAnonymityHistogramBucket( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6058,7 +6079,7 @@ public KAnonymityHistogramBucket parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KAnonymityHistogramBucket(input, extensionRegistry); + return new KAnonymityHistogramBucket(input, extensionRegistry); } }; @@ -6800,7 +6821,7 @@ public KAnonymityResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KAnonymityResult(input, extensionRegistry); + return new KAnonymityResult(input, extensionRegistry); } }; @@ -6897,6 +6918,9 @@ private LDiversityResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -7099,6 +7123,9 @@ private LDiversityEquivalenceClass( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -8484,7 +8511,7 @@ public LDiversityEquivalenceClass parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityEquivalenceClass(input, extensionRegistry); + return new LDiversityEquivalenceClass(input, extensionRegistry); } }; @@ -8624,6 +8651,9 @@ private LDiversityHistogramBucket( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -9727,7 +9757,7 @@ public LDiversityHistogramBucket parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityHistogramBucket(input, extensionRegistry); + return new LDiversityHistogramBucket(input, extensionRegistry); } }; @@ -10469,7 +10499,7 @@ public LDiversityResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityResult(input, extensionRegistry); + return new LDiversityResult(input, extensionRegistry); } }; @@ -10602,6 +10632,9 @@ private KMapEstimationResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -10744,6 +10777,9 @@ private KMapEstimationQuasiIdValues( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -11598,7 +11634,7 @@ public KMapEstimationQuasiIdValues parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationQuasiIdValues(input, extensionRegistry); + return new KMapEstimationQuasiIdValues(input, extensionRegistry); } }; @@ -11747,6 +11783,9 @@ private KMapEstimationHistogramBucket( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -12853,7 +12892,7 @@ public KMapEstimationHistogramBucket parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationHistogramBucket(input, extensionRegistry); + return new KMapEstimationHistogramBucket(input, extensionRegistry); } }; @@ -13757,7 +13796,7 @@ public KMapEstimationResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationResult(input, extensionRegistry); + return new KMapEstimationResult(input, extensionRegistry); } }; @@ -15525,7 +15564,7 @@ public AnalyzeDataSourceRiskDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeDataSourceRiskDetails(input, extensionRegistry); + return new AnalyzeDataSourceRiskDetails(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java index 720d218e048b..efa4ba50a694 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java @@ -33,6 +33,9 @@ private BigQueryKey( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -681,7 +684,7 @@ public BigQueryKey parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryKey(input, extensionRegistry); + return new BigQueryKey(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java index 1b09579425c6..f736f8eb78bb 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java @@ -35,6 +35,9 @@ private BigQueryOptions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1360,7 +1363,7 @@ public BigQueryOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryOptions(input, extensionRegistry); + return new BigQueryOptions(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java index 3b8fb263e702..6dce2b5159c5 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java @@ -39,6 +39,9 @@ private BigQueryTable( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -853,7 +856,7 @@ public BigQueryTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryTable(input, extensionRegistry); + return new BigQueryTable(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java index bd23c5cd52d4..92636ae03245 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java @@ -36,6 +36,9 @@ private BoundingBox( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -669,7 +672,7 @@ public BoundingBox parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BoundingBox(input, extensionRegistry); + return new BoundingBox(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java index 0386445905a1..bb4015cd4b68 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java @@ -40,6 +40,9 @@ private BucketingConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -208,6 +211,9 @@ private Bucket( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1260,7 +1266,7 @@ public Bucket parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Bucket(input, extensionRegistry); + return new Bucket(input, extensionRegistry); } }; @@ -2009,7 +2015,7 @@ public BucketingConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BucketingConfig(input, extensionRegistry); + return new BucketingConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java index 9117e9b35f67..ac8b6044e227 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java @@ -34,6 +34,9 @@ private ByteContentItem( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -704,7 +707,7 @@ public ByteContentItem parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ByteContentItem(input, extensionRegistry); + return new ByteContentItem(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java index a8f0f163b0b1..3515151e80bc 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java @@ -33,6 +33,9 @@ private CancelDlpJobRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public CancelDlpJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelDlpJobRequest(input, extensionRegistry); + return new CancelDlpJobRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java index 070f77e6733b..4cfde45042a3 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java @@ -41,6 +41,9 @@ private CharacterMaskConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1214,7 +1217,7 @@ public CharacterMaskConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CharacterMaskConfig(input, extensionRegistry); + return new CharacterMaskConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java index 26c074fe655d..cd8901edb08a 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java @@ -33,6 +33,9 @@ private CharsToIgnore( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -876,7 +879,7 @@ public CharsToIgnore parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CharsToIgnore(input, extensionRegistry); + return new CharsToIgnore(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java index 471bfd525af1..9f911bc1426b 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java @@ -37,6 +37,9 @@ private CloudStorageOptions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -319,6 +322,9 @@ private FileSet( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -821,7 +827,7 @@ public FileSet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FileSet(input, extensionRegistry); + return new FileSet(input, extensionRegistry); } }; @@ -1845,7 +1851,7 @@ public CloudStorageOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudStorageOptions(input, extensionRegistry); + return new CloudStorageOptions(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java index 60af0172decc..cad5bded62f2 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java @@ -33,6 +33,9 @@ private CloudStoragePath( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public CloudStoragePath parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudStoragePath(input, extensionRegistry); + return new CloudStoragePath(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java index e62d05390ad7..5ae2521c6e3c 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java @@ -35,6 +35,9 @@ private Color( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -604,7 +607,7 @@ public Color parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Color(input, extensionRegistry); + return new Color(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java index 9fbc9d363d8c..d4d0a43aa8c4 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java @@ -32,6 +32,9 @@ private ContentItem( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1127,7 +1130,7 @@ public ContentItem parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ContentItem(input, extensionRegistry); + return new ContentItem(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java index 888a65acd154..a431aa8a9d78 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java @@ -34,6 +34,9 @@ private ContentLocation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1800,7 +1803,7 @@ public ContentLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ContentLocation(input, extensionRegistry); + return new ContentLocation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java index 80eef6749387..57b912dad49e 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java @@ -34,6 +34,9 @@ private CreateDeidentifyTemplateRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -940,7 +943,7 @@ public CreateDeidentifyTemplateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDeidentifyTemplateRequest(input, extensionRegistry); + return new CreateDeidentifyTemplateRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java index e7999b5fbb9b..08a3d33af151 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java @@ -36,6 +36,9 @@ private CreateDlpJobRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1184,7 +1187,7 @@ public CreateDlpJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDlpJobRequest(input, extensionRegistry); + return new CreateDlpJobRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java index 4980fb041383..05c74ccdb76c 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java @@ -34,6 +34,9 @@ private CreateInspectTemplateRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -940,7 +943,7 @@ public CreateInspectTemplateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInspectTemplateRequest(input, extensionRegistry); + return new CreateInspectTemplateRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java index 783c8021aef2..e42f4d72c7b7 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java @@ -34,6 +34,9 @@ private CreateJobTriggerRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -933,7 +936,7 @@ public CreateJobTriggerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateJobTriggerRequest(input, extensionRegistry); + return new CreateJobTriggerRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java index 7a4a644e6791..eec9e1ab2a55 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java @@ -37,6 +37,9 @@ private CryptoHashConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -612,7 +615,7 @@ public CryptoHashConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptoHashConfig(input, extensionRegistry); + return new CryptoHashConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java index 0859fb22c9b6..ad5f9f80653c 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java @@ -36,6 +36,9 @@ private CryptoKey( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1061,7 +1064,7 @@ public CryptoKey parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptoKey(input, extensionRegistry); + return new CryptoKey(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java index ba83d211274d..392830d79eee 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java @@ -41,6 +41,9 @@ private CryptoReplaceFfxFpeConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2134,7 +2137,7 @@ public CryptoReplaceFfxFpeConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptoReplaceFfxFpeConfig(input, extensionRegistry); + return new CryptoReplaceFfxFpeConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java index 7e8474c1d3dc..5f147de9885e 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java @@ -35,6 +35,9 @@ private CustomInfoType( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -254,6 +257,9 @@ private Dictionary( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -401,6 +407,9 @@ private WordList( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -991,7 +1000,7 @@ public WordList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WordList(input, extensionRegistry); + return new WordList(input, extensionRegistry); } }; @@ -1881,7 +1890,7 @@ public Dictionary parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Dictionary(input, extensionRegistry); + return new Dictionary(input, extensionRegistry); } }; @@ -1952,6 +1961,9 @@ private Regex( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2447,7 +2459,7 @@ public Regex parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Regex(input, extensionRegistry); + return new Regex(input, extensionRegistry); } }; @@ -2506,6 +2518,9 @@ private SurrogateType( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -2853,7 +2868,7 @@ public SurrogateType parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SurrogateType(input, extensionRegistry); + return new SurrogateType(input, extensionRegistry); } }; @@ -2934,6 +2949,9 @@ private DetectionRule( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3044,6 +3062,9 @@ private Proximity( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3532,7 +3553,7 @@ public Proximity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Proximity(input, extensionRegistry); + return new Proximity(input, extensionRegistry); } }; @@ -3620,6 +3641,9 @@ private LikelihoodAdjustment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4279,7 +4303,7 @@ public LikelihoodAdjustment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LikelihoodAdjustment(input, extensionRegistry); + return new LikelihoodAdjustment(input, extensionRegistry); } }; @@ -4428,6 +4452,9 @@ private HotwordRule( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5541,7 +5568,7 @@ public HotwordRule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new HotwordRule(input, extensionRegistry); + return new HotwordRule(input, extensionRegistry); } }; @@ -6167,7 +6194,7 @@ public DetectionRule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectionRule(input, extensionRegistry); + return new DetectionRule(input, extensionRegistry); } }; @@ -8087,7 +8114,7 @@ public CustomInfoType parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CustomInfoType(input, extensionRegistry); + return new CustomInfoType(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java index d9375f5b8f16..be1c703ffaad 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java @@ -32,6 +32,9 @@ private DatastoreKey( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public DatastoreKey parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DatastoreKey(input, extensionRegistry); + return new DatastoreKey(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java index b40497e6720c..8eb622c8b66e 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java @@ -32,6 +32,9 @@ private DatastoreOptions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -843,7 +846,7 @@ public DatastoreOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DatastoreOptions(input, extensionRegistry); + return new DatastoreOptions(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java index 79da29303de6..fc16b416fea7 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java @@ -35,6 +35,9 @@ private DateShiftConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1128,7 +1131,7 @@ public DateShiftConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DateShiftConfig(input, extensionRegistry); + return new DateShiftConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java index 902c1edc943f..9dc009961a00 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java @@ -33,6 +33,9 @@ private DateTime( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -160,6 +163,9 @@ private TimeZone( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -574,7 +580,7 @@ public TimeZone parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeZone(input, extensionRegistry); + return new TimeZone(input, extensionRegistry); } }; @@ -1532,7 +1538,7 @@ public DateTime parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DateTime(input, extensionRegistry); + return new DateTime(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java index 7316173aba3e..308a43349013 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java @@ -32,6 +32,9 @@ private DeidentifyConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -981,7 +984,7 @@ public DeidentifyConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyConfig(input, extensionRegistry); + return new DeidentifyConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java index 30df5dc65cd8..0b604283fc34 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java @@ -35,6 +35,9 @@ private DeidentifyContentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1629,7 +1632,7 @@ public DeidentifyContentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyContentRequest(input, extensionRegistry); + return new DeidentifyContentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java index 9f8e107e42a7..af1b3dbc51a0 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java @@ -32,6 +32,9 @@ private DeidentifyContentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -831,7 +834,7 @@ public DeidentifyContentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyContentResponse(input, extensionRegistry); + return new DeidentifyContentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java index eac0b722b7d2..47d7bff6a12b 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java @@ -35,6 +35,9 @@ private DeidentifyTemplate( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1546,7 +1549,7 @@ public DeidentifyTemplate parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyTemplate(input, extensionRegistry); + return new DeidentifyTemplate(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java index c30192b173f3..ed624c3b93c0 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java @@ -33,6 +33,9 @@ private DeleteDeidentifyTemplateRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public DeleteDeidentifyTemplateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDeidentifyTemplateRequest(input, extensionRegistry); + return new DeleteDeidentifyTemplateRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java index 94a64d67a896..52dd21ea700c 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java @@ -33,6 +33,9 @@ private DeleteDlpJobRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public DeleteDlpJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDlpJobRequest(input, extensionRegistry); + return new DeleteDlpJobRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java index 3bf757981ea4..39e03244ba58 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java @@ -33,6 +33,9 @@ private DeleteInspectTemplateRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public DeleteInspectTemplateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInspectTemplateRequest(input, extensionRegistry); + return new DeleteInspectTemplateRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java index 332e8e5676da..eecb04d1cf9b 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java @@ -33,6 +33,9 @@ private DeleteJobTriggerRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteJobTriggerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteJobTriggerRequest(input, extensionRegistry); + return new DeleteJobTriggerRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java index e6539a195bf2..e0e1cb7e54ad 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java @@ -37,6 +37,9 @@ private DlpJob( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2785,7 +2788,7 @@ public DlpJob parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DlpJob(input, extensionRegistry); + return new DlpJob(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java index 9f2b1d7668e3..230c5e95f850 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java @@ -677,7 +677,7 @@ public static void registerAllExtensions( "stamp.proto\032\027google/rpc/status.proto\032\026go" + "ogle/type/date.proto\032\033google/type/dayofw" + "eek.proto\032\033google/type/timeofday.proto\"\213" + - "\005\n\rInspectConfig\0223\n\ninfo_types\030\001 \003(\0132\037.g", + "\005\n\rInspectConfig\0223\n\ninfo_types\030\001 \003(\0132\037.g" + "oogle.privacy.dlp.v2.InfoType\0229\n\016min_lik" + "elihood\030\002 \001(\0162!.google.privacy.dlp.v2.Li" + "kelihood\022B\n\006limits\030\003 \001(\01322.google.privac" + @@ -687,7 +687,7 @@ public static void registerAllExtensions( "gle.privacy.dlp.v2.CustomInfoType\022=\n\017con" + "tent_options\030\010 \003(\0162$.google.privacy.dlp." + "v2.ContentOption\032\221\002\n\rFindingLimits\022\035\n\025ma" + - "x_findings_per_item\030\001 \001(\005\022 \n\030max_finding", + "x_findings_per_item\030\001 \001(\005\022 \n\030max_finding" + "s_per_request\030\002 \001(\005\022d\n\032max_findings_per_" + "info_type\030\003 \003(\0132@.google.privacy.dlp.v2." + "InspectConfig.FindingLimits.InfoTypeLimi" + @@ -697,7 +697,7 @@ public static void registerAllExtensions( "\030\001 \001(\01620.google.privacy.dlp.v2.ByteConte" + "ntItem.BytesType\022\014\n\004data\030\002 \001(\014\"~\n\tBytesT" + "ype\022\032\n\026BYTES_TYPE_UNSPECIFIED\020\000\022\t\n\005IMAGE" + - "\020\006\022\016\n\nIMAGE_JPEG\020\001\022\r\n\tIMAGE_BMP\020\002\022\r\n\tIMA", + "\020\006\022\016\n\nIMAGE_JPEG\020\001\022\r\n\tIMAGE_BMP\020\002\022\r\n\tIMA" + "GE_PNG\020\003\022\r\n\tIMAGE_SVG\020\004\022\r\n\tTEXT_UTF8\020\005\"\227" + "\001\n\013ContentItem\022\017\n\005value\030\003 \001(\tH\000\022-\n\005table" + "\030\004 \001(\0132\034.google.privacy.dlp.v2.TableH\000\022;" + @@ -707,7 +707,7 @@ public static void registerAllExtensions( ".v2.FieldId\022.\n\004rows\030\002 \003(\0132 .google.priva" + "cy.dlp.v2.Table.Row\0323\n\003Row\022,\n\006values\030\001 \003" + "(\0132\034.google.privacy.dlp.v2.Value\"]\n\rInsp" + - "ectResult\0220\n\010findings\030\001 \003(\0132\036.google.pri", + "ectResult\0220\n\010findings\030\001 \003(\0132\036.google.pri" + "vacy.dlp.v2.Finding\022\032\n\022findings_truncate" + "d\030\002 \001(\010\"\235\002\n\007Finding\022\r\n\005quote\030\001 \001(\t\0222\n\tin" + "fo_type\030\002 \001(\0132\037.google.privacy.dlp.v2.In" + @@ -717,7 +717,7 @@ public static void registerAllExtensions( "te_time\030\006 \001(\0132\032.google.protobuf.Timestam" + "p\0224\n\nquote_info\030\007 \001(\0132 .google.privacy.d" + "lp.v2.QuoteInfo\"\266\001\n\010Location\0220\n\nbyte_ran" + - "ge\030\001 \001(\0132\034.google.privacy.dlp.v2.Range\0225", + "ge\030\001 \001(\0132\034.google.privacy.dlp.v2.Range\0225" + "\n\017codepoint_range\030\002 \001(\0132\034.google.privacy" + ".dlp.v2.Range\022A\n\021content_locations\030\007 \003(\013" + "2&.google.privacy.dlp.v2.ContentLocation" + @@ -727,7 +727,7 @@ public static void registerAllExtensions( "location\030\003 \001(\0132$.google.privacy.dlp.v2.I" + "mageLocationH\000\022D\n\021document_location\030\005 \001(" + "\0132\'.google.privacy.dlp.v2.DocumentLocati" + - "onH\000\0227\n\023container_timestamp\030\006 \001(\0132\032.goog", + "onH\000\0227\n\023container_timestamp\030\006 \001(\0132\032.goog" + "le.protobuf.Timestamp\022\031\n\021container_versi" + "on\030\007 \001(\tB\n\n\010location\"\'\n\020DocumentLocation" + "\022\023\n\013file_offset\030\001 \001(\003\"\266\001\n\016RecordLocation" + @@ -737,7 +737,7 @@ public static void registerAllExtensions( "on\030\003 \001(\0132$.google.privacy.dlp.v2.TableLo" + "cation\"\"\n\rTableLocation\022\021\n\trow_index\030\001 \001" + "(\003\"#\n\005Range\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"" + - "K\n\rImageLocation\022:\n\016bounding_boxes\030\001 \003(\013", + "K\n\rImageLocation\022:\n\016bounding_boxes\030\001 \003(\013" + "2\".google.privacy.dlp.v2.BoundingBox\"G\n\013" + "BoundingBox\022\013\n\003top\030\001 \001(\005\022\014\n\004left\030\002 \001(\005\022\r" + "\n\005width\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\"\251\003\n\022Redact" + @@ -747,7 +747,7 @@ public static void registerAllExtensions( "\003(\0132>.google.privacy.dlp.v2.RedactImageR" + "equest.ImageRedactionConfig\0229\n\tbyte_item" + "\030\007 \001(\0132&.google.privacy.dlp.v2.ByteConte" + - "ntItem\032\250\001\n\024ImageRedactionConfig\0224\n\tinfo_", + "ntItem\032\250\001\n\024ImageRedactionConfig\0224\n\tinfo_" + "type\030\001 \001(\0132\037.google.privacy.dlp.v2.InfoT" + "ypeH\000\022\031\n\017redact_all_text\030\002 \001(\010H\000\0225\n\017reda" + "ction_color\030\003 \001(\0132\034.google.privacy.dlp.v" + @@ -757,7 +757,7 @@ public static void registerAllExtensions( "xtracted_text\030\002 \001(\t\"\237\002\n\030DeidentifyConten" + "tRequest\022\016\n\006parent\030\001 \001(\t\022B\n\021deidentify_c" + "onfig\030\002 \001(\0132\'.google.privacy.dlp.v2.Deid" + - "entifyConfig\022<\n\016inspect_config\030\003 \001(\0132$.g", + "entifyConfig\022<\n\016inspect_config\030\003 \001(\0132$.g" + "oogle.privacy.dlp.v2.InspectConfig\0220\n\004it" + "em\030\004 \001(\0132\".google.privacy.dlp.v2.Content" + "Item\022\035\n\025inspect_template_name\030\005 \001(\t\022 \n\030d" + @@ -767,7 +767,7 @@ public static void registerAllExtensions( "w\030\002 \001(\0132-.google.privacy.dlp.v2.Transfor" + "mationOverview\"\237\002\n\030ReidentifyContentRequ" + "est\022\016\n\006parent\030\001 \001(\t\022B\n\021reidentify_config" + - "\030\002 \001(\0132\'.google.privacy.dlp.v2.Deidentif", + "\030\002 \001(\0132\'.google.privacy.dlp.v2.Deidentif" + "yConfig\022<\n\016inspect_config\030\003 \001(\0132$.google" + ".privacy.dlp.v2.InspectConfig\0220\n\004item\030\004 " + "\001(\0132\".google.privacy.dlp.v2.ContentItem\022" + @@ -777,7 +777,7 @@ public static void registerAllExtensions( "ivacy.dlp.v2.ContentItem\022?\n\010overview\030\002 \001" + "(\0132-.google.privacy.dlp.v2.Transformatio" + "nOverview\"\266\001\n\025InspectContentRequest\022\016\n\006p" + - "arent\030\001 \001(\t\022<\n\016inspect_config\030\002 \001(\0132$.go", + "arent\030\001 \001(\t\022<\n\016inspect_config\030\002 \001(\0132$.go" + "ogle.privacy.dlp.v2.InspectConfig\0220\n\004ite" + "m\030\003 \001(\0132\".google.privacy.dlp.v2.ContentI" + "tem\022\035\n\025inspect_template_name\030\004 \001(\t\"N\n\026In" + @@ -787,7 +787,7 @@ public static void registerAllExtensions( "le.privacy.dlp.v2.BigQueryTableH\000\022N\n\rout" + "put_schema\030\003 \001(\01627.google.privacy.dlp.v2" + ".OutputStorageConfig.OutputSchema\"\220\001\n\014Ou" + - "tputSchema\022\035\n\031OUTPUT_SCHEMA_UNSPECIFIED\020", + "tputSchema\022\035\n\031OUTPUT_SCHEMA_UNSPECIFIED\020" + "\000\022\021\n\rBASIC_COLUMNS\020\001\022\017\n\013GCS_COLUMNS\020\002\022\025\n" + "\021DATASTORE_COLUMNS\020\003\022\025\n\021BIG_QUERY_COLUMN" + "S\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n\004type\"R\n\rInfoType" + @@ -797,7 +797,7 @@ public static void registerAllExtensions( "ns\030\002 \001(\0132@.google.privacy.dlp.v2.Inspect" + "DataSourceDetails.RequestedOptions\022F\n\006re" + "sult\030\003 \001(\01326.google.privacy.dlp.v2.Inspe" + - "ctDataSourceDetails.Result\032\232\001\n\020Requested", + "ctDataSourceDetails.Result\032\232\001\n\020Requested" + "Options\022I\n\031snapshot_inspect_template\030\001 \001" + "(\0132&.google.privacy.dlp.v2.InspectTempla" + "te\022;\n\njob_config\030\003 \001(\0132\'.google.privacy." + @@ -807,7 +807,7 @@ public static void registerAllExtensions( "gle.privacy.dlp.v2.InfoTypeStats\"{\n\023Info" + "TypeDescription\022\014\n\004name\030\001 \001(\t\022\024\n\014display" + "_name\030\002 \001(\t\022@\n\014supported_by\030\003 \003(\0162*.goog" + - "le.privacy.dlp.v2.InfoTypeSupportedBy\"=\n", + "le.privacy.dlp.v2.InfoTypeSupportedBy\"=\n" + "\024ListInfoTypesRequest\022\025\n\rlanguage_code\030\001" + " \001(\t\022\016\n\006filter\030\002 \001(\t\"W\n\025ListInfoTypesRes" + "ponse\022>\n\ninfo_types\030\001 \003(\0132*.google.priva" + @@ -817,7 +817,7 @@ public static void registerAllExtensions( "\014source_table\030\002 \001(\0132$.google.privacy.dlp" + ".v2.BigQueryTable\022.\n\007actions\030\003 \003(\0132\035.goo" + "gle.privacy.dlp.v2.Action\"\330\014\n\rPrivacyMet" + - "ric\022[\n\026numerical_stats_config\030\001 \001(\01329.go", + "ric\022[\n\026numerical_stats_config\030\001 \001(\01329.go" + "ogle.privacy.dlp.v2.PrivacyMetric.Numeri" + "calStatsConfigH\000\022_\n\030categorical_stats_co" + "nfig\030\002 \001(\0132;.google.privacy.dlp.v2.Priva" + @@ -827,7 +827,7 @@ public static void registerAllExtensions( "\n\022l_diversity_config\030\004 \001(\01325.google.priv" + "acy.dlp.v2.PrivacyMetric.LDiversityConfi" + "gH\000\022\\\n\027k_map_estimation_config\030\005 \001(\01329.g" + - "oogle.privacy.dlp.v2.PrivacyMetric.KMapE", + "oogle.privacy.dlp.v2.PrivacyMetric.KMapE" + "stimationConfigH\000\032E\n\024NumericalStatsConfi" + "g\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2" + ".FieldId\032G\n\026CategoricalStatsConfig\022-\n\005fi" + @@ -837,7 +837,7 @@ public static void registerAllExtensions( "ty_id\030\002 \001(\0132\037.google.privacy.dlp.v2.Enti" + "tyId\032\202\001\n\020LDiversityConfig\0221\n\tquasi_ids\030\001" + " \003(\0132\036.google.privacy.dlp.v2.FieldId\022;\n\023" + - "sensitive_attribute\030\002 \001(\0132\036.google.priva", + "sensitive_attribute\030\002 \001(\0132\036.google.priva" + "cy.dlp.v2.FieldId\032\350\005\n\024KMapEstimationConf" + "ig\022X\n\tquasi_ids\030\001 \003(\0132E.google.privacy.d" + "lp.v2.PrivacyMetric.KMapEstimationConfig" + @@ -847,7 +847,7 @@ public static void registerAllExtensions( "uxiliaryTable\032\273\001\n\013TaggedField\022-\n\005field\030\001" + " \001(\0132\036.google.privacy.dlp.v2.FieldId\0224\n\t" + "info_type\030\002 \001(\0132\037.google.privacy.dlp.v2." + - "InfoTypeH\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010infe", + "InfoTypeH\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010infe" + "rred\030\004 \001(\0132\026.google.protobuf.EmptyH\000B\005\n\003" + "tag\032\276\002\n\016AuxiliaryTable\0223\n\005table\030\003 \001(\0132$." + "google.privacy.dlp.v2.BigQueryTable\022h\n\tq" + @@ -857,7 +857,7 @@ public static void registerAllExtensions( "ncy\030\002 \001(\0132\036.google.privacy.dlp.v2.FieldI" + "d\032Q\n\014QuasiIdField\022-\n\005field\030\001 \001(\0132\036.googl" + "e.privacy.dlp.v2.FieldId\022\022\n\ncustom_tag\030\002" + - " \001(\tB\006\n\004type\"\214\030\n\034AnalyzeDataSourceRiskDe", + " \001(\tB\006\n\004type\"\214\030\n\034AnalyzeDataSourceRiskDe" + "tails\022F\n\030requested_privacy_metric\030\001 \001(\0132" + "$.google.privacy.dlp.v2.PrivacyMetric\022D\n" + "\026requested_source_table\030\002 \001(\0132$.google.p" + @@ -867,7 +867,7 @@ public static void registerAllExtensions( "alStatsResultH\000\022n\n\030categorical_stats_res" + "ult\030\004 \001(\0132J.google.privacy.dlp.v2.Analyz" + "eDataSourceRiskDetails.CategoricalStatsR" + - "esultH\000\022b\n\022k_anonymity_result\030\005 \001(\0132D.go", + "esultH\000\022b\n\022k_anonymity_result\030\005 \001(\0132D.go" + "ogle.privacy.dlp.v2.AnalyzeDataSourceRis" + "kDetails.KAnonymityResultH\000\022b\n\022l_diversi" + "ty_result\030\006 \001(\0132D.google.privacy.dlp.v2." + @@ -877,7 +877,7 @@ public static void registerAllExtensions( "ceRiskDetails.KMapEstimationResultH\000\032\257\001\n" + "\024NumericalStatsResult\022/\n\tmin_value\030\001 \001(\013" + "2\034.google.privacy.dlp.v2.Value\022/\n\tmax_va" + - "lue\030\002 \001(\0132\034.google.privacy.dlp.v2.Value\022", + "lue\030\002 \001(\0132\034.google.privacy.dlp.v2.Value\022" + "5\n\017quantile_values\030\004 \003(\0132\034.google.privac" + "y.dlp.v2.Value\032\215\003\n\026CategoricalStatsResul" + "t\022\225\001\n!value_frequency_histogram_buckets\030" + @@ -887,7 +887,7 @@ public static void registerAllExtensions( "tegoricalStatsHistogramBucket\022#\n\033value_f" + "requency_lower_bound\030\001 \001(\003\022#\n\033value_freq" + "uency_upper_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003" + - " \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.google.pri", + " \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.google.pri" + "vacy.dlp.v2.ValueFrequency\022\032\n\022bucket_val" + "ue_count\030\005 \001(\003\032\265\004\n\020KAnonymityResult\022\213\001\n#" + "equivalence_class_histogram_buckets\030\005 \003(" + @@ -897,7 +897,7 @@ public static void registerAllExtensions( "ceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034.goog" + "le.privacy.dlp.v2.Value\022\036\n\026equivalence_c" + "lass_size\030\002 \001(\003\032\234\002\n\031KAnonymityHistogramB" + - "ucket\022*\n\"equivalence_class_size_lower_bo", + "ucket\022*\n\"equivalence_class_size_lower_bo" + "und\030\001 \001(\003\022*\n\"equivalence_class_size_uppe" + "r_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbu" + "cket_values\030\004 \003(\0132_.google.privacy.dlp.v" + @@ -907,7 +907,7 @@ public static void registerAllExtensions( "ult\022\223\001\n+sensitive_value_frequency_histog" + "ram_buckets\030\005 \003(\0132^.google.privacy.dlp.v" + "2.AnalyzeDataSourceRiskDetails.LDiversit" + - "yResult.LDiversityHistogramBucket\032\340\001\n\032LD", + "yResult.LDiversityHistogramBucket\032\340\001\n\032LD" + "iversityEquivalenceClass\0226\n\020quasi_ids_va" + "lues\030\001 \003(\0132\034.google.privacy.dlp.v2.Value" + "\022\036\n\026equivalence_class_size\030\002 \001(\003\022%\n\035num_" + @@ -917,7 +917,7 @@ public static void registerAllExtensions( "gramBucket\022-\n%sensitive_value_frequency_" + "lower_bound\030\001 \001(\003\022-\n%sensitive_value_fre" + "quency_upper_bound\030\002 \001(\003\022\023\n\013bucket_size\030" + - "\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.google.pr", + "\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.google.pr" + "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail" + "s.LDiversityResult.LDiversityEquivalence" + "Class\022\032\n\022bucket_value_count\030\005 \001(\003\032\225\004\n\024KM" + @@ -927,7 +927,7 @@ public static void registerAllExtensions( "ionResult.KMapEstimationHistogramBucket\032" + "r\n\033KMapEstimationQuasiIdValues\0226\n\020quasi_" + "ids_values\030\001 \003(\0132\034.google.privacy.dlp.v2" + - ".Value\022\033\n\023estimated_anonymity\030\002 \001(\003\032\373\001\n\035", + ".Value\022\033\n\023estimated_anonymity\030\002 \001(\003\032\373\001\n\035" + "KMapEstimationHistogramBucket\022\025\n\rmin_ano" + "nymity\030\001 \001(\003\022\025\n\rmax_anonymity\030\002 \001(\003\022\023\n\013b" + "ucket_size\030\005 \001(\003\022{\n\rbucket_values\030\006 \003(\0132" + @@ -937,7 +937,7 @@ public static void registerAllExtensions( "unt\030\007 \001(\003B\010\n\006result\"L\n\016ValueFrequency\022+\n" + "\005value\030\001 \001(\0132\034.google.privacy.dlp.v2.Val" + "ue\022\r\n\005count\030\002 \001(\003\"\263\002\n\005Value\022\027\n\rinteger_v" + - "alue\030\001 \001(\003H\000\022\025\n\013float_value\030\002 \001(\001H\000\022\026\n\014s", + "alue\030\001 \001(\003H\000\022\025\n\013float_value\030\002 \001(\001H\000\022\026\n\014s" + "tring_value\030\003 \001(\tH\000\022\027\n\rboolean_value\030\004 \001" + "(\010H\000\0225\n\017timestamp_value\030\005 \001(\0132\032.google.p" + "rotobuf.TimestampH\000\022,\n\ntime_value\030\006 \001(\0132" + @@ -947,7 +947,7 @@ public static void registerAllExtensions( "\006\n\004type\"Q\n\tQuoteInfo\0224\n\tdate_time\030\002 \001(\0132" + "\037.google.privacy.dlp.v2.DateTimeH\000B\016\n\014pa" + "rsed_quote\"\337\001\n\010DateTime\022\037\n\004date\030\001 \001(\0132\021." + - "google.type.Date\022+\n\013day_of_week\030\002 \001(\0162\026.", + "google.type.Date\022+\n\013day_of_week\030\002 \001(\0162\026." + "google.type.DayOfWeek\022$\n\004time\030\003 \001(\0132\026.go" + "ogle.type.TimeOfDay\022;\n\ttime_zone\030\004 \001(\0132(" + ".google.privacy.dlp.v2.DateTime.TimeZone" + @@ -957,7 +957,7 @@ public static void registerAllExtensions( "oTypeTransformationsH\000\022N\n\026record_transfo" + "rmations\030\002 \001(\0132,.google.privacy.dlp.v2.R" + "ecordTransformationsH\000B\020\n\016transformation" + - "\"\234\006\n\027PrimitiveTransformation\022C\n\016replace_", + "\"\234\006\n\027PrimitiveTransformation\022C\n\016replace_" + "config\030\001 \001(\0132).google.privacy.dlp.v2.Rep" + "laceValueConfigH\000\022<\n\rredact_config\030\002 \001(\013" + "2#.google.privacy.dlp.v2.RedactConfigH\000\022" + @@ -967,7 +967,7 @@ public static void registerAllExtensions( "ogle.privacy.dlp.v2.CryptoReplaceFfxFpeC" + "onfigH\000\022V\n\033fixed_size_bucketing_config\030\005" + " \001(\0132/.google.privacy.dlp.v2.FixedSizeBu" + - "cketingConfigH\000\022B\n\020bucketing_config\030\006 \001(", + "cketingConfigH\000\022B\n\020bucketing_config\030\006 \001(" + "\0132&.google.privacy.dlp.v2.BucketingConfi" + "gH\000\022Y\n\035replace_with_info_type_config\030\007 \001" + "(\01320.google.privacy.dlp.v2.ReplaceWithIn" + @@ -977,7 +977,7 @@ public static void registerAllExtensions( "rivacy.dlp.v2.CryptoHashConfigH\000\022C\n\021date" + "_shift_config\030\013 \001(\0132&.google.privacy.dlp" + ".v2.DateShiftConfigH\000B\020\n\016transformation\"" + - "\334\001\n\016TimePartConfig\022G\n\017part_to_extract\030\001 ", + "\334\001\n\016TimePartConfig\022G\n\017part_to_extract\030\001 " + "\001(\0162..google.privacy.dlp.v2.TimePartConf" + "ig.TimePart\"\200\001\n\010TimePart\022\031\n\025TIME_PART_UN" + "SPECIFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\020\n\014DAY_" + @@ -987,7 +987,7 @@ public static void registerAllExtensions( "dlp.v2.CryptoKey\"E\n\022ReplaceValueConfig\022/" + "\n\tnew_value\030\001 \001(\0132\034.google.privacy.dlp.v" + "2.Value\"\033\n\031ReplaceWithInfoTypeConfig\"\016\n\014" + - "RedactConfig\"\266\002\n\rCharsToIgnore\022\034\n\022charac", + "RedactConfig\"\266\002\n\rCharsToIgnore\022\034\n\022charac" + "ters_to_skip\030\001 \001(\tH\000\022_\n\033common_character" + "s_to_ignore\030\002 \001(\01628.google.privacy.dlp.v" + "2.CharsToIgnore.CommonCharsToIgnoreH\000\"\227\001" + @@ -997,7 +997,7 @@ public static void registerAllExtensions( "\n\013PUNCTUATION\020\004\022\016\n\nWHITESPACE\020\005B\014\n\nchara" + "cters\"\243\001\n\023CharacterMaskConfig\022\031\n\021masking" + "_character\030\001 \001(\t\022\026\n\016number_to_mask\030\002 \001(\005" + - "\022\025\n\rreverse_order\030\003 \001(\010\022B\n\024characters_to", + "\022\025\n\rreverse_order\030\003 \001(\010\022B\n\024characters_to" + "_ignore\030\004 \003(\0132$.google.privacy.dlp.v2.Ch" + "arsToIgnore\"\225\001\n\030FixedSizeBucketingConfig" + "\0221\n\013lower_bound\030\001 \001(\0132\034.google.privacy.d" + @@ -1007,7 +1007,7 @@ public static void registerAllExtensions( "2-.google.privacy.dlp.v2.BucketingConfig" + ".Bucket\032\227\001\n\006Bucket\022)\n\003min\030\001 \001(\0132\034.google" + ".privacy.dlp.v2.Value\022)\n\003max\030\002 \001(\0132\034.goo" + - "gle.privacy.dlp.v2.Value\0227\n\021replacement_", + "gle.privacy.dlp.v2.Value\0227\n\021replacement_" + "value\030\003 \001(\0132\034.google.privacy.dlp.v2.Valu" + "e\"\364\003\n\031CryptoReplaceFfxFpeConfig\0224\n\ncrypt" + "o_key\030\001 \001(\0132 .google.privacy.dlp.v2.Cryp" + @@ -1017,7 +1017,7 @@ public static void registerAllExtensions( "FpeConfig.FfxCommonNativeAlphabetH\000\022\031\n\017c" + "ustom_alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022" + "<\n\023surrogate_info_type\030\010 \001(\0132\037.google.pr" + - "ivacy.dlp.v2.InfoType\"\224\001\n\027FfxCommonNativ", + "ivacy.dlp.v2.InfoType\"\224\001\n\027FfxCommonNativ" + "eAlphabet\022*\n&FFX_COMMON_NATIVE_ALPHABET_" + "UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADECIMA" + "L\020\002\022\034\n\030UPPER_CASE_ALPHA_NUMERIC\020\003\022\021\n\rALP" + @@ -1027,7 +1027,7 @@ public static void registerAllExtensions( "\0132).google.privacy.dlp.v2.UnwrappedCrypt" + "oKeyH\000\022A\n\013kms_wrapped\030\003 \001(\0132*.google.pri" + "vacy.dlp.v2.KmsWrappedCryptoKeyH\000B\010\n\006sou" + - "rce\"\"\n\022TransientCryptoKey\022\014\n\004name\030\001 \001(\t\"", + "rce\"\"\n\022TransientCryptoKey\022\014\n\004name\030\001 \001(\t\"" + "!\n\022UnwrappedCryptoKey\022\013\n\003key\030\001 \001(\014\"C\n\023Km" + "sWrappedCryptoKey\022\023\n\013wrapped_key\030\001 \001(\014\022\027" + "\n\017crypto_key_name\030\002 \001(\t\"\270\001\n\017DateShiftCon" + @@ -1037,7 +1037,7 @@ public static void registerAllExtensions( " \001(\0132 .google.privacy.dlp.v2.CryptoKeyH\000" + "B\010\n\006method\"\233\002\n\027InfoTypeTransformations\022^" + "\n\017transformations\030\001 \003(\0132E.google.privacy" + - ".dlp.v2.InfoTypeTransformations.InfoType", + ".dlp.v2.InfoTypeTransformations.InfoType" + "Transformation\032\237\001\n\026InfoTypeTransformatio" + "n\0223\n\ninfo_types\030\001 \003(\0132\037.google.privacy.d" + "lp.v2.InfoType\022P\n\030primitive_transformati" + @@ -1047,7 +1047,7 @@ public static void registerAllExtensions( ".FieldId\0229\n\tcondition\030\003 \001(\0132&.google.pri" + "vacy.dlp.v2.RecordCondition\022R\n\030primitive" + "_transformation\030\004 \001(\0132..google.privacy.d" + - "lp.v2.PrimitiveTransformationH\000\022S\n\031info_", + "lp.v2.PrimitiveTransformationH\000\022S\n\031info_" + "type_transformations\030\005 \001(\0132..google.priv" + "acy.dlp.v2.InfoTypeTransformationsH\000B\020\n\016" + "transformation\"\251\001\n\025RecordTransformations" + @@ -1057,7 +1057,7 @@ public static void registerAllExtensions( "y.dlp.v2.RecordSuppression\"N\n\021RecordSupp" + "ression\0229\n\tcondition\030\001 \001(\0132&.google.priv" + "acy.dlp.v2.RecordCondition\"\322\004\n\017RecordCon" + - "dition\022G\n\013expressions\030\003 \001(\01322.google.pri", + "dition\022G\n\013expressions\030\003 \001(\01322.google.pri" + "vacy.dlp.v2.RecordCondition.Expressions\032" + "\244\001\n\tCondition\022-\n\005field\030\001 \001(\0132\036.google.pr" + "ivacy.dlp.v2.FieldId\022;\n\010operator\030\003 \001(\0162)" + @@ -1077,7 +1077,7 @@ public static void registerAllExtensions( ".privacy.dlp.v2.TransformationSummary\"\237\005" + "\n\025TransformationSummary\0222\n\tinfo_type\030\001 \001" + "(\0132\037.google.privacy.dlp.v2.InfoType\022-\n\005f" + - "ield\030\002 \001(\0132\036.google.privacy.dlp.v2.Field", + "ield\030\002 \001(\0132\036.google.privacy.dlp.v2.Field" + "Id\022F\n\016transformation\030\003 \001(\0132..google.priv" + "acy.dlp.v2.PrimitiveTransformation\022I\n\025fi" + "eld_transformations\030\005 \003(\0132*.google.priva" + @@ -1087,7 +1087,7 @@ public static void registerAllExtensions( "le.privacy.dlp.v2.TransformationSummary." + "SummaryResult\022\031\n\021transformed_bytes\030\007 \001(\003" + "\032\204\001\n\rSummaryResult\022\r\n\005count\030\001 \001(\003\022S\n\004cod" + - "e\030\002 \001(\0162E.google.privacy.dlp.v2.Transfor", + "e\030\002 \001(\0162E.google.privacy.dlp.v2.Transfor" + "mationSummary.TransformationResultCode\022\017" + "\n\007details\030\003 \001(\t\"^\n\030TransformationResultC" + "ode\022*\n&TRANSFORMATION_RESULT_CODE_UNSPEC" + @@ -1097,7 +1097,7 @@ public static void registerAllExtensions( "\001\n\017InspectTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014disp" + "lay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013c" + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" + - "tamp\022/\n\013update_time\030\005 \001(\0132\032.google.proto", + "tamp\022/\n\013update_time\030\005 \001(\0132\032.google.proto" + "buf.Timestamp\022<\n\016inspect_config\030\006 \001(\0132$." + "google.privacy.dlp.v2.InspectConfig\"\363\001\n\022" + "DeidentifyTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014disp" + @@ -1107,7 +1107,7 @@ public static void registerAllExtensions( "buf.Timestamp\022B\n\021deidentify_config\030\006 \001(\013" + "2\'.google.privacy.dlp.v2.DeidentifyConfi" + "g\"\\\n\005Error\022#\n\007details\030\001 \001(\0132\022.google.rpc" + - ".Status\022.\n\ntimestamps\030\002 \003(\0132\032.google.pro", + ".Status\022.\n\ntimestamps\030\002 \003(\0132\032.google.pro" + "tobuf.Timestamp\"\333\004\n\nJobTrigger\022\014\n\004name\030\001" + " \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descriptio" + "n\030\003 \001(\t\022>\n\013inspect_job\030\004 \001(\0132\'.google.pr" + @@ -1117,7 +1117,7 @@ public static void registerAllExtensions( "ivacy.dlp.v2.Error\022/\n\013create_time\030\007 \001(\0132" + "\032.google.protobuf.Timestamp\022/\n\013update_ti" + "me\030\010 \001(\0132\032.google.protobuf.Timestamp\0221\n\r" + - "last_run_time\030\t \001(\0132\032.google.protobuf.Ti", + "last_run_time\030\t \001(\0132\032.google.protobuf.Ti" + "mestamp\0228\n\006status\030\n \001(\0162(.google.privacy" + ".dlp.v2.JobTrigger.Status\032I\n\007Trigger\0223\n\010" + "schedule\030\001 \001(\0132\037.google.privacy.dlp.v2.S" + @@ -1127,7 +1127,7 @@ public static void registerAllExtensions( "_findings\030\001 \001(\0132*.google.privacy.dlp.v2." + "Action.SaveFindingsH\000\022@\n\007pub_sub\030\002 \001(\0132-" + ".google.privacy.dlp.v2.Action.PublishToP" + - "ubSubH\000\022U\n\027publish_summary_to_cscc\030\003 \001(\013", + "ubSubH\000\022U\n\027publish_summary_to_cscc\030\003 \001(\013" + "22.google.privacy.dlp.v2.Action.PublishS" + "ummaryToCsccH\000\032Q\n\014SaveFindings\022A\n\routput" + "_config\030\001 \001(\0132*.google.privacy.dlp.v2.Ou" + @@ -1137,7 +1137,7 @@ public static void registerAllExtensions( "\n\006parent\030\001 \001(\t\022@\n\020inspect_template\030\002 \001(\013" + "2&.google.privacy.dlp.v2.InspectTemplate" + "\022\023\n\013template_id\030\003 \001(\t\"\237\001\n\034UpdateInspectT" + - "emplateRequest\022\014\n\004name\030\001 \001(\t\022@\n\020inspect_", + "emplateRequest\022\014\n\004name\030\001 \001(\t\022@\n\020inspect_" + "template\030\002 \001(\0132&.google.privacy.dlp.v2.I" + "nspectTemplate\022/\n\013update_mask\030\003 \001(\0132\032.go" + "ogle.protobuf.FieldMask\")\n\031GetInspectTem" + @@ -1147,7 +1147,7 @@ public static void registerAllExtensions( "InspectTemplatesResponse\022A\n\021inspect_temp" + "lates\030\001 \003(\0132&.google.privacy.dlp.v2.Insp" + "ectTemplate\022\027\n\017next_page_token\030\002 \001(\t\",\n\034" + - "DeleteInspectTemplateRequest\022\014\n\004name\030\001 \001", + "DeleteInspectTemplateRequest\022\014\n\004name\030\001 \001" + "(\t\"u\n\027CreateJobTriggerRequest\022\016\n\006parent\030" + "\001 \001(\t\0226\n\013job_trigger\030\002 \001(\0132!.google.priv" + "acy.dlp.v2.JobTrigger\022\022\n\ntrigger_id\030\003 \001(" + @@ -1157,7 +1157,7 @@ public static void registerAllExtensions( "2\032.google.protobuf.FieldMask\"$\n\024GetJobTr" + "iggerRequest\022\014\n\004name\030\001 \001(\t\"\276\001\n\023CreateDlp" + "JobRequest\022\016\n\006parent\030\001 \001(\t\022>\n\013inspect_jo" + - "b\030\002 \001(\0132\'.google.privacy.dlp.v2.InspectJ", + "b\030\002 \001(\0132\'.google.privacy.dlp.v2.InspectJ" + "obConfigH\000\022@\n\010risk_job\030\003 \001(\0132,.google.pr" + "ivacy.dlp.v2.RiskAnalysisJobConfigH\000\022\016\n\006" + "job_id\030\004 \001(\tB\005\n\003job\"a\n\026ListJobTriggersRe" + @@ -1167,7 +1167,7 @@ public static void registerAllExtensions( "s\030\001 \003(\0132!.google.privacy.dlp.v2.JobTrigg" + "er\022\027\n\017next_page_token\030\002 \001(\t\"\'\n\027DeleteJob" + "TriggerRequest\022\014\n\004name\030\001 \001(\t\"\335\001\n\020Inspect" + - "JobConfig\022<\n\016storage_config\030\001 \001(\0132$.goog", + "JobConfig\022<\n\016storage_config\030\001 \001(\0132$.goog" + "le.privacy.dlp.v2.StorageConfig\022<\n\016inspe" + "ct_config\030\002 \001(\0132$.google.privacy.dlp.v2." + "InspectConfig\022\035\n\025inspect_template_name\030\003" + @@ -1177,7 +1177,7 @@ public static void registerAllExtensions( "obType\0225\n\005state\030\003 \001(\0162&.google.privacy.d" + "lp.v2.DlpJob.JobState\022K\n\014risk_details\030\004 " + "\001(\01323.google.privacy.dlp.v2.AnalyzeDataS" + - "ourceRiskDetailsH\000\022J\n\017inspect_details\030\005 ", + "ourceRiskDetailsH\000\022J\n\017inspect_details\030\005 " + "\001(\0132/.google.privacy.dlp.v2.InspectDataS" + "ourceDetailsH\000\022/\n\013create_time\030\006 \001(\0132\032.go" + "ogle.protobuf.Timestamp\022.\n\nstart_time\030\007 " + @@ -1187,7 +1187,7 @@ public static void registerAllExtensions( "\034.google.privacy.dlp.v2.Error\"c\n\010JobStat" + "e\022\031\n\025JOB_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020" + "\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010CANCELED\020\004\022\n" + - "\n\006FAILED\020\005B\t\n\007details\" \n\020GetDlpJobReques", + "\n\006FAILED\020\005B\t\n\007details\" \n\020GetDlpJobReques" + "t\022\014\n\004name\030\001 \001(\t\"\214\001\n\022ListDlpJobsRequest\022\016" + "\n\006parent\030\004 \001(\t\022\016\n\006filter\030\001 \001(\t\022\021\n\tpage_s" + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\004type\030\005 " + @@ -1197,7 +1197,7 @@ public static void registerAllExtensions( "token\030\002 \001(\t\"#\n\023CancelDlpJobRequest\022\014\n\004na" + "me\030\001 \001(\t\"#\n\023DeleteDlpJobRequest\022\014\n\004name\030" + "\001 \001(\t\"\216\001\n\037CreateDeidentifyTemplateReques" + - "t\022\016\n\006parent\030\001 \001(\t\022F\n\023deidentify_template", + "t\022\016\n\006parent\030\001 \001(\t\022F\n\023deidentify_template" + "\030\002 \001(\0132).google.privacy.dlp.v2.Deidentif" + "yTemplate\022\023\n\013template_id\030\003 \001(\t\"\250\001\n\037Updat" + "eDeidentifyTemplateRequest\022\014\n\004name\030\001 \001(\t" + @@ -1207,7 +1207,7 @@ public static void registerAllExtensions( "k\",\n\034GetDeidentifyTemplateRequest\022\014\n\004nam" + "e\030\001 \001(\t\"W\n\036ListDeidentifyTemplatesReques" + "t\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\022\021\n" + - "\tpage_size\030\003 \001(\005\"\203\001\n\037ListDeidentifyTempl", + "\tpage_size\030\003 \001(\005\"\203\001\n\037ListDeidentifyTempl" + "atesResponse\022G\n\024deidentify_templates\030\001 \003" + "(\0132).google.privacy.dlp.v2.DeidentifyTem" + "plate\022\027\n\017next_page_token\030\002 \001(\t\"/\n\037Delete" + @@ -1217,7 +1217,7 @@ public static void registerAllExtensions( "\n\023InfoTypeSupportedBy\022\031\n\025ENUM_TYPE_UNSPE" + "CIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANALYSIS\020\002" + "*\273\001\n\022RelationalOperator\022#\n\037RELATIONAL_OP" + - "ERATOR_UNSPECIFIED\020\000\022\014\n\010EQUAL_TO\020\001\022\020\n\014NO", + "ERATOR_UNSPECIFIED\020\000\022\014\n\010EQUAL_TO\020\001\022\020\n\014NO" + "T_EQUAL_TO\020\002\022\020\n\014GREATER_THAN\020\003\022\r\n\tLESS_T" + "HAN\020\004\022\032\n\026GREATER_THAN_OR_EQUALS\020\005\022\027\n\023LES" + "S_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020\007*R\n\nDlpJob" + @@ -1227,7 +1227,7 @@ public static void registerAllExtensions( "ivacy.dlp.v2.InspectContentRequest\032-.goo" + "gle.privacy.dlp.v2.InspectContentRespons" + "e\"2\202\323\344\223\002,\"\'/v2/{parent=projects/*}/conte" + - "nt:inspect:\001*\022\225\001\n\013RedactImage\022).google.p", + "nt:inspect:\001*\022\225\001\n\013RedactImage\022).google.p" + "rivacy.dlp.v2.RedactImageRequest\032*.googl" + "e.privacy.dlp.v2.RedactImageResponse\"/\202\323" + "\344\223\002)\"$/v2/{parent=projects/*}/image:reda" + @@ -1237,7 +1237,7 @@ public static void registerAllExtensions( "sponse\"5\202\323\344\223\002/\"*/v2/{parent=projects/*}/" + "content:deidentify:\001*\022\255\001\n\021ReidentifyCont" + "ent\022/.google.privacy.dlp.v2.ReidentifyCo" + - "ntentRequest\0320.google.privacy.dlp.v2.Rei", + "ntentRequest\0320.google.privacy.dlp.v2.Rei" + "dentifyContentResponse\"5\202\323\344\223\002/\"*/v2/{par" + "ent=projects/*}/content:reidentify:\001*\022\201\001" + "\n\rListInfoTypes\022+.google.privacy.dlp.v2." + @@ -1247,7 +1247,7 @@ public static void registerAllExtensions( "ogle.privacy.dlp.v2.CreateInspectTemplat" + "eRequest\032&.google.privacy.dlp.v2.Inspect" + "Template\"g\202\323\344\223\002a\"-/v2/{parent=organizati" + - "ons/*}/inspectTemplates:\001*Z-\"(/v2/{paren", + "ons/*}/inspectTemplates:\001*Z-\"(/v2/{paren" + "t=projects/*}/inspectTemplates:\001*\022\335\001\n\025Up" + "dateInspectTemplate\0223.google.privacy.dlp" + ".v2.UpdateInspectTemplateRequest\032&.googl" + @@ -1257,7 +1257,7 @@ public static void registerAllExtensions( "ctTemplates/*}:\001*\022\321\001\n\022GetInspectTemplate" + "\0220.google.privacy.dlp.v2.GetInspectTempl" + "ateRequest\032&.google.privacy.dlp.v2.Inspe" + - "ctTemplate\"a\202\323\344\223\002[\022-/v2/{name=organizati", + "ctTemplate\"a\202\323\344\223\002[\022-/v2/{name=organizati" + "ons/*/inspectTemplates/*}Z*\022(/v2/{name=p" + "rojects/*/inspectTemplates/*}\022\342\001\n\024ListIn" + "spectTemplates\0222.google.privacy.dlp.v2.L" + @@ -1267,7 +1267,7 @@ public static void registerAllExtensions( "spectTemplatesZ*\022(/v2/{parent=projects/*" + "}/inspectTemplates\022\307\001\n\025DeleteInspectTemp" + "late\0223.google.privacy.dlp.v2.DeleteInspe" + - "ctTemplateRequest\032\026.google.protobuf.Empt", + "ctTemplateRequest\032\026.google.protobuf.Empt" + "y\"a\202\323\344\223\002[*-/v2/{name=organizations/*/ins" + "pectTemplates/*}Z**(/v2/{name=projects/*" + "/inspectTemplates/*}\022\354\001\n\030CreateDeidentif" + @@ -1277,7 +1277,7 @@ public static void registerAllExtensions( "2/{parent=organizations/*}/deidentifyTem" + "plates:\001*Z0\"+/v2/{parent=projects/*}/dei" + "dentifyTemplates:\001*\022\354\001\n\030UpdateDeidentify" + - "Template\0226.google.privacy.dlp.v2.UpdateD", + "Template\0226.google.privacy.dlp.v2.UpdateD" + "eidentifyTemplateRequest\032).google.privac" + "y.dlp.v2.DeidentifyTemplate\"m\202\323\344\223\002g20/v2" + "/{name=organizations/*/deidentifyTemplat" + @@ -1287,7 +1287,7 @@ public static void registerAllExtensions( "fyTemplateRequest\032).google.privacy.dlp.v" + "2.DeidentifyTemplate\"g\202\323\344\223\002a\0220/v2/{name=" + "organizations/*/deidentifyTemplates/*}Z-" + - "\022+/v2/{name=projects/*/deidentifyTemplat", + "\022+/v2/{name=projects/*/deidentifyTemplat" + "es/*}\022\361\001\n\027ListDeidentifyTemplates\0225.goog" + "le.privacy.dlp.v2.ListDeidentifyTemplate" + "sRequest\0326.google.privacy.dlp.v2.ListDei" + @@ -1297,7 +1297,7 @@ public static void registerAllExtensions( "Templates\022\323\001\n\030DeleteDeidentifyTemplate\0226" + ".google.privacy.dlp.v2.DeleteDeidentifyT" + "emplateRequest\032\026.google.protobuf.Empty\"g" + - "\202\323\344\223\002a*0/v2/{name=organizations/*/deiden", + "\202\323\344\223\002a*0/v2/{name=organizations/*/deiden" + "tifyTemplates/*}Z-*+/v2/{name=projects/*" + "/deidentifyTemplates/*}\022\225\001\n\020CreateJobTri" + "gger\022..google.privacy.dlp.v2.CreateJobTr" + @@ -1307,7 +1307,7 @@ public static void registerAllExtensions( "oogle.privacy.dlp.v2.UpdateJobTriggerReq" + "uest\032!.google.privacy.dlp.v2.JobTrigger\"" + ".\202\323\344\223\002(2#/v2/{name=projects/*/jobTrigger" + - "s/*}:\001*\022\214\001\n\rGetJobTrigger\022+.google.priva", + "s/*}:\001*\022\214\001\n\rGetJobTrigger\022+.google.priva" + "cy.dlp.v2.GetJobTriggerRequest\032!.google." + "privacy.dlp.v2.JobTrigger\"+\202\323\344\223\002%\022#/v2/{" + "name=projects/*/jobTriggers/*}\022\235\001\n\017ListJ" + @@ -1317,7 +1317,7 @@ public static void registerAllExtensions( "parent=projects/*}/jobTriggers\022\207\001\n\020Delet" + "eJobTrigger\022..google.privacy.dlp.v2.Dele" + "teJobTriggerRequest\032\026.google.protobuf.Em" + - "pty\"+\202\323\344\223\002%*#/v2/{name=projects/*/jobTri", + "pty\"+\202\323\344\223\002%*#/v2/{name=projects/*/jobTri" + "ggers/*}\022\205\001\n\014CreateDlpJob\022*.google.priva" + "cy.dlp.v2.CreateDlpJobRequest\032\035.google.p" + "rivacy.dlp.v2.DlpJob\"*\202\323\344\223\002$\"\037/v2/{paren" + @@ -1327,7 +1327,7 @@ public static void registerAllExtensions( "esponse\"\'\202\323\344\223\002!\022\037/v2/{parent=projects/*}" + "/dlpJobs\022|\n\tGetDlpJob\022\'.google.privacy.d" + "lp.v2.GetDlpJobRequest\032\035.google.privacy." + - "dlp.v2.DlpJob\"\'\202\323\344\223\002!\022\037/v2/{name=project", + "dlp.v2.DlpJob\"\'\202\323\344\223\002!\022\037/v2/{name=project" + "s/*/dlpJobs/*}\022{\n\014DeleteDlpJob\022*.google." + "privacy.dlp.v2.DeleteDlpJobRequest\032\026.goo" + "gle.protobuf.Empty\"\'\202\323\344\223\002!*\037/v2/{name=pr" + @@ -1337,7 +1337,7 @@ public static void registerAllExtensions( "ame=projects/*/dlpJobs/*}:cancel:\001*B\215\001\n\031" + "com.google.privacy.dlp.v2B\010DlpProtoP\001Z8g" + "oogle.golang.org/genproto/googleapis/pri" + - "vacy/dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023", + "vacy/dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023" + "Google\\Cloud\\Dlp\\V2b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java index 34c87a549bb2..c1f1d9849930 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java @@ -167,7 +167,7 @@ public static void registerAllExtensions( "2!.google.privacy.dlp.v2.Likelihood\022F\n\nd" + "ictionary\030\002 \001(\01320.google.privacy.dlp.v2." + "CustomInfoType.DictionaryH\000\022<\n\005regex\030\003 \001" + - "(\0132+.google.privacy.dlp.v2.CustomInfoTyp", + "(\0132+.google.privacy.dlp.v2.CustomInfoTyp" + "e.RegexH\000\022M\n\016surrogate_type\030\004 \001(\01323.goog" + "le.privacy.dlp.v2.CustomInfoType.Surroga" + "teTypeH\000\022L\n\017detection_rules\030\007 \003(\01323.goog" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "Dictionary.WordListH\000\022E\n\022cloud_storage_p" + "ath\030\003 \001(\0132\'.google.privacy.dlp.v2.CloudS" + "toragePathH\000\032\031\n\010WordList\022\r\n\005words\030\001 \003(\tB" + - "\010\n\006source\032\030\n\005Regex\022\017\n\007pattern\030\001 \001(\t\032\017\n\rS", + "\010\n\006source\032\030\n\005Regex\022\017\n\007pattern\030\001 \001(\t\032\017\n\rS" + "urrogateType\032\276\004\n\rDetectionRule\022W\n\014hotwor" + "d_rule\030\001 \001(\0132?.google.privacy.dlp.v2.Cus" + "tomInfoType.DetectionRule.HotwordRuleH\000\032" + @@ -187,7 +187,7 @@ public static void registerAllExtensions( "ivacy.dlp.v2.LikelihoodH\000\022\035\n\023relative_li" + "kelihood\030\002 \001(\005H\000B\014\n\nadjustment\032\214\002\n\013Hotwo" + "rdRule\022B\n\rhotword_regex\030\001 \001(\0132+.google.p" + - "rivacy.dlp.v2.CustomInfoType.Regex\022P\n\tpr", + "rivacy.dlp.v2.CustomInfoType.Regex\022P\n\tpr" + "oximity\030\002 \001(\0132=.google.privacy.dlp.v2.Cu" + "stomInfoType.DetectionRule.Proximity\022g\n\025" + "likelihood_adjustment\030\003 \001(\0132H.google.pri" + @@ -197,7 +197,7 @@ public static void registerAllExtensions( "\nproject_id\030\002 \001(\t\022\024\n\014namespace_id\030\004 \001(\t\"" + "\036\n\016KindExpression\022\014\n\004name\030\001 \001(\t\"\201\001\n\020Data" + "storeOptions\0228\n\014partition_id\030\001 \001(\0132\".goo" + - "gle.privacy.dlp.v2.PartitionId\0223\n\004kind\030\002", + "gle.privacy.dlp.v2.PartitionId\0223\n\004kind\030\002" + " \001(\0132%.google.privacy.dlp.v2.KindExpress" + "ion\"\375\002\n\023CloudStorageOptions\022D\n\010file_set\030" + "\001 \001(\01322.google.privacy.dlp.v2.CloudStora" + @@ -207,7 +207,7 @@ public static void registerAllExtensions( "\001(\01627.google.privacy.dlp.v2.CloudStorage" + "Options.SampleMethod\022\033\n\023files_limit_perc" + "ent\030\007 \001(\005\032\026\n\007FileSet\022\013\n\003url\030\001 \001(\t\"H\n\014Sam" + - "pleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIED\020\000", + "pleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIED\020\000" + "\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\" \n\020CloudStor" + "agePath\022\014\n\004path\030\001 \001(\t\"\266\002\n\017BigQueryOption" + "s\022=\n\017table_reference\030\001 \001(\0132$.google.priv" + @@ -217,7 +217,7 @@ public static void registerAllExtensions( "d\030\004 \001(\01623.google.privacy.dlp.v2.BigQuery" + "Options.SampleMethod\"H\n\014SampleMethod\022\035\n\031" + "SAMPLE_METHOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014" + - "RANDOM_START\020\002\"\232\004\n\rStorageConfig\022D\n\021data", + "RANDOM_START\020\002\"\232\004\n\rStorageConfig\022D\n\021data" + "store_options\030\002 \001(\0132\'.google.privacy.dlp" + ".v2.DatastoreOptionsH\000\022K\n\025cloud_storage_" + "options\030\003 \001(\0132*.google.privacy.dlp.v2.Cl" + @@ -227,7 +227,7 @@ public static void registerAllExtensions( "le.privacy.dlp.v2.StorageConfig.Timespan" + "Config\032\332\001\n\016TimespanConfig\022.\n\nstart_time\030" + "\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" + - "_time\030\002 \001(\0132\032.google.protobuf.Timestamp\022", + "_time\030\002 \001(\0132\032.google.protobuf.Timestamp\022" + "7\n\017timestamp_field\030\003 \001(\0132\036.google.privac" + "y.dlp.v2.FieldId\0221\n)enable_auto_populati" + "on_of_timespan_config\030\004 \001(\010B\006\n\004type\"`\n\013B" + @@ -237,7 +237,7 @@ public static void registerAllExtensions( "key\030\001 \001(\0132\032.google.privacy.dlp.v2.Key\"\273\001" + "\n\003Key\0228\n\014partition_id\030\001 \001(\0132\".google.pri" + "vacy.dlp.v2.PartitionId\0224\n\004path\030\002 \003(\0132&." + - "google.privacy.dlp.v2.Key.PathElement\032D\n", + "google.privacy.dlp.v2.Key.PathElement\032D\n" + "\013PathElement\022\014\n\004kind\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000" + "\022\016\n\004name\030\003 \001(\tH\000B\t\n\007id_type\"\216\001\n\tRecordKe" + "y\022<\n\rdatastore_key\030\002 \001(\0132#.google.privac" + @@ -247,7 +247,7 @@ public static void registerAllExtensions( "_id\030\001 \001(\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010table_i" + "d\030\003 \001(\t\"9\n\010EntityId\022-\n\005field\030\001 \001(\0132\036.goo" + "gle.privacy.dlp.v2.FieldId*t\n\nLikelihood" + - "\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UNL", + "\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UNL" + "IKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006L" + "IKELY\020\004\022\017\n\013VERY_LIKELY\020\005*E\n\010FileType\022\031\n\025" + "FILE_TYPE_UNSPECIFIED\020\000\022\017\n\013BINARY_FILE\020\001" + diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java index 8cf94d8d935a..e44848915e92 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java @@ -33,6 +33,9 @@ private DocumentLocation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -452,7 +455,7 @@ public DocumentLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DocumentLocation(input, extensionRegistry); + return new DocumentLocation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java index 58bddf537fde..66f61c263194 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java @@ -36,6 +36,9 @@ private EntityId( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -610,7 +613,7 @@ public EntityId parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityId(input, extensionRegistry); + return new EntityId(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java index e5094c1db271..a2a742bbf05f 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java @@ -35,6 +35,9 @@ private Error( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public Error parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Error(input, extensionRegistry); + return new Error(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java index 871a06095cf4..cb159bd4b946 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java @@ -33,6 +33,9 @@ private FieldId( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public FieldId parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FieldId(input, extensionRegistry); + return new FieldId(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java index 4557fd3dccce..ed11cbc36a85 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java @@ -33,6 +33,9 @@ private FieldTransformation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1698,7 +1701,7 @@ public FieldTransformation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FieldTransformation(input, extensionRegistry); + return new FieldTransformation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java index b76d8153dbe1..8f8d651ada22 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java @@ -34,6 +34,9 @@ private Finding( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1619,7 +1622,7 @@ public Finding parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Finding(input, extensionRegistry); + return new Finding(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java index f2041643dc4a..89ff1a70109f 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java @@ -43,6 +43,9 @@ private FixedSizeBucketingConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1000,7 +1003,7 @@ public FixedSizeBucketingConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FixedSizeBucketingConfig(input, extensionRegistry); + return new FixedSizeBucketingConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java index a4ca34ea01ce..e9c014d59df2 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java @@ -33,6 +33,9 @@ private GetDeidentifyTemplateRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public GetDeidentifyTemplateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDeidentifyTemplateRequest(input, extensionRegistry); + return new GetDeidentifyTemplateRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java index b1ff90c4d18c..5dfbf0ae60b9 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java @@ -33,6 +33,9 @@ private GetDlpJobRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public GetDlpJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDlpJobRequest(input, extensionRegistry); + return new GetDlpJobRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java index 3a3a0b14151b..522e08ead8b5 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java @@ -33,6 +33,9 @@ private GetInspectTemplateRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public GetInspectTemplateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInspectTemplateRequest(input, extensionRegistry); + return new GetInspectTemplateRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java index 8f4b004293cf..36003538ecdf 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java @@ -33,6 +33,9 @@ private GetJobTriggerRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetJobTriggerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetJobTriggerRequest(input, extensionRegistry); + return new GetJobTriggerRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java index 06f6deea4b26..dbccfbea5d2d 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java @@ -33,6 +33,9 @@ private ImageLocation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public ImageLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageLocation(input, extensionRegistry); + return new ImageLocation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java index a51bb53d24ad..9be4992d43e3 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java @@ -33,6 +33,9 @@ private InfoType( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public InfoType parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoType(input, extensionRegistry); + return new InfoType(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java index 0087e1ace88c..ea31c1b003e3 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java @@ -35,6 +35,9 @@ private InfoTypeDescription( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -988,7 +991,7 @@ public InfoTypeDescription parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeDescription(input, extensionRegistry); + return new InfoTypeDescription(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java index eafa669d09ec..e3f9c38e2846 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java @@ -33,6 +33,9 @@ private InfoTypeStats( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -677,7 +680,7 @@ public InfoTypeStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeStats(input, extensionRegistry); + return new InfoTypeStats(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java index 90e53a44c20a..a1976078267f 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java @@ -36,6 +36,9 @@ private InfoTypeTransformations( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -199,6 +202,9 @@ private InfoTypeTransformation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1232,7 +1238,7 @@ public InfoTypeTransformation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeTransformation(input, extensionRegistry); + return new InfoTypeTransformation(input, extensionRegistry); } }; @@ -2000,7 +2006,7 @@ public InfoTypeTransformations parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeTransformations(input, extensionRegistry); + return new InfoTypeTransformations(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java index db069d3e7feb..443424bc7366 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java @@ -40,6 +40,9 @@ private InspectConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -260,6 +263,9 @@ private FindingLimits( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -402,6 +408,9 @@ private InfoTypeLimit( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1082,7 +1091,7 @@ public InfoTypeLimit parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeLimit(input, extensionRegistry); + return new InfoTypeLimit(input, extensionRegistry); } }; @@ -1979,7 +1988,7 @@ public FindingLimits parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FindingLimits(input, extensionRegistry); + return new FindingLimits(input, extensionRegistry); } }; @@ -3882,7 +3891,7 @@ public InspectConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectConfig(input, extensionRegistry); + return new InspectConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java index 41f0fe829384..0010d793e778 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java @@ -34,6 +34,9 @@ private InspectContentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1181,7 +1184,7 @@ public InspectContentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectContentRequest(input, extensionRegistry); + return new InspectContentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java index e4dc22212ed5..84ad62282701 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java @@ -32,6 +32,9 @@ private InspectContentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public InspectContentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectContentResponse(input, extensionRegistry); + return new InspectContentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java index dd1aa0eb2578..95cc0f3a3743 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java @@ -32,6 +32,9 @@ private InspectDataSourceDetails( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -170,6 +173,9 @@ private RequestedOptions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -929,7 +935,7 @@ public RequestedOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RequestedOptions(input, extensionRegistry); + return new RequestedOptions(input, extensionRegistry); } }; @@ -1047,6 +1053,9 @@ private Result( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1994,7 +2003,7 @@ public Result parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Result(input, extensionRegistry); + return new Result(input, extensionRegistry); } }; @@ -2744,7 +2753,7 @@ public InspectDataSourceDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectDataSourceDetails(input, extensionRegistry); + return new InspectDataSourceDetails(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java index 270f1c254cde..ff53e566a90b 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java @@ -30,6 +30,9 @@ private InspectJobConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1455,7 +1458,7 @@ public InspectJobConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectJobConfig(input, extensionRegistry); + return new InspectJobConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java index 3ce3f6bcabfd..6faab9f7d8ce 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java @@ -34,6 +34,9 @@ private InspectResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -908,7 +911,7 @@ public InspectResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectResult(input, extensionRegistry); + return new InspectResult(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java index 85e619930ace..1b3885e8119a 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java @@ -37,6 +37,9 @@ private InspectTemplate( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1550,7 +1553,7 @@ public InspectTemplate parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectTemplate(input, extensionRegistry); + return new InspectTemplate(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java index 53ea8c6d381e..e14c575d77ec 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java @@ -38,6 +38,9 @@ private JobTrigger( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -388,6 +391,9 @@ private Trigger( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1049,7 +1055,7 @@ public Trigger parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Trigger(input, extensionRegistry); + return new Trigger(input, extensionRegistry); } }; @@ -3799,7 +3805,7 @@ public JobTrigger parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new JobTrigger(input, extensionRegistry); + return new JobTrigger(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java index 4669ed7d2e56..b2dcf911d808 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java @@ -36,6 +36,9 @@ private Key( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -200,6 +203,9 @@ private PathElement( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1086,7 +1092,7 @@ public PathElement parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PathElement(input, extensionRegistry); + return new PathElement(input, extensionRegistry); } }; @@ -2235,7 +2241,7 @@ public Key parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Key(input, extensionRegistry); + return new Key(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java index 6d3b529dbefc..4033542a0378 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java @@ -33,6 +33,9 @@ private KindExpression( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public KindExpression parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KindExpression(input, extensionRegistry); + return new KindExpression(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java index 7f039b783f6e..9520e65b1642 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java @@ -37,6 +37,9 @@ private KmsWrappedCryptoKey( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -611,7 +614,7 @@ public KmsWrappedCryptoKey parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KmsWrappedCryptoKey(input, extensionRegistry); + return new KmsWrappedCryptoKey(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java index f23d5e464f5d..43c18793ce8b 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java @@ -35,6 +35,9 @@ private ListDeidentifyTemplatesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -775,7 +778,7 @@ public ListDeidentifyTemplatesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeidentifyTemplatesRequest(input, extensionRegistry); + return new ListDeidentifyTemplatesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java index 6e3dd28c1d3b..a6aa4d989f88 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java @@ -34,6 +34,9 @@ private ListDeidentifyTemplatesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public ListDeidentifyTemplatesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeidentifyTemplatesResponse(input, extensionRegistry); + return new ListDeidentifyTemplatesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java index 33b21ff3495b..a8a10b0a86e9 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java @@ -37,6 +37,9 @@ private ListDlpJobsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1142,7 +1145,7 @@ public ListDlpJobsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDlpJobsRequest(input, extensionRegistry); + return new ListDlpJobsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java index a973a6b89640..7cb8196d0b05 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java @@ -34,6 +34,9 @@ private ListDlpJobsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -968,7 +971,7 @@ public ListDlpJobsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDlpJobsResponse(input, extensionRegistry); + return new ListDlpJobsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java index 20a2df1c63e3..8f255267b5f3 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java @@ -34,6 +34,9 @@ private ListInfoTypesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -704,7 +707,7 @@ public ListInfoTypesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInfoTypesRequest(input, extensionRegistry); + return new ListInfoTypesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java index 0d27ddcef7fa..6d6c1ea3b3f7 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java @@ -33,6 +33,9 @@ private ListInfoTypesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public ListInfoTypesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInfoTypesResponse(input, extensionRegistry); + return new ListInfoTypesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java index 5f79bd81a117..673fc37dc647 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java @@ -35,6 +35,9 @@ private ListInspectTemplatesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -775,7 +778,7 @@ public ListInspectTemplatesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInspectTemplatesRequest(input, extensionRegistry); + return new ListInspectTemplatesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java index 16700e7a1ab1..6de44532b0b6 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java @@ -34,6 +34,9 @@ private ListInspectTemplatesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -975,7 +978,7 @@ public ListInspectTemplatesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInspectTemplatesResponse(input, extensionRegistry); + return new ListInspectTemplatesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java index b1b7f289d27b..35360460013a 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java @@ -36,6 +36,9 @@ private ListJobTriggersRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -989,7 +992,7 @@ public ListJobTriggersRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobTriggersRequest(input, extensionRegistry); + return new ListJobTriggersRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java index b5103de64a5b..fb03fb5befc3 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java @@ -34,6 +34,9 @@ private ListJobTriggersResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -975,7 +978,7 @@ public ListJobTriggersResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobTriggersResponse(input, extensionRegistry); + return new ListJobTriggersResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java index 85b6996faf71..cec049e6379a 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java @@ -33,6 +33,9 @@ private Location( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1366,7 +1369,7 @@ public Location parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Location(input, extensionRegistry); + return new Location(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java index 10c61928d580..28757a9488d4 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java @@ -33,6 +33,9 @@ private OutputStorageConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1079,7 +1082,7 @@ public OutputStorageConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputStorageConfig(input, extensionRegistry); + return new OutputStorageConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java index c9669c5d7731..b1201b61b5c0 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java @@ -38,6 +38,9 @@ private PartitionId( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -691,7 +694,7 @@ public PartitionId parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionId(input, extensionRegistry); + return new PartitionId(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java index 968454b896a5..e6938ce11185 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java @@ -32,6 +32,9 @@ private PrimitiveTransformation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2481,7 +2484,7 @@ public PrimitiveTransformation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PrimitiveTransformation(input, extensionRegistry); + return new PrimitiveTransformation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java index 1e21523e263b..891f3ac385fc 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java @@ -32,6 +32,9 @@ private PrivacyMetric( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -206,6 +209,9 @@ private NumericalStatsConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -789,7 +795,7 @@ public NumericalStatsConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NumericalStatsConfig(input, extensionRegistry); + return new NumericalStatsConfig(input, extensionRegistry); } }; @@ -876,6 +882,9 @@ private CategoricalStatsConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1483,7 +1492,7 @@ public CategoricalStatsConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CategoricalStatsConfig(input, extensionRegistry); + return new CategoricalStatsConfig(input, extensionRegistry); } }; @@ -1649,6 +1658,9 @@ private KAnonymityConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2846,7 +2858,7 @@ public KAnonymityConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KAnonymityConfig(input, extensionRegistry); + return new KAnonymityConfig(input, extensionRegistry); } }; @@ -2978,6 +2990,9 @@ private LDiversityConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4033,7 +4048,7 @@ public LDiversityConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityConfig(input, extensionRegistry); + return new LDiversityConfig(input, extensionRegistry); } }; @@ -4219,6 +4234,9 @@ private KMapEstimationConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4434,6 +4452,9 @@ private TaggedField( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5828,7 +5849,7 @@ public TaggedField parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TaggedField(input, extensionRegistry); + return new TaggedField(input, extensionRegistry); } }; @@ -5987,6 +6008,9 @@ private AuxiliaryTable( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6125,6 +6149,9 @@ private QuasiIdField( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6774,7 +6801,7 @@ public QuasiIdField parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QuasiIdField(input, extensionRegistry); + return new QuasiIdField(input, extensionRegistry); } }; @@ -7981,7 +8008,7 @@ public AuxiliaryTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AuxiliaryTable(input, extensionRegistry); + return new AuxiliaryTable(input, extensionRegistry); } }; @@ -9385,7 +9412,7 @@ public KMapEstimationConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationConfig(input, extensionRegistry); + return new KMapEstimationConfig(input, extensionRegistry); } }; @@ -10721,7 +10748,7 @@ public PrivacyMetric parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivacyMetric(input, extensionRegistry); + return new PrivacyMetric(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java index 1c94778bc619..ed4d2c89497a 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java @@ -32,6 +32,9 @@ private QuoteInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -645,7 +648,7 @@ public QuoteInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QuoteInfo(input, extensionRegistry); + return new QuoteInfo(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java index 530b4b948701..73307b0acf03 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java @@ -34,6 +34,9 @@ private Range( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -523,7 +526,7 @@ public Range parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Range(input, extensionRegistry); + return new Range(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java index 880c3d27a82c..9103aca5b4e6 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java @@ -33,6 +33,9 @@ private RecordCondition( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -203,6 +206,9 @@ private Condition( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1126,7 +1132,7 @@ public Condition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Condition(input, extensionRegistry); + return new Condition(input, extensionRegistry); } }; @@ -1203,6 +1209,9 @@ private Conditions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1888,7 +1897,7 @@ public Conditions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Conditions(input, extensionRegistry); + return new Conditions(input, extensionRegistry); } }; @@ -1975,6 +1984,9 @@ private Expressions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2803,7 +2815,7 @@ public Expressions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Expressions(input, extensionRegistry); + return new Expressions(input, extensionRegistry); } }; @@ -3338,7 +3350,7 @@ public RecordCondition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordCondition(input, extensionRegistry); + return new RecordCondition(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java index 5150d170c7d8..d1155da0b11d 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java @@ -32,6 +32,9 @@ private RecordKey( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -849,7 +852,7 @@ public RecordKey parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordKey(input, extensionRegistry); + return new RecordKey(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java index 60f719879b14..f2b94f40aac3 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java @@ -32,6 +32,9 @@ private RecordLocation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1060,7 +1063,7 @@ public RecordLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordLocation(input, extensionRegistry); + return new RecordLocation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java index dcb3aa7353f4..bd588e42ff43 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java @@ -33,6 +33,9 @@ private RecordSuppression( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -616,7 +619,7 @@ public RecordSuppression parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordSuppression(input, extensionRegistry); + return new RecordSuppression(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java index eb2ee2ae00c6..edc1b0afda88 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java @@ -35,6 +35,9 @@ private RecordTransformations( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1270,7 +1273,7 @@ public RecordTransformations parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordTransformations(input, extensionRegistry); + return new RecordTransformations(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java index 40fb8cf6d964..afc831249c2e 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java @@ -34,6 +34,9 @@ private RedactConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -376,7 +379,7 @@ public RedactConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RedactConfig(input, extensionRegistry); + return new RedactConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java index 290f18da7a9b..dd63eae45295 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java @@ -35,6 +35,9 @@ private RedactImageRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -228,6 +231,9 @@ private ImageRedactionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1259,7 +1265,7 @@ public ImageRedactionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageRedactionConfig(input, extensionRegistry); + return new ImageRedactionConfig(input, extensionRegistry); } }; @@ -2585,7 +2591,7 @@ public RedactImageRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RedactImageRequest(input, extensionRegistry); + return new RedactImageRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java index ba8bf63e08dd..33eae428f3a3 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java @@ -34,6 +34,9 @@ private RedactImageResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -619,7 +622,7 @@ public RedactImageResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RedactImageResponse(input, extensionRegistry); + return new RedactImageResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java index 52b70e30fd06..059acbc62cc3 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java @@ -35,6 +35,9 @@ private ReidentifyContentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1672,7 +1675,7 @@ public ReidentifyContentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReidentifyContentRequest(input, extensionRegistry); + return new ReidentifyContentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java index 90084dea2225..cca4a301596f 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java @@ -32,6 +32,9 @@ private ReidentifyContentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -831,7 +834,7 @@ public ReidentifyContentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReidentifyContentResponse(input, extensionRegistry); + return new ReidentifyContentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java index 6e277b732ca8..b711f4623e9e 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java @@ -32,6 +32,9 @@ private ReplaceValueConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public ReplaceValueConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplaceValueConfig(input, extensionRegistry); + return new ReplaceValueConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java index 8792e0e0ba46..6cec454459ca 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java @@ -32,6 +32,9 @@ private ReplaceWithInfoTypeConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -372,7 +375,7 @@ public ReplaceWithInfoTypeConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplaceWithInfoTypeConfig(input, extensionRegistry); + return new ReplaceWithInfoTypeConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java index d36587fab84a..0d32140f66f6 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java @@ -33,6 +33,9 @@ private RiskAnalysisJobConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1294,7 +1297,7 @@ public RiskAnalysisJobConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RiskAnalysisJobConfig(input, extensionRegistry); + return new RiskAnalysisJobConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java index fb533fc458e6..9c7303c305b3 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java @@ -32,6 +32,9 @@ private Schedule( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -753,7 +756,7 @@ public Schedule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Schedule(input, extensionRegistry); + return new Schedule(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java index c954b420775a..64c22feada3a 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java @@ -32,6 +32,9 @@ private StorageConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -272,6 +275,9 @@ private TimespanConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1471,7 +1477,7 @@ public TimespanConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TimespanConfig(input, extensionRegistry); + return new TimespanConfig(input, extensionRegistry); } }; @@ -2739,7 +2745,7 @@ public StorageConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StorageConfig(input, extensionRegistry); + return new StorageConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java index 2c144de0c4f7..aa4c01bc2f66 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java @@ -34,6 +34,9 @@ private Table( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -154,6 +157,9 @@ private Row( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -835,7 +841,7 @@ public Row parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Row(input, extensionRegistry); + return new Row(input, extensionRegistry); } }; @@ -1815,7 +1821,7 @@ public Table parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Table(input, extensionRegistry); + return new Table(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java index d590c2aacc9e..e62a83c67aed 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java @@ -33,6 +33,9 @@ private TableLocation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -448,7 +451,7 @@ public TableLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TableLocation(input, extensionRegistry); + return new TableLocation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java index 3455cca5f636..635121ebc850 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java @@ -34,6 +34,9 @@ private TimePartConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -649,7 +652,7 @@ public TimePartConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TimePartConfig(input, extensionRegistry); + return new TimePartConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java index 2a9db114640f..9ce0f9352218 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java @@ -34,6 +34,9 @@ private TransformationOverview( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -888,7 +891,7 @@ public TransformationOverview parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationOverview(input, extensionRegistry); + return new TransformationOverview(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java index d04a93302b06..3c7503157d7a 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java @@ -37,6 +37,9 @@ private TransformationSummary( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -342,6 +345,9 @@ private SummaryResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -985,7 +991,7 @@ public SummaryResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SummaryResult(input, extensionRegistry); + return new SummaryResult(input, extensionRegistry); } }; @@ -3041,7 +3047,7 @@ public TransformationSummary parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationSummary(input, extensionRegistry); + return new TransformationSummary(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java index be252f794e96..e61c200437a4 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java @@ -34,6 +34,9 @@ private TransientCryptoKey( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -565,7 +568,7 @@ public TransientCryptoKey parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TransientCryptoKey(input, extensionRegistry); + return new TransientCryptoKey(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java index 11835486b821..68fcbce8fbc3 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java @@ -34,6 +34,9 @@ private UnwrappedCryptoKey( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -452,7 +455,7 @@ public UnwrappedCryptoKey parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UnwrappedCryptoKey(input, extensionRegistry); + return new UnwrappedCryptoKey(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java index 1dfc0ce4bede..dda02e103868 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java @@ -33,6 +33,9 @@ private UpdateDeidentifyTemplateRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1000,7 +1003,7 @@ public UpdateDeidentifyTemplateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateDeidentifyTemplateRequest(input, extensionRegistry); + return new UpdateDeidentifyTemplateRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java index 828f10884cf8..6a9aee82c742 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java @@ -33,6 +33,9 @@ private UpdateInspectTemplateRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1000,7 +1003,7 @@ public UpdateInspectTemplateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateInspectTemplateRequest(input, extensionRegistry); + return new UpdateInspectTemplateRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java index a04982ce8828..daa27aefdfb6 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java @@ -33,6 +33,9 @@ private UpdateJobTriggerRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -993,7 +996,7 @@ public UpdateJobTriggerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateJobTriggerRequest(input, extensionRegistry); + return new UpdateJobTriggerRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java index 44a5719a0ed7..d01e6a98311b 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java @@ -37,6 +37,9 @@ private Value( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1543,7 +1546,7 @@ public Value parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Value(input, extensionRegistry); + return new Value(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java index cf3655cd3ac1..fe41f94fc60c 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java @@ -33,6 +33,9 @@ private ValueFrequency( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -677,7 +680,7 @@ public ValueFrequency parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ValueFrequency(input, extensionRegistry); + return new ValueFrequency(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/CommonProto.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/CommonProto.java index 2c7232cbb3d2..71a1f151e119 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/CommonProto.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/CommonProto.java @@ -67,7 +67,7 @@ public static void registerAllExtensions( "p_id\030\002 \001(\t\022S\n\017tracking_issues\030\003 \003(\0132:.go" + "ogle.devtools.clouderrorreporting.v1beta" + "1.TrackingIssue\"\034\n\rTrackingIssue\022\013\n\003url\030" + - "\001 \001(\t\"\357\001\n\nErrorEvent\022.\n\nevent_time\030\001 \001(\013", + "\001 \001(\t\"\357\001\n\nErrorEvent\022.\n\nevent_time\030\001 \001(\013" + "2\032.google.protobuf.Timestamp\022T\n\017service_" + "context\030\002 \001(\0132;.google.devtools.clouderr" + "orreporting.v1beta1.ServiceContext\022\017\n\007me" + @@ -77,7 +77,7 @@ public static void registerAllExtensions( "(\t\022\017\n\007version\030\003 \001(\t\022\025\n\rresource_type\030\004 \001" + "(\t\"\311\001\n\014ErrorContext\022U\n\014http_request\030\001 \001(" + "\0132?.google.devtools.clouderrorreporting." + - "v1beta1.HttpRequestContext\022\014\n\004user\030\002 \001(\t", + "v1beta1.HttpRequestContext\022\014\n\004user\030\002 \001(\t" + "\022T\n\017report_location\030\003 \001(\0132;.google.devto" + "ols.clouderrorreporting.v1beta1.SourceLo" + "cation\"\210\001\n\022HttpRequestContext\022\016\n\006method\030" + @@ -87,7 +87,7 @@ public static void registerAllExtensions( "ion\022\021\n\tfile_path\030\001 \001(\t\022\023\n\013line_number\030\002 " + "\001(\005\022\025\n\rfunction_name\030\004 \001(\tB\354\001\n/com.googl" + "e.devtools.clouderrorreporting.v1beta1B\013" + - "CommonProtoP\001Z^google.golang.org/genprot", + "CommonProtoP\001Z^google.golang.org/genprot" + "o/googleapis/devtools/clouderrorreportin" + "g/v1beta1;clouderrorreporting\252\002#Google.C" + "loud.ErrorReporting.V1Beta1\312\002#Google\\Clo" + diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsRequest.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsRequest.java index 7dcbb819988f..6026d8f0a5b0 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsRequest.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsRequest.java @@ -33,6 +33,9 @@ private DeleteEventsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -556,7 +559,7 @@ public DeleteEventsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteEventsRequest(input, extensionRegistry); + return new DeleteEventsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsResponse.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsResponse.java index d30b3b22cea5..7711cdea4d89 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsResponse.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsResponse.java @@ -32,6 +32,9 @@ private DeleteEventsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -372,7 +375,7 @@ public DeleteEventsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteEventsResponse(input, extensionRegistry); + return new DeleteEventsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContext.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContext.java index ae00581c4ea0..96314a693073 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContext.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContext.java @@ -36,6 +36,9 @@ private ErrorContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1113,7 +1116,7 @@ public ErrorContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorContext(input, extensionRegistry); + return new ErrorContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEvent.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEvent.java index 583286959f24..b30bc31ab44b 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEvent.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEvent.java @@ -33,6 +33,9 @@ private ErrorEvent( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1239,7 +1242,7 @@ public ErrorEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorEvent(input, extensionRegistry); + return new ErrorEvent(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroup.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroup.java index 53db8027af5a..f88f8d4be0ad 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroup.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroup.java @@ -35,6 +35,9 @@ private ErrorGroup( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1137,7 +1140,7 @@ public ErrorGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorGroup(input, extensionRegistry); + return new ErrorGroup(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceProto.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceProto.java index a8ef22bf952e..ffcce50e6650 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceProto.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceProto.java @@ -42,7 +42,7 @@ public static void registerAllExtensions( "\001(\t\"\\\n\022UpdateGroupRequest\022F\n\005group\030\001 \001(\013" + "27.google.devtools.clouderrorreporting.v" + "1beta1.ErrorGroup2\216\003\n\021ErrorGroupService\022" + - "\264\001\n\010GetGroup\022<.google.devtools.clouderro", + "\264\001\n\010GetGroup\022<.google.devtools.clouderro" + "rreporting.v1beta1.GetGroupRequest\0327.goo" + "gle.devtools.clouderrorreporting.v1beta1" + ".ErrorGroup\"1\202\323\344\223\002+\022)/v1beta1/{group_nam" + @@ -52,7 +52,7 @@ public static void registerAllExtensions( "s.clouderrorreporting.v1beta1.ErrorGroup" + "\"8\202\323\344\223\0022\032)/v1beta1/{group.name=projects/" + "*/groups/*}:\005groupB\367\001\n/com.google.devtoo" + - "ls.clouderrorreporting.v1beta1B\026ErrorGro", + "ls.clouderrorreporting.v1beta1B\026ErrorGro" + "upServiceProtoP\001Z^google.golang.org/genp" + "roto/googleapis/devtools/clouderrorrepor" + "ting/v1beta1;clouderrorreporting\252\002#Googl" + diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStats.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStats.java index 3548431ba28b..66c87daba248 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStats.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStats.java @@ -38,6 +38,9 @@ private ErrorGroupStats( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2676,7 +2679,7 @@ public ErrorGroupStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorGroupStats(input, extensionRegistry); + return new ErrorGroupStats(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceProto.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceProto.java index a824b80172ff..a1b12446a5cc 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceProto.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceProto.java @@ -82,7 +82,7 @@ public static void registerAllExtensions( "ogle/protobuf/timestamp.proto\"\241\004\n\025ListGr" + "oupStatsRequest\022\024\n\014project_name\030\001 \001(\t\022\020\n" + "\010group_id\030\002 \003(\t\022Y\n\016service_filter\030\003 \001(\0132" + - "A.google.devtools.clouderrorreporting.v1", + "A.google.devtools.clouderrorreporting.v1" + "beta1.ServiceContextFilter\022O\n\ntime_range" + "\030\005 \001(\0132;.google.devtools.clouderrorrepor" + "ting.v1beta1.QueryTimeRange\0227\n\024timed_cou" + @@ -92,7 +92,7 @@ public static void registerAllExtensions( "Alignment\0222\n\016alignment_time\030\010 \001(\0132\032.goog" + "le.protobuf.Timestamp\022K\n\005order\030\t \001(\0162<.g" + "oogle.devtools.clouderrorreporting.v1bet" + - "a1.ErrorGroupOrder\022\021\n\tpage_size\030\013 \001(\005\022\022\n", + "a1.ErrorGroupOrder\022\021\n\tpage_size\030\013 \001(\005\022\022\n" + "\npage_token\030\014 \001(\t\"\300\001\n\026ListGroupStatsResp" + "onse\022W\n\021error_group_stats\030\001 \003(\0132<.google" + ".devtools.clouderrorreporting.v1beta1.Er" + @@ -102,7 +102,7 @@ public static void registerAllExtensions( "p\030\001 \001(\01327.google.devtools.clouderrorrepo" + "rting.v1beta1.ErrorGroup\022\r\n\005count\030\002 \001(\003\022" + "\034\n\024affected_users_count\030\003 \001(\003\022M\n\014timed_c" + - "ounts\030\004 \003(\01327.google.devtools.clouderror", + "ounts\030\004 \003(\01327.google.devtools.clouderror" + "reporting.v1beta1.TimedCount\0223\n\017first_se" + "en_time\030\005 \001(\0132\032.google.protobuf.Timestam" + "p\0222\n\016last_seen_time\030\006 \001(\0132\032.google.proto" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "rvices\030\010 \001(\005\022O\n\016representative\030\t \001(\01327.g" + "oogle.devtools.clouderrorreporting.v1bet" + "a1.ErrorEvent\"y\n\nTimedCount\022\r\n\005count\030\001 \001" + - "(\003\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf", + "(\003\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + ".Timestamp\022,\n\010end_time\030\003 \001(\0132\032.google.pr" + "otobuf.Timestamp\"\216\002\n\021ListEventsRequest\022\024" + "\n\014project_name\030\001 \001(\t\022\020\n\010group_id\030\002 \001(\t\022Y" + @@ -122,7 +122,7 @@ public static void registerAllExtensions( "evtools.clouderrorreporting.v1beta1.Quer" + "yTimeRange\022\021\n\tpage_size\030\006 \001(\005\022\022\n\npage_to" + "ken\030\007 \001(\t\"\262\001\n\022ListEventsResponse\022M\n\014erro" + - "r_events\030\001 \003(\01327.google.devtools.clouder", + "r_events\030\001 \003(\01327.google.devtools.clouder" + "rorreporting.v1beta1.ErrorEvent\022\027\n\017next_" + "page_token\030\002 \001(\t\0224\n\020time_range_begin\030\004 \001" + "(\0132\032.google.protobuf.Timestamp\"\347\001\n\016Query" + @@ -132,7 +132,7 @@ public static void registerAllExtensions( "CIFIED\020\000\022\021\n\rPERIOD_1_HOUR\020\001\022\022\n\016PERIOD_6_" + "HOURS\020\002\022\020\n\014PERIOD_1_DAY\020\003\022\021\n\rPERIOD_1_WE" + "EK\020\004\022\022\n\016PERIOD_30_DAYS\020\005\"O\n\024ServiceConte" + - "xtFilter\022\017\n\007service\030\002 \001(\t\022\017\n\007version\030\003 \001", + "xtFilter\022\017\n\007service\030\002 \001(\t\022\017\n\007version\030\003 \001" + "(\t\022\025\n\rresource_type\030\004 \001(\t\"+\n\023DeleteEvent" + "sRequest\022\024\n\014project_name\030\001 \001(\t\"\026\n\024Delete" + "EventsResponse*u\n\023TimedCountAlignment\022%\n" + @@ -142,7 +142,7 @@ public static void registerAllExtensions( "P_ORDER_UNSPECIFIED\020\000\022\016\n\nCOUNT_DESC\020\001\022\022\n" + "\016LAST_SEEN_DESC\020\002\022\020\n\014CREATED_DESC\020\003\022\027\n\023A" + "FFECTED_USERS_DESC\020\0042\362\004\n\021ErrorStatsServi" + - "ce\022\320\001\n\016ListGroupStats\022B.google.devtools.", + "ce\022\320\001\n\016ListGroupStats\022B.google.devtools." + "clouderrorreporting.v1beta1.ListGroupSta" + "tsRequest\032C.google.devtools.clouderrorre" + "porting.v1beta1.ListGroupStatsResponse\"5" + @@ -152,7 +152,7 @@ public static void registerAllExtensions( "ventsRequest\032?.google.devtools.clouderro" + "rreporting.v1beta1.ListEventsResponse\"1\202" + "\323\344\223\002+\022)/v1beta1/{project_name=projects/*" + - "}/events\022\306\001\n\014DeleteEvents\022@.google.devto", + "}/events\022\306\001\n\014DeleteEvents\022@.google.devto" + "ols.clouderrorreporting.v1beta1.DeleteEv" + "entsRequest\032A.google.devtools.clouderror" + "reporting.v1beta1.DeleteEventsResponse\"1" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "ProtoP\001Z^google.golang.org/genproto/goog" + "leapis/devtools/clouderrorreporting/v1be" + "ta1;clouderrorreporting\252\002#Google.Cloud.E" + - "rrorReporting.V1Beta1\312\002#Google\\Cloud\\Err", + "rrorReporting.V1Beta1\312\002#Google\\Cloud\\Err" + "orReporting\\V1beta1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequest.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequest.java index fb79fdd1147d..8931f13f4015 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequest.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequest.java @@ -33,6 +33,9 @@ private GetGroupRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -570,7 +573,7 @@ public GetGroupRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetGroupRequest(input, extensionRegistry); + return new GetGroupRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContext.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContext.java index c7e1d7fe78ac..4afd10104467 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContext.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContext.java @@ -41,6 +41,9 @@ private HttpRequestContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1249,7 +1252,7 @@ public HttpRequestContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new HttpRequestContext(input, extensionRegistry); + return new HttpRequestContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequest.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequest.java index baffd7370d96..4ba32760a943 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequest.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequest.java @@ -36,6 +36,9 @@ private ListEventsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1446,7 +1449,7 @@ public ListEventsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEventsRequest(input, extensionRegistry); + return new ListEventsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponse.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponse.java index 4f3787042288..cadfb27b3d69 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponse.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponse.java @@ -34,6 +34,9 @@ private ListEventsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1211,7 +1214,7 @@ public ListEventsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListEventsResponse(input, extensionRegistry); + return new ListEventsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java index 0c27c08684c5..7d42b07f2f3f 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java @@ -38,6 +38,9 @@ private ListGroupStatsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2302,7 +2305,7 @@ public ListGroupStatsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupStatsRequest(input, extensionRegistry); + return new ListGroupStatsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponse.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponse.java index f69fb284edd0..df34134863fb 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponse.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponse.java @@ -34,6 +34,9 @@ private ListGroupStatsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1247,7 +1250,7 @@ public ListGroupStatsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupStatsResponse(input, extensionRegistry); + return new ListGroupStatsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRange.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRange.java index ee217f9780db..a6d3e71d47fe 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRange.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRange.java @@ -34,6 +34,9 @@ private QueryTimeRange( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -682,7 +685,7 @@ public QueryTimeRange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryTimeRange(input, extensionRegistry); + return new QueryTimeRange(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java index d88793879228..d98608535447 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java @@ -33,6 +33,9 @@ private ReportErrorEventRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -778,7 +781,7 @@ public ReportErrorEventRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReportErrorEventRequest(input, extensionRegistry); + return new ReportErrorEventRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventResponse.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventResponse.java index 0183fdfe61f2..0d2fe243a390 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventResponse.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventResponse.java @@ -33,6 +33,9 @@ private ReportErrorEventResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -374,7 +377,7 @@ public ReportErrorEventResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReportErrorEventResponse(input, extensionRegistry); + return new ReportErrorEventResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceProto.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceProto.java index 03050c5ee946..92f9797f54cd 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceProto.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceProto.java @@ -47,7 +47,7 @@ public static void registerAllExtensions( "\177\n\027ReportErrorEventRequest\022\024\n\014project_na" + "me\030\001 \001(\t\022N\n\005event\030\002 \001(\0132?.google.devtool" + "s.clouderrorreporting.v1beta1.ReportedEr" + - "rorEvent\"\032\n\030ReportErrorEventResponse\"\367\001\n", + "rorEvent\"\032\n\030ReportErrorEventResponse\"\367\001\n" + "\022ReportedErrorEvent\022.\n\nevent_time\030\001 \001(\0132" + "\032.google.protobuf.Timestamp\022T\n\017service_c" + "ontext\030\002 \001(\0132;.google.devtools.clouderro" + @@ -57,7 +57,7 @@ public static void registerAllExtensions( "ontext2\370\001\n\023ReportErrorsService\022\340\001\n\020Repor" + "tErrorEvent\022D.google.devtools.clouderror" + "reporting.v1beta1.ReportErrorEventReques" + - "t\032E.google.devtools.clouderrorreporting.", + "t\032E.google.devtools.clouderrorreporting." + "v1beta1.ReportErrorEventResponse\"?\202\323\344\223\0029" + "\"0/v1beta1/{project_name=projects/*}/eve" + "nts:report:\005eventB\371\001\n/com.google.devtool" + diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEvent.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEvent.java index 20ad60b1b894..ea8e572a9a30 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEvent.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEvent.java @@ -33,6 +33,9 @@ private ReportedErrorEvent( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1260,7 +1263,7 @@ public ReportedErrorEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReportedErrorEvent(input, extensionRegistry); + return new ReportedErrorEvent(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContext.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContext.java index 5703de39d953..9ed6006849ff 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContext.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContext.java @@ -36,6 +36,9 @@ private ServiceContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -903,7 +906,7 @@ public ServiceContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ServiceContext(input, extensionRegistry); + return new ServiceContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilter.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilter.java index a7433d163258..572572fa461e 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilter.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilter.java @@ -38,6 +38,9 @@ private ServiceContextFilter( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -865,7 +868,7 @@ public ServiceContextFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ServiceContextFilter(input, extensionRegistry); + return new ServiceContextFilter(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocation.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocation.java index 4c73cba81843..45aa2c35e22f 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocation.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocation.java @@ -39,6 +39,9 @@ private SourceLocation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -786,7 +789,7 @@ public SourceLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SourceLocation(input, extensionRegistry); + return new SourceLocation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCount.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCount.java index 7ed9f296d2ac..10ac77d1f488 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCount.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCount.java @@ -35,6 +35,9 @@ private TimedCount( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -910,7 +913,7 @@ public TimedCount parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TimedCount(input, extensionRegistry); + return new TimedCount(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssue.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssue.java index ab01f20ea591..23e8eb965f7a 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssue.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssue.java @@ -33,6 +33,9 @@ private TrackingIssue( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public TrackingIssue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TrackingIssue(input, extensionRegistry); + return new TrackingIssue(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequest.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequest.java index 9a3bf5cce94b..f89354f9e330 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequest.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequest.java @@ -32,6 +32,9 @@ private UpdateGroupRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public UpdateGroupRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateGroupRequest(input, extensionRegistry); + return new UpdateGroupRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ArrayValue.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ArrayValue.java index 9db63bfc1626..05abcb695af6 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ArrayValue.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ArrayValue.java @@ -33,6 +33,9 @@ private ArrayValue( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public ArrayValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ArrayValue(input, extensionRegistry); + return new ArrayValue(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsRequest.java index 07547c6c990a..f075c799eacc 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsRequest.java @@ -34,6 +34,9 @@ private BatchGetDocumentsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1765,7 +1768,7 @@ public BatchGetDocumentsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetDocumentsRequest(input, extensionRegistry); + return new BatchGetDocumentsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponse.java index 5011b50781eb..5a4014ae03b5 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponse.java @@ -33,6 +33,9 @@ private BatchGetDocumentsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1232,7 +1235,7 @@ public BatchGetDocumentsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetDocumentsResponse(input, extensionRegistry); + return new BatchGetDocumentsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionRequest.java index da56a69ffa59..986ab5956ca8 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionRequest.java @@ -33,6 +33,9 @@ private BeginTransactionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -776,7 +779,7 @@ public BeginTransactionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BeginTransactionRequest(input, extensionRegistry); + return new BeginTransactionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionResponse.java index 3ea8fd9b0213..2a7be2671014 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionResponse.java @@ -33,6 +33,9 @@ private BeginTransactionResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -450,7 +453,7 @@ public BeginTransactionResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BeginTransactionResponse(input, extensionRegistry); + return new BeginTransactionResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitRequest.java index d73b6b83bbeb..750a167685ac 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitRequest.java @@ -35,6 +35,9 @@ private CommitRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1075,7 +1078,7 @@ public CommitRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitRequest(input, extensionRegistry); + return new CommitRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitResponse.java index 893c6c4b0c11..b658d5f33318 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitResponse.java @@ -33,6 +33,9 @@ private CommitResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1088,7 +1091,7 @@ public CommitResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitResponse(input, extensionRegistry); + return new CommitResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommonProto.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommonProto.java index 81ec3ade5f01..a2f1961b1db8 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommonProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommonProto.java @@ -57,7 +57,7 @@ public static void registerAllExtensions( "imestampH\000B\020\n\016condition_type\"\263\002\n\022Transac" + "tionOptions\022J\n\tread_only\030\002 \001(\01325.google." + "firestore.v1beta1.TransactionOptions.Rea" + - "dOnlyH\000\022L\n\nread_write\030\003 \001(\01326.google.fir", + "dOnlyH\000\022L\n\nread_write\030\003 \001(\01326.google.fir" + "estore.v1beta1.TransactionOptions.ReadWr" + "iteH\000\032&\n\tReadWrite\022\031\n\021retry_transaction\030" + "\001 \001(\014\032S\n\010ReadOnly\022/\n\tread_time\030\002 \001(\0132\032.g" + diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CreateDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CreateDocumentRequest.java index ab61e5b6f324..5082a423cc69 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CreateDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CreateDocumentRequest.java @@ -35,6 +35,9 @@ private CreateDocumentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1341,7 +1344,7 @@ public CreateDocumentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDocumentRequest(input, extensionRegistry); + return new CreateDocumentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Cursor.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Cursor.java index f298bd3a8e0e..ccdff984127b 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Cursor.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Cursor.java @@ -34,6 +34,9 @@ private Cursor( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -938,7 +941,7 @@ public Cursor parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Cursor(input, extensionRegistry); + return new Cursor(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DeleteDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DeleteDocumentRequest.java index 10fa0522a6c2..50d5ab026792 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DeleteDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DeleteDocumentRequest.java @@ -33,6 +33,9 @@ private DeleteDocumentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -776,7 +779,7 @@ public DeleteDocumentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDocumentRequest(input, extensionRegistry); + return new DeleteDocumentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Document.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Document.java index 085c37f8f4af..5d9f1bd73a1c 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Document.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Document.java @@ -34,6 +34,9 @@ private Document( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1586,7 +1589,7 @@ public Document parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Document(input, extensionRegistry); + return new Document(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentChange.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentChange.java index 79a46d8d1f3d..c3ae5e92fe68 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentChange.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentChange.java @@ -38,6 +38,9 @@ private DocumentChange( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1024,7 +1027,7 @@ public DocumentChange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DocumentChange(input, extensionRegistry); + return new DocumentChange(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDelete.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDelete.java index 7a38c2145b18..fb6f4500adf2 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDelete.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDelete.java @@ -38,6 +38,9 @@ private DocumentDelete( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -981,7 +984,7 @@ public DocumentDelete parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DocumentDelete(input, extensionRegistry); + return new DocumentDelete(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMask.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMask.java index 17306fd5e8f9..325315adc449 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMask.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMask.java @@ -37,6 +37,9 @@ private DocumentMask( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -618,7 +621,7 @@ public DocumentMask parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DocumentMask(input, extensionRegistry); + return new DocumentMask(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentProto.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentProto.java index b8d5c4dcc282..4148458381b2 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentProto.java @@ -62,7 +62,7 @@ public static void registerAllExtensions( "irestore.v1beta1.Document.FieldsEntry\022/\n" + "\013create_time\030\003 \001(\0132\032.google.protobuf.Tim" + "estamp\022/\n\013update_time\030\004 \001(\0132\032.google.pro" + - "tobuf.Timestamp\032N\n\013FieldsEntry\022\013\n\003key\030\001 ", + "tobuf.Timestamp\032N\n\013FieldsEntry\022\013\n\003key\030\001 " + "\001(\t\022.\n\005value\030\002 \001(\0132\037.google.firestore.v1" + "beta1.Value:\0028\001\"\270\003\n\005Value\0220\n\nnull_value\030" + "\013 \001(\0162\032.google.protobuf.NullValueH\000\022\027\n\rb" + @@ -72,7 +72,7 @@ public static void registerAllExtensions( "mpH\000\022\026\n\014string_value\030\021 \001(\tH\000\022\025\n\013bytes_va" + "lue\030\022 \001(\014H\000\022\031\n\017reference_value\030\005 \001(\tH\000\022." + "\n\017geo_point_value\030\010 \001(\0132\023.google.type.La" + - "tLngH\000\022;\n\013array_value\030\t \001(\0132$.google.fir", + "tLngH\000\022;\n\013array_value\030\t \001(\0132$.google.fir" + "estore.v1beta1.ArrayValueH\000\0227\n\tmap_value" + "\030\006 \001(\0132\".google.firestore.v1beta1.MapVal" + "ueH\000B\014\n\nvalue_type\"=\n\nArrayValue\022/\n\006valu" + @@ -82,7 +82,7 @@ public static void registerAllExtensions( "\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022.\n\005value\030\002 \001(" + "\0132\037.google.firestore.v1beta1.Value:\0028\001B\273" + "\001\n\034com.google.firestore.v1beta1B\rDocumen" + - "tProtoP\001ZAgoogle.golang.org/genproto/goo", + "tProtoP\001ZAgoogle.golang.org/genproto/goo" + "gleapis/firestore/v1beta1;firestore\242\002\004GC" + "FS\252\002\036Google.Cloud.Firestore.V1Beta1\312\002\036Go" + "ogle\\Cloud\\Firestore\\V1beta1b\006proto3" diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemove.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemove.java index c2f377a47b2b..7bead3097d90 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemove.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemove.java @@ -39,6 +39,9 @@ private DocumentRemove( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -983,7 +986,7 @@ public DocumentRemove parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DocumentRemove(input, extensionRegistry); + return new DocumentRemove(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java index 740f15f3f0de..e5507ea5df68 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java @@ -34,6 +34,9 @@ private DocumentTransform( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -167,6 +170,9 @@ private FieldTransform( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -990,7 +996,7 @@ public FieldTransform parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FieldTransform(input, extensionRegistry); + return new FieldTransform(input, extensionRegistry); } }; @@ -1929,7 +1935,7 @@ public DocumentTransform parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DocumentTransform(input, extensionRegistry); + return new DocumentTransform(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilter.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilter.java index f80cae49451c..f0aa167bbf9e 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilter.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilter.java @@ -34,6 +34,9 @@ private ExistenceFilter( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -529,7 +532,7 @@ public ExistenceFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExistenceFilter(input, extensionRegistry); + return new ExistenceFilter(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/FirestoreProto.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/FirestoreProto.java index f81f43290a5e..00da6dafbe5e 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/FirestoreProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/FirestoreProto.java @@ -167,7 +167,7 @@ public static void registerAllExtensions( "a1/write.proto\032\033google/protobuf/empty.pr" + "oto\032\037google/protobuf/timestamp.proto\032\027go" + "ogle/rpc/status.proto\"\270\001\n\022GetDocumentReq" + - "uest\022\014\n\004name\030\001 \001(\t\0224\n\004mask\030\002 \001(\0132&.googl", + "uest\022\014\n\004name\030\001 \001(\t\0224\n\004mask\030\002 \001(\0132&.googl" + "e.firestore.v1beta1.DocumentMask\022\025\n\013tran" + "saction\030\003 \001(\014H\000\022/\n\tread_time\030\005 \001(\0132\032.goo" + "gle.protobuf.TimestampH\000B\026\n\024consistency_" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "_by\030\006 \001(\t\0224\n\004mask\030\007 \001(\0132&.google.firesto" + "re.v1beta1.DocumentMask\022\025\n\013transaction\030\010" + " \001(\014H\000\022/\n\tread_time\030\n \001(\0132\032.google.proto" + - "buf.TimestampH\000\022\024\n\014show_missing\030\014 \001(\010B\026\n", + "buf.TimestampH\000\022\024\n\014show_missing\030\014 \001(\010B\026\n" + "\024consistency_selector\"g\n\025ListDocumentsRe" + "sponse\0225\n\tdocuments\030\001 \003(\0132\".google.fires" + "tore.v1beta1.Document\022\027\n\017next_page_token" + @@ -187,7 +187,7 @@ public static void registerAllExtensions( "firestore.v1beta1.Document\0224\n\004mask\030\005 \001(\013" + "2&.google.firestore.v1beta1.DocumentMask" + "\"\202\002\n\025UpdateDocumentRequest\0224\n\010document\030\001" + - " \001(\0132\".google.firestore.v1beta1.Document", + " \001(\0132\".google.firestore.v1beta1.Document" + "\022;\n\013update_mask\030\002 \001(\0132&.google.firestore" + ".v1beta1.DocumentMask\0224\n\004mask\030\003 \001(\0132&.go" + "ogle.firestore.v1beta1.DocumentMask\022@\n\020c" + @@ -197,7 +197,7 @@ public static void registerAllExtensions( "\030\002 \001(\0132&.google.firestore.v1beta1.Precon" + "dition\"\236\002\n\030BatchGetDocumentsRequest\022\020\n\010d" + "atabase\030\001 \001(\t\022\021\n\tdocuments\030\002 \003(\t\0224\n\004mask" + - "\030\003 \001(\0132&.google.firestore.v1beta1.Docume", + "\030\003 \001(\0132&.google.firestore.v1beta1.Docume" + "ntMask\022\025\n\013transaction\030\004 \001(\014H\000\022G\n\017new_tra" + "nsaction\030\005 \001(\0132,.google.firestore.v1beta" + "1.TransactionOptionsH\000\022/\n\tread_time\030\007 \001(" + @@ -207,7 +207,7 @@ public static void registerAllExtensions( "v1beta1.DocumentH\000\022\021\n\007missing\030\002 \001(\tH\000\022\023\n" + "\013transaction\030\003 \001(\014\022-\n\tread_time\030\004 \001(\0132\032." + "google.protobuf.TimestampB\010\n\006result\"j\n\027B" + - "eginTransactionRequest\022\020\n\010database\030\001 \001(\t", + "eginTransactionRequest\022\020\n\010database\030\001 \001(\t" + "\022=\n\007options\030\002 \001(\0132,.google.firestore.v1b" + "eta1.TransactionOptions\"/\n\030BeginTransact" + "ionResponse\022\023\n\013transaction\030\001 \001(\014\"g\n\rComm" + @@ -217,7 +217,7 @@ public static void registerAllExtensions( "rite_results\030\001 \003(\0132%.google.firestore.v1" + "beta1.WriteResult\022/\n\013commit_time\030\002 \001(\0132\032" + ".google.protobuf.Timestamp\"8\n\017RollbackRe" + - "quest\022\020\n\010database\030\001 \001(\t\022\023\n\013transaction\030\002", + "quest\022\020\n\010database\030\001 \001(\t\022\023\n\013transaction\030\002" + " \001(\014\"\237\002\n\017RunQueryRequest\022\016\n\006parent\030\001 \001(\t" + "\022E\n\020structured_query\030\002 \001(\0132).google.fire" + "store.v1beta1.StructuredQueryH\000\022\025\n\013trans" + @@ -227,7 +227,7 @@ public static void registerAllExtensions( "obuf.TimestampH\001B\014\n\nquery_typeB\026\n\024consis" + "tency_selector\"\245\001\n\020RunQueryResponse\022\023\n\013t" + "ransaction\030\002 \001(\014\0224\n\010document\030\001 \001(\0132\".goo" + - "gle.firestore.v1beta1.Document\022-\n\tread_t", + "gle.firestore.v1beta1.Document\022-\n\tread_t" + "ime\030\003 \001(\0132\032.google.protobuf.Timestamp\022\027\n" + "\017skipped_results\030\004 \001(\005\"\355\001\n\014WriteRequest\022" + "\020\n\010database\030\001 \001(\t\022\021\n\tstream_id\030\002 \001(\t\022/\n\006" + @@ -237,7 +237,7 @@ public static void registerAllExtensions( "est.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 " + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\247\001\n\rWriteResponse" + "\022\021\n\tstream_id\030\001 \001(\t\022\024\n\014stream_token\030\002 \001(" + - "\014\022<\n\rwrite_results\030\003 \003(\0132%.google.firest", + "\014\022<\n\rwrite_results\030\003 \003(\0132%.google.firest" + "ore.v1beta1.WriteResult\022/\n\013commit_time\030\004" + " \001(\0132\032.google.protobuf.Timestamp\"\367\001\n\rLis" + "tenRequest\022\020\n\010database\030\001 \001(\t\0226\n\nadd_targ" + @@ -247,7 +247,7 @@ public static void registerAllExtensions( "equest.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key" + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\017\n\rtarget_chan" + "ge\"\356\002\n\016ListenResponse\022?\n\rtarget_change\030\002" + - " \001(\0132&.google.firestore.v1beta1.TargetCh", + " \001(\0132&.google.firestore.v1beta1.TargetCh" + "angeH\000\022C\n\017document_change\030\003 \001(\0132(.google" + ".firestore.v1beta1.DocumentChangeH\000\022C\n\017d" + "ocument_delete\030\004 \001(\0132(.google.firestore." + @@ -257,7 +257,7 @@ public static void registerAllExtensions( "irestore.v1beta1.ExistenceFilterH\000B\017\n\rre" + "sponse_type\"\260\003\n\006Target\022=\n\005query\030\002 \001(\0132,." + "google.firestore.v1beta1.Target.QueryTar" + - "getH\000\022E\n\tdocuments\030\003 \001(\01320.google.firest", + "getH\000\022E\n\tdocuments\030\003 \001(\01320.google.firest" + "ore.v1beta1.Target.DocumentsTargetH\000\022\026\n\014" + "resume_token\030\004 \001(\014H\001\022/\n\tread_time\030\013 \001(\0132" + "\032.google.protobuf.TimestampH\001\022\021\n\ttarget_" + @@ -267,7 +267,7 @@ public static void registerAllExtensions( "google.firestore.v1beta1.StructuredQuery" + "H\000B\014\n\nquery_typeB\r\n\013target_typeB\r\n\013resum" + "e_type\"\257\002\n\014TargetChange\022S\n\022target_change" + - "_type\030\001 \001(\01627.google.firestore.v1beta1.T", + "_type\030\001 \001(\01627.google.firestore.v1beta1.T" + "argetChange.TargetChangeType\022\022\n\ntarget_i" + "ds\030\002 \003(\005\022!\n\005cause\030\003 \001(\0132\022.google.rpc.Sta" + "tus\022\024\n\014resume_token\030\004 \001(\014\022-\n\tread_time\030\006" + @@ -277,7 +277,7 @@ public static void registerAllExtensions( "CollectionIdsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\t" + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"L\n\031L" + "istCollectionIdsResponse\022\026\n\016collection_i" + - "ds\030\001 \003(\t\022\027\n\017next_page_token\030\002 \001(\t2\255\022\n\tFi", + "ds\030\001 \003(\t\022\027\n\017next_page_token\030\002 \001(\t2\255\022\n\tFi" + "restore\022\236\001\n\013GetDocument\022,.google.firesto" + "re.v1beta1.GetDocumentRequest\032\".google.f" + "irestore.v1beta1.Document\"=\202\323\344\223\0027\0225/v1be" + @@ -287,7 +287,7 @@ public static void registerAllExtensions( "gle.firestore.v1beta1.ListDocumentsRespo" + "nse\"O\202\323\344\223\002I\022G/v1beta1/{parent=projects/*" + "/databases/*/documents/*/**}/{collection" + - "_id}\022\276\001\n\016CreateDocument\022/.google.firesto", + "_id}\022\276\001\n\016CreateDocument\022/.google.firesto" + "re.v1beta1.CreateDocumentRequest\032\".googl" + "e.firestore.v1beta1.Document\"W\202\323\344\223\002Q\"E/v" + "1beta1/{parent=projects/*/databases/*/do" + @@ -297,7 +297,7 @@ public static void registerAllExtensions( "tore.v1beta1.Document\"P\202\323\344\223\002J2>/v1beta1/" + "{document.name=projects/*/databases/*/do" + "cuments/*/**}:\010document\022\230\001\n\016DeleteDocume" + - "nt\022/.google.firestore.v1beta1.DeleteDocu", + "nt\022/.google.firestore.v1beta1.DeleteDocu" + "mentRequest\032\026.google.protobuf.Empty\"=\202\323\344" + "\223\0027*5/v1beta1/{name=projects/*/databases" + "/*/documents/*/**}\022\310\001\n\021BatchGetDocuments" + @@ -307,7 +307,7 @@ public static void registerAllExtensions( "ta1/{database=projects/*/databases/*}/do" + "cuments:batchGet:\001*0\001\022\313\001\n\020BeginTransacti" + "on\0221.google.firestore.v1beta1.BeginTrans" + - "actionRequest\0322.google.firestore.v1beta1", + "actionRequest\0322.google.firestore.v1beta1" + ".BeginTransactionResponse\"P\202\323\344\223\002J\"E/v1be" + "ta1/{database=projects/*/databases/*}/do" + "cuments:beginTransaction:\001*\022\243\001\n\006Commit\022\'" + @@ -317,7 +317,7 @@ public static void registerAllExtensions( "/databases/*}/documents:commit:\001*\022\227\001\n\010Ro" + "llback\022).google.firestore.v1beta1.Rollba" + "ckRequest\032\026.google.protobuf.Empty\"H\202\323\344\223\002" + - "B\"=/v1beta1/{database=projects/*/databas", + "B\"=/v1beta1/{database=projects/*/databas" + "es/*}/documents:rollback:\001*\022\253\001\n\010RunQuery" + "\022).google.firestore.v1beta1.RunQueryRequ" + "est\032*.google.firestore.v1beta1.RunQueryR" + @@ -327,7 +327,7 @@ public static void registerAllExtensions( "riteRequest\032\'.google.firestore.v1beta1.W" + "riteResponse\"E\202\323\344\223\002?\":/v1beta1/{database" + "=projects/*/databases/*}/documents:write" + - ":\001*(\0010\001\022\247\001\n\006Listen\022\'.google.firestore.v1", + ":\001*(\0010\001\022\247\001\n\006Listen\022\'.google.firestore.v1" + "beta1.ListenRequest\032(.google.firestore.v" + "1beta1.ListenResponse\"F\202\323\344\223\002@\";/v1beta1/" + "{database=projects/*/databases/*}/docume" + @@ -337,7 +337,7 @@ public static void registerAllExtensions( "istCollectionIdsResponse\"O\202\323\344\223\002I\"D/v1bet" + "a1/{parent=projects/*/databases/*/docume" + "nts}:listCollectionIds:\001*B\274\001\n\034com.google" + - ".firestore.v1beta1B\016FirestoreProtoP\001ZAgo", + ".firestore.v1beta1B\016FirestoreProtoP\001ZAgo" + "ogle.golang.org/genproto/googleapis/fire" + "store/v1beta1;firestore\242\002\004GCFS\252\002\036Google." + "Cloud.Firestore.V1Beta1\312\002\036Google\\Cloud\\F" + diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/GetDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/GetDocumentRequest.java index 0aa951e92ee9..8387d4ade941 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/GetDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/GetDocumentRequest.java @@ -33,6 +33,9 @@ private GetDocumentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1211,7 +1214,7 @@ public GetDocumentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDocumentRequest(input, extensionRegistry); + return new GetDocumentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsRequest.java index 14dc747ac894..be5dc152cdba 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsRequest.java @@ -35,6 +35,9 @@ private ListCollectionIdsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -785,7 +788,7 @@ public ListCollectionIdsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCollectionIdsRequest(input, extensionRegistry); + return new ListCollectionIdsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsResponse.java index 7d8b84f67f8a..c8ba3b9cb2a2 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsResponse.java @@ -34,6 +34,9 @@ private ListCollectionIdsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -755,7 +758,7 @@ public ListCollectionIdsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCollectionIdsResponse(input, extensionRegistry); + return new ListCollectionIdsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequest.java index 4f2b30947b8b..7236774c490e 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequest.java @@ -38,6 +38,9 @@ private ListDocumentsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1880,7 +1883,7 @@ public ListDocumentsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDocumentsRequest(input, extensionRegistry); + return new ListDocumentsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsResponse.java index 83b12e212b57..e835ce7e1bab 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsResponse.java @@ -34,6 +34,9 @@ private ListDocumentsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -968,7 +971,7 @@ public ListDocumentsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDocumentsResponse(input, extensionRegistry); + return new ListDocumentsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenRequest.java index 8bdd48e47c12..eabd82a7bf00 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenRequest.java @@ -33,6 +33,9 @@ private ListenRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1264,7 +1267,7 @@ public ListenRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListenRequest(input, extensionRegistry); + return new ListenRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponse.java index da062a1df055..e2433c804b71 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponse.java @@ -32,6 +32,9 @@ private ListenResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1749,7 +1752,7 @@ public ListenResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListenResponse(input, extensionRegistry); + return new ListenResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/MapValue.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/MapValue.java index 4def1a170016..339fc5165380 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/MapValue.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/MapValue.java @@ -32,6 +32,9 @@ private MapValue( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -735,7 +738,7 @@ public MapValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MapValue(input, extensionRegistry); + return new MapValue(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Precondition.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Precondition.java index 1b737936bb7b..9258e157ca8a 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Precondition.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Precondition.java @@ -32,6 +32,9 @@ private Precondition( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -798,7 +801,7 @@ public Precondition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Precondition(input, extensionRegistry); + return new Precondition(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/QueryProto.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/QueryProto.java index 2fb320554437..54877cb56fb6 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/QueryProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/QueryProto.java @@ -82,7 +82,7 @@ public static void registerAllExtensions( "dQuery.Projection\022J\n\004from\030\002 \003(\0132<.google" + ".firestore.v1beta1.StructuredQuery.Colle" + "ctionSelector\022?\n\005where\030\003 \001(\01320.google.fi" + - "restore.v1beta1.StructuredQuery.Filter\022A", + "restore.v1beta1.StructuredQuery.Filter\022A" + "\n\010order_by\030\004 \003(\0132/.google.firestore.v1be" + "ta1.StructuredQuery.Order\0222\n\010start_at\030\007 " + "\001(\0132 .google.firestore.v1beta1.Cursor\0220\n" + @@ -92,7 +92,7 @@ public static void registerAllExtensions( "nSelector\022\025\n\rcollection_id\030\002 \001(\t\022\027\n\017all_" + "descendants\030\003 \001(\010\032\214\002\n\006Filter\022U\n\020composit" + "e_filter\030\001 \001(\01329.google.firestore.v1beta" + - "1.StructuredQuery.CompositeFilterH\000\022M\n\014f", + "1.StructuredQuery.CompositeFilterH\000\022M\n\014f" + "ield_filter\030\002 \001(\01325.google.firestore.v1b" + "eta1.StructuredQuery.FieldFilterH\000\022M\n\014un" + "ary_filter\030\003 \001(\01325.google.firestore.v1be" + @@ -102,7 +102,7 @@ public static void registerAllExtensions( "ery.CompositeFilter.Operator\022A\n\007filters\030" + "\002 \003(\01320.google.firestore.v1beta1.Structu" + "redQuery.Filter\"-\n\010Operator\022\030\n\024OPERATOR_" + - "UNSPECIFIED\020\000\022\007\n\003AND\020\001\032\330\002\n\013FieldFilter\022G", + "UNSPECIFIED\020\000\022\007\n\003AND\020\001\032\330\002\n\013FieldFilter\022G" + "\n\005field\030\001 \001(\01328.google.firestore.v1beta1" + ".StructuredQuery.FieldReference\022J\n\002op\030\002 " + "\001(\0162>.google.firestore.v1beta1.Structure" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "SS_THAN\020\001\022\026\n\022LESS_THAN_OR_EQUAL\020\002\022\020\n\014GRE" + "ATER_THAN\020\003\022\031\n\025GREATER_THAN_OR_EQUAL\020\004\022\t" + "\n\005EQUAL\020\005\032\363\001\n\013UnaryFilter\022J\n\002op\030\001 \001(\0162>." + - "google.firestore.v1beta1.StructuredQuery", + "google.firestore.v1beta1.StructuredQuery" + ".UnaryFilter.Operator\022I\n\005field\030\002 \001(\01328.g" + "oogle.firestore.v1beta1.StructuredQuery." + "FieldReferenceH\000\"=\n\010Operator\022\030\n\024OPERATOR" + @@ -122,7 +122,7 @@ public static void registerAllExtensions( "ery.FieldReference\022F\n\tdirection\030\002 \001(\01623." + "google.firestore.v1beta1.StructuredQuery" + ".Direction\032$\n\016FieldReference\022\022\n\nfield_pa" + - "th\030\002 \001(\t\032V\n\nProjection\022H\n\006fields\030\002 \003(\01328", + "th\030\002 \001(\t\032V\n\nProjection\022H\n\006fields\030\002 \003(\01328" + ".google.firestore.v1beta1.StructuredQuer" + "y.FieldReference\"E\n\tDirection\022\031\n\025DIRECTI" + "ON_UNSPECIFIED\020\000\022\r\n\tASCENDING\020\001\022\016\n\nDESCE" + diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RollbackRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RollbackRequest.java index 3876f05aae5e..a80bd992accf 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RollbackRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RollbackRequest.java @@ -34,6 +34,9 @@ private RollbackRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -612,7 +615,7 @@ public RollbackRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RollbackRequest(input, extensionRegistry); + return new RollbackRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryRequest.java index 8f39c0205ae0..aca7b6d30edf 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryRequest.java @@ -33,6 +33,9 @@ private RunQueryRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1594,7 +1597,7 @@ public RunQueryRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RunQueryRequest(input, extensionRegistry); + return new RunQueryRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponse.java index e77a719cbca9..d15f1b066f11 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponse.java @@ -34,6 +34,9 @@ private RunQueryResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1070,7 +1073,7 @@ public RunQueryResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RunQueryResponse(input, extensionRegistry); + return new RunQueryResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java index 8f3efa2984d8..04698157d3a9 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java @@ -35,6 +35,9 @@ private StructuredQuery( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -372,6 +375,9 @@ private CollectionSelector( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -956,7 +962,7 @@ public CollectionSelector parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CollectionSelector(input, extensionRegistry); + return new CollectionSelector(input, extensionRegistry); } }; @@ -1085,6 +1091,9 @@ private Filter( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2250,7 +2259,7 @@ public Filter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Filter(input, extensionRegistry); + return new Filter(input, extensionRegistry); } }; @@ -2370,6 +2379,9 @@ private CompositeFilter( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3401,7 +3413,7 @@ public CompositeFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CompositeFilter(input, extensionRegistry); + return new CompositeFilter(input, extensionRegistry); } }; @@ -3521,6 +3533,9 @@ private FieldFilter( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4618,7 +4633,7 @@ public FieldFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FieldFilter(input, extensionRegistry); + return new FieldFilter(input, extensionRegistry); } }; @@ -4715,6 +4730,9 @@ private UnaryFilter( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5621,7 +5639,7 @@ public UnaryFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UnaryFilter(input, extensionRegistry); + return new UnaryFilter(input, extensionRegistry); } }; @@ -5716,6 +5734,9 @@ private Order( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6396,7 +6417,7 @@ public Order parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Order(input, extensionRegistry); + return new Order(input, extensionRegistry); } }; @@ -6459,6 +6480,9 @@ private FieldReference( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6926,7 +6950,7 @@ public FieldReference parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FieldReference(input, extensionRegistry); + return new FieldReference(input, extensionRegistry); } }; @@ -7033,6 +7057,9 @@ private Projection( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -7856,7 +7883,7 @@ public Projection parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Projection(input, extensionRegistry); + return new Projection(input, extensionRegistry); } }; @@ -10502,7 +10529,7 @@ public StructuredQuery parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StructuredQuery(input, extensionRegistry); + return new StructuredQuery(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Target.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Target.java index 616ad6bfd49d..e20e60f155d2 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Target.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Target.java @@ -34,6 +34,9 @@ private Target( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -214,6 +217,9 @@ private DocumentsTarget( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -817,7 +823,7 @@ public DocumentsTarget parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DocumentsTarget(input, extensionRegistry); + return new DocumentsTarget(input, extensionRegistry); } }; @@ -925,6 +931,9 @@ private QueryTarget( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1775,7 +1784,7 @@ public QueryTarget parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryTarget(input, extensionRegistry); + return new QueryTarget(input, extensionRegistry); } }; @@ -3202,7 +3211,7 @@ public Target parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Target(input, extensionRegistry); + return new Target(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TargetChange.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TargetChange.java index d6af6db1df98..5b20b610697a 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TargetChange.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TargetChange.java @@ -35,6 +35,9 @@ private TargetChange( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1550,7 +1553,7 @@ public TargetChange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TargetChange(input, extensionRegistry); + return new TargetChange(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TransactionOptions.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TransactionOptions.java index a042411658c6..7fc00bc49500 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TransactionOptions.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TransactionOptions.java @@ -32,6 +32,9 @@ private TransactionOptions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -145,6 +148,9 @@ private ReadWrite( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -562,7 +568,7 @@ public ReadWrite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadWrite(input, extensionRegistry); + return new ReadWrite(input, extensionRegistry); } }; @@ -644,6 +650,9 @@ private ReadOnly( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1317,7 +1326,7 @@ public ReadOnly parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadOnly(input, extensionRegistry); + return new ReadOnly(input, extensionRegistry); } }; @@ -2179,7 +2188,7 @@ public TransactionOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TransactionOptions(input, extensionRegistry); + return new TransactionOptions(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/UpdateDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/UpdateDocumentRequest.java index f02705d093ee..22e8256dda2e 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/UpdateDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/UpdateDocumentRequest.java @@ -32,6 +32,9 @@ private UpdateDocumentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1397,7 +1400,7 @@ public UpdateDocumentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateDocumentRequest(input, extensionRegistry); + return new UpdateDocumentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Value.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Value.java index 3d6abde784c8..691c45b82b6f 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Value.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Value.java @@ -32,6 +32,9 @@ private Value( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2378,7 +2381,7 @@ public Value parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Value(input, extensionRegistry); + return new Value(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Write.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Write.java index 4685f1fc5778..f0a066acd840 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Write.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Write.java @@ -32,6 +32,9 @@ private Write( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1724,7 +1727,7 @@ public Write parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Write(input, extensionRegistry); + return new Write(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java index f05ef4e73fb0..c24cb82386ff 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java @@ -72,7 +72,7 @@ public static void registerAllExtensions( "le.firestore.v1beta1.DocumentH\000\022\020\n\006delet" + "e\030\002 \001(\tH\000\022@\n\ttransform\030\006 \001(\0132+.google.fi" + "restore.v1beta1.DocumentTransformH\000\022;\n\013u" + - "pdate_mask\030\003 \001(\0132&.google.firestore.v1be", + "pdate_mask\030\003 \001(\0132&.google.firestore.v1be" + "ta1.DocumentMask\022@\n\020current_document\030\004 \001" + "(\0132&.google.firestore.v1beta1.Preconditi" + "onB\013\n\toperation\"\332\002\n\021DocumentTransform\022\020\n" + @@ -82,7 +82,7 @@ public static void registerAllExtensions( "\022\022\n\nfield_path\030\001 \001(\t\022e\n\023set_to_server_va" + "lue\030\002 \001(\0162F.google.firestore.v1beta1.Doc" + "umentTransform.FieldTransform.ServerValu" + - "eH\000\"=\n\013ServerValue\022\034\n\030SERVER_VALUE_UNSPE", + "eH\000\"=\n\013ServerValue\022\034\n\030SERVER_VALUE_UNSPE" + "CIFIED\020\000\022\020\n\014REQUEST_TIME\020\001B\020\n\016transform_" + "type\"z\n\013WriteResult\022/\n\013update_time\030\001 \001(\013" + "2\032.google.protobuf.Timestamp\022:\n\021transfor" + @@ -92,7 +92,7 @@ public static void registerAllExtensions( "\022\022\n\ntarget_ids\030\005 \003(\005\022\032\n\022removed_target_i" + "ds\030\006 \003(\005\"m\n\016DocumentDelete\022\020\n\010document\030\001" + " \001(\t\022\032\n\022removed_target_ids\030\006 \003(\005\022-\n\tread" + - "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\"", + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\"" + "m\n\016DocumentRemove\022\020\n\010document\030\001 \001(\t\022\032\n\022r" + "emoved_target_ids\030\002 \003(\005\022-\n\tread_time\030\004 \001" + "(\0132\032.google.protobuf.Timestamp\"3\n\017Existe" + diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequest.java index b2747527772c..b15a4bc8947b 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequest.java @@ -42,6 +42,9 @@ private WriteRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1684,7 +1687,7 @@ public WriteRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteRequest(input, extensionRegistry); + return new WriteRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResponse.java index a4c6c6b84670..72b5843b59f0 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResponse.java @@ -35,6 +35,9 @@ private WriteResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1335,7 +1338,7 @@ public WriteResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteResponse(input, extensionRegistry); + return new WriteResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResult.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResult.java index b7ab7a382015..714fd0790eb6 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResult.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResult.java @@ -33,6 +33,9 @@ private WriteResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1101,7 +1104,7 @@ public WriteResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteResult(input, extensionRegistry); + return new WriteResult(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/CreateDeviceRegistryRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/CreateDeviceRegistryRequest.java index 9a0517a2abfc..a82e76ebf101 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/CreateDeviceRegistryRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/CreateDeviceRegistryRequest.java @@ -33,6 +33,9 @@ private CreateDeviceRegistryRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -788,7 +791,7 @@ public CreateDeviceRegistryRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDeviceRegistryRequest(input, extensionRegistry); + return new CreateDeviceRegistryRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/CreateDeviceRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/CreateDeviceRequest.java index a2e9bdf19117..df24f77fc9ad 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/CreateDeviceRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/CreateDeviceRequest.java @@ -33,6 +33,9 @@ private CreateDeviceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -795,7 +798,7 @@ public CreateDeviceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDeviceRequest(input, extensionRegistry); + return new CreateDeviceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeleteDeviceRegistryRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeleteDeviceRegistryRequest.java index 56d337b63d5f..d32f91fac660 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeleteDeviceRegistryRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeleteDeviceRegistryRequest.java @@ -33,6 +33,9 @@ private DeleteDeviceRegistryRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteDeviceRegistryRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDeviceRegistryRequest(input, extensionRegistry); + return new DeleteDeviceRegistryRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeleteDeviceRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeleteDeviceRequest.java index 89fbe985830a..a8ae61fc74bb 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeleteDeviceRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeleteDeviceRequest.java @@ -33,6 +33,9 @@ private DeleteDeviceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public DeleteDeviceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDeviceRequest(input, extensionRegistry); + return new DeleteDeviceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/Device.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/Device.java index 7e9e02be127f..b1db0d91f903 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/Device.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/Device.java @@ -37,6 +37,9 @@ private Device( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4164,7 +4167,7 @@ public Device parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Device(input, extensionRegistry); + return new Device(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceConfig.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceConfig.java index 71ff144e373b..6040fc339e01 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceConfig.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceConfig.java @@ -34,6 +34,9 @@ private DeviceConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1103,7 +1106,7 @@ public DeviceConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeviceConfig(input, extensionRegistry); + return new DeviceConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceCredential.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceCredential.java index 799723d455ea..7048acf6fa1d 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceCredential.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceCredential.java @@ -32,6 +32,9 @@ private DeviceCredential( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1066,7 +1069,7 @@ public DeviceCredential parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeviceCredential(input, extensionRegistry); + return new DeviceCredential(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceManagerProto.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceManagerProto.java index b7ea5b0c2d46..8091d15e9121 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceManagerProto.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceManagerProto.java @@ -117,7 +117,7 @@ public static void registerAllExtensions( "empty.proto\032 google/protobuf/field_mask." + "proto\032\037google/protobuf/timestamp.proto\"k" + "\n\033CreateDeviceRegistryRequest\022\016\n\006parent\030" + - "\001 \001(\t\022<\n\017device_registry\030\002 \001(\0132#.google.", + "\001 \001(\t\022<\n\017device_registry\030\002 \001(\0132#.google." + "cloud.iot.v1.DeviceRegistry\"(\n\030GetDevice" + "RegistryRequest\022\014\n\004name\030\001 \001(\t\"+\n\033DeleteD" + "eviceRegistryRequest\022\014\n\004name\030\001 \001(\t\"\214\001\n\033U" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "rotobuf.FieldMask\"T\n\033ListDeviceRegistrie" + "sRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 " + "\001(\005\022\022\n\npage_token\030\003 \001(\t\"w\n\034ListDeviceReg" + - "istriesResponse\022>\n\021device_registries\030\001 \003", + "istriesResponse\022>\n\021device_registries\030\001 \003" + "(\0132#.google.cloud.iot.v1.DeviceRegistry\022" + "\027\n\017next_page_token\030\002 \001(\t\"R\n\023CreateDevice" + "Request\022\016\n\006parent\030\001 \001(\t\022+\n\006device\030\002 \001(\0132" + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "DeviceRequest\022+\n\006device\030\002 \001(\0132\033.google.c" + "loud.iot.v1.Device\022/\n\013update_mask\030\003 \001(\0132" + "\032.google.protobuf.FieldMask\"#\n\023DeleteDev" + - "iceRequest\022\014\n\004name\030\001 \001(\t\"\247\001\n\022ListDevices", + "iceRequest\022\014\n\004name\030\001 \001(\t\"\247\001\n\022ListDevices" + "Request\022\016\n\006parent\030\001 \001(\t\022\026\n\016device_num_id" + "s\030\002 \003(\004\022\022\n\ndevice_ids\030\003 \003(\t\022.\n\nfield_mas" + "k\030\004 \001(\0132\032.google.protobuf.FieldMask\022\021\n\tp" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "en\030\002 \001(\t\"`\n ModifyCloudToDeviceConfigReq" + "uest\022\014\n\004name\030\001 \001(\t\022\031\n\021version_to_update\030" + "\002 \001(\003\022\023\n\013binary_data\030\003 \001(\014\"E\n\037ListDevice" + - "ConfigVersionsRequest\022\014\n\004name\030\001 \001(\t\022\024\n\014n", + "ConfigVersionsRequest\022\014\n\004name\030\001 \001(\t\022\024\n\014n" + "um_versions\030\002 \001(\005\"]\n ListDeviceConfigVer" + "sionsResponse\0229\n\016device_configs\030\001 \003(\0132!." + "google.cloud.iot.v1.DeviceConfig\";\n\027List" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "iot.v1.DeviceState2\223\034\n\rDeviceManager\022\266\001\n" + "\024CreateDeviceRegistry\0220.google.cloud.iot" + ".v1.CreateDeviceRegistryRequest\032#.google" + - ".cloud.iot.v1.DeviceRegistry\"G\202\323\344\223\002A\"./v", + ".cloud.iot.v1.DeviceRegistry\"G\202\323\344\223\002A\"./v" + "1/{parent=projects/*/locations/*}/regist" + "ries:\017device_registry\022\237\001\n\021GetDeviceRegis" + "try\022-.google.cloud.iot.v1.GetDeviceRegis" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "Registry\0220.google.cloud.iot.v1.UpdateDev" + "iceRegistryRequest\032#.google.cloud.iot.v1" + ".DeviceRegistry\"W\202\323\344\223\002Q2>/v1/{device_reg" + - "istry.name=projects/*/locations/*/regist", + "istry.name=projects/*/locations/*/regist" + "ries/*}:\017device_registry\022\230\001\n\024DeleteDevic" + "eRegistry\0220.google.cloud.iot.v1.DeleteDe" + "viceRegistryRequest\032\026.google.protobuf.Em" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "istriesRequest\0321.google.cloud.iot.v1.Lis" + "tDeviceRegistriesResponse\"6\202\323\344\223\0020\022./v1/{" + "parent=projects/*/locations/*}/registrie" + - "s\022\237\001\n\014CreateDevice\022(.google.cloud.iot.v1", + "s\022\237\001\n\014CreateDevice\022(.google.cloud.iot.v1" + ".CreateDeviceRequest\032\033.google.cloud.iot." + "v1.Device\"H\202\323\344\223\002B\"8/v1/{parent=projects/" + "*/locations/*/registries/*}/devices:\006dev" + @@ -187,7 +187,7 @@ public static void registerAllExtensions( "ations/*/registries/*/devices/*}ZC\022A/v1/" + "{name=projects/*/locations/*/registries/" + "*/groups/*/devices/*}\022\374\001\n\014UpdateDevice\022(" + - ".google.cloud.iot.v1.UpdateDeviceRequest", + ".google.cloud.iot.v1.UpdateDeviceRequest" + "\032\033.google.cloud.iot.v1.Device\"\244\001\202\323\344\223\002\235\0012" + "?/v1/{device.name=projects/*/locations/*" + "/registries/*/devices/*}:\006deviceZR2H/v1/" + @@ -197,7 +197,7 @@ public static void registerAllExtensions( "teDeviceRequest\032\026.google.protobuf.Empty\"" + "\205\001\202\323\344\223\002\177*8/v1/{name=projects/*/locations" + "/*/registries/*/devices/*}ZC*A/v1/{name=" + - "projects/*/locations/*/registries/*/grou", + "projects/*/locations/*/registries/*/grou" + "ps/*/devices/*}\022\332\001\n\013ListDevices\022\'.google" + ".cloud.iot.v1.ListDevicesRequest\032(.googl" + "e.cloud.iot.v1.ListDevicesResponse\"x\202\323\344\223" + @@ -207,7 +207,7 @@ public static void registerAllExtensions( "\031ModifyCloudToDeviceConfig\0225.google.clou" + "d.iot.v1.ModifyCloudToDeviceConfigReques" + "t\032!.google.cloud.iot.v1.DeviceConfig\"\300\001\202" + - "\323\344\223\002\271\001\"R/v1/{name=projects/*/locations/*", + "\323\344\223\002\271\001\"R/v1/{name=projects/*/locations/*" + "/registries/*/devices/*}:modifyCloudToDe" + "viceConfig:\001*Z`\"[/v1/{name=projects/*/lo" + "cations/*/registries/*/groups/*/devices/" + @@ -217,7 +217,7 @@ public static void registerAllExtensions( "gle.cloud.iot.v1.ListDeviceConfigVersion" + "sResponse\"\244\001\202\323\344\223\002\235\001\022G/v1/{name=projects/" + "*/locations/*/registries/*/devices/*}/co" + - "nfigVersionsZR\022P/v1/{name=projects/*/loc", + "nfigVersionsZR\022P/v1/{name=projects/*/loc" + "ations/*/registries/*/groups/*/devices/*" + "}/configVersions\022\206\002\n\020ListDeviceStates\022,." + "google.cloud.iot.v1.ListDeviceStatesRequ" + @@ -227,7 +227,7 @@ public static void registerAllExtensions( "tatesZJ\022H/v1/{name=projects/*/locations/" + "*/registries/*/groups/*/devices/*}/state" + "s\022\346\001\n\014SetIamPolicy\022\".google.iam.v1.SetIa" + - "mPolicyRequest\032\025.google.iam.v1.Policy\"\232\001", + "mPolicyRequest\032\025.google.iam.v1.Policy\"\232\001" + "\202\323\344\223\002\223\001\"?/v1/{resource=projects/*/locati" + "ons/*/registries/*}:setIamPolicy:\001*ZM\"H/" + "v1/{resource=projects/*/locations/*/regi" + @@ -237,7 +237,7 @@ public static void registerAllExtensions( "\"?/v1/{resource=projects/*/locations/*/r" + "egistries/*}:getIamPolicy:\001*ZM\"H/v1/{res" + "ource=projects/*/locations/*/registries/" + - "*/groups/*}:getIamPolicy:\001*\022\222\002\n\022TestIamP", + "*/groups/*}:getIamPolicy:\001*\022\222\002\n\022TestIamP" + "ermissions\022(.google.iam.v1.TestIamPermis" + "sionsRequest\032).google.iam.v1.TestIamPerm" + "issionsResponse\"\246\001\202\323\344\223\002\237\001\"E/v1/{resource" + diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceRegistry.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceRegistry.java index fbe453b35764..35db2d6c4457 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceRegistry.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceRegistry.java @@ -36,6 +36,9 @@ private DeviceRegistry( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2703,7 +2706,7 @@ public DeviceRegistry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeviceRegistry(input, extensionRegistry); + return new DeviceRegistry(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceState.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceState.java index 2cf58dec58fb..758677668a7b 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceState.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceState.java @@ -33,6 +33,9 @@ private DeviceState( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -691,7 +694,7 @@ public DeviceState parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeviceState(input, extensionRegistry); + return new DeviceState(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/EventNotificationConfig.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/EventNotificationConfig.java index c9889747bc71..e6c71bfd0171 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/EventNotificationConfig.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/EventNotificationConfig.java @@ -34,6 +34,9 @@ private EventNotificationConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -711,7 +714,7 @@ public EventNotificationConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EventNotificationConfig(input, extensionRegistry); + return new EventNotificationConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/GetDeviceRegistryRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/GetDeviceRegistryRequest.java index 4ec6ea7f0f95..836add77f3e4 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/GetDeviceRegistryRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/GetDeviceRegistryRequest.java @@ -33,6 +33,9 @@ private GetDeviceRegistryRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetDeviceRegistryRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDeviceRegistryRequest(input, extensionRegistry); + return new GetDeviceRegistryRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/GetDeviceRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/GetDeviceRequest.java index fffd75593df5..0986487bd19e 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/GetDeviceRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/GetDeviceRequest.java @@ -33,6 +33,9 @@ private GetDeviceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -783,7 +786,7 @@ public GetDeviceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDeviceRequest(input, extensionRegistry); + return new GetDeviceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/HttpConfig.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/HttpConfig.java index 63c4d5ccf5fd..f7998b96c3fd 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/HttpConfig.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/HttpConfig.java @@ -33,6 +33,9 @@ private HttpConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -491,7 +494,7 @@ public HttpConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new HttpConfig(input, extensionRegistry); + return new HttpConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceConfigVersionsRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceConfigVersionsRequest.java index 787816cb797d..d0c7f5cd1c02 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceConfigVersionsRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceConfigVersionsRequest.java @@ -34,6 +34,9 @@ private ListDeviceConfigVersionsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -624,7 +627,7 @@ public ListDeviceConfigVersionsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeviceConfigVersionsRequest(input, extensionRegistry); + return new ListDeviceConfigVersionsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceConfigVersionsResponse.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceConfigVersionsResponse.java index accee11e2e76..84a6696cd263 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceConfigVersionsResponse.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceConfigVersionsResponse.java @@ -33,6 +33,9 @@ private ListDeviceConfigVersionsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -833,7 +836,7 @@ public ListDeviceConfigVersionsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeviceConfigVersionsResponse(input, extensionRegistry); + return new ListDeviceConfigVersionsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceRegistriesRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceRegistriesRequest.java index e2cfc8803a7f..d8ba161856a5 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceRegistriesRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceRegistriesRequest.java @@ -35,6 +35,9 @@ private ListDeviceRegistriesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -790,7 +793,7 @@ public ListDeviceRegistriesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeviceRegistriesRequest(input, extensionRegistry); + return new ListDeviceRegistriesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceRegistriesResponse.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceRegistriesResponse.java index c9260ad41684..6a44ef95e2ab 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceRegistriesResponse.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceRegistriesResponse.java @@ -34,6 +34,9 @@ private ListDeviceRegistriesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListDeviceRegistriesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeviceRegistriesResponse(input, extensionRegistry); + return new ListDeviceRegistriesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceStatesRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceStatesRequest.java index 8cf3acbf78d7..4ab9364ad7e1 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceStatesRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceStatesRequest.java @@ -34,6 +34,9 @@ private ListDeviceStatesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -624,7 +627,7 @@ public ListDeviceStatesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeviceStatesRequest(input, extensionRegistry); + return new ListDeviceStatesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceStatesResponse.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceStatesResponse.java index 7c2f2e25f56a..8ab09ac94638 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceStatesResponse.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDeviceStatesResponse.java @@ -33,6 +33,9 @@ private ListDeviceStatesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -833,7 +836,7 @@ public ListDeviceStatesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeviceStatesResponse(input, extensionRegistry); + return new ListDeviceStatesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDevicesRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDevicesRequest.java index 54311b33531a..76dd6852954b 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDevicesRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDevicesRequest.java @@ -37,6 +37,9 @@ private ListDevicesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1505,7 +1508,7 @@ public ListDevicesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDevicesRequest(input, extensionRegistry); + return new ListDevicesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDevicesResponse.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDevicesResponse.java index e99e8bc61dd6..4e334c17b513 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDevicesResponse.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ListDevicesResponse.java @@ -34,6 +34,9 @@ private ListDevicesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -975,7 +978,7 @@ public ListDevicesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDevicesResponse(input, extensionRegistry); + return new ListDevicesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ModifyCloudToDeviceConfigRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ModifyCloudToDeviceConfigRequest.java index 43c17341a105..76cfc68ad3a2 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ModifyCloudToDeviceConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ModifyCloudToDeviceConfigRequest.java @@ -35,6 +35,9 @@ private ModifyCloudToDeviceConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -710,7 +713,7 @@ public ModifyCloudToDeviceConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ModifyCloudToDeviceConfigRequest(input, extensionRegistry); + return new ModifyCloudToDeviceConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/MqttConfig.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/MqttConfig.java index c5115b17099f..8dd4fdd58ecb 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/MqttConfig.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/MqttConfig.java @@ -33,6 +33,9 @@ private MqttConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -491,7 +494,7 @@ public MqttConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MqttConfig(input, extensionRegistry); + return new MqttConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCertificate.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCertificate.java index 089609a5f795..192fb886897b 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCertificate.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCertificate.java @@ -34,6 +34,9 @@ private PublicKeyCertificate( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -868,7 +871,7 @@ public PublicKeyCertificate parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PublicKeyCertificate(input, extensionRegistry); + return new PublicKeyCertificate(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCredential.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCredential.java index 771896e377c4..beaafe72aaa8 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCredential.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCredential.java @@ -34,6 +34,9 @@ private PublicKeyCredential( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -639,7 +642,7 @@ public PublicKeyCredential parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PublicKeyCredential(input, extensionRegistry); + return new PublicKeyCredential(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/RegistryCredential.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/RegistryCredential.java index d64845011e2e..b75a03536a27 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/RegistryCredential.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/RegistryCredential.java @@ -32,6 +32,9 @@ private RegistryCredential( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -693,7 +696,7 @@ public RegistryCredential parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RegistryCredential(input, extensionRegistry); + return new RegistryCredential(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ResourcesProto.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ResourcesProto.java index f23fa82c6ddc..97b5949d3561 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ResourcesProto.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ResourcesProto.java @@ -102,7 +102,7 @@ public static void registerAllExtensions( "v1.DeviceCredential\0227\n\023last_heartbeat_ti" + "me\030\007 \001(\0132\032.google.protobuf.Timestamp\0223\n\017" + "last_event_time\030\010 \001(\0132\032.google.protobuf." + - "Timestamp\0223\n\017last_state_time\030\024 \001(\0132\032.goo", + "Timestamp\0223\n\017last_state_time\030\024 \001(\0132\032.goo" + "gle.protobuf.Timestamp\0228\n\024last_config_ac" + "k_time\030\016 \001(\0132\032.google.protobuf.Timestamp" + "\0229\n\025last_config_send_time\030\022 \001(\0132\032.google" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "oogle.rpc.Status\0221\n\006config\030\r \001(\0132!.googl" + "e.cloud.iot.v1.DeviceConfig\022/\n\005state\030\020 \001" + "(\0132 .google.cloud.iot.v1.DeviceState\022;\n\010" + - "metadata\030\021 \003(\0132).google.cloud.iot.v1.Dev", + "metadata\030\021 \003(\0132).google.cloud.iot.v1.Dev" + "ice.MetadataEntry\032/\n\rMetadataEntry\022\013\n\003ke" + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\367\002\n\016DeviceReg" + "istry\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022P\n\032event" + @@ -122,7 +122,7 @@ public static void registerAllExtensions( "oud.iot.v1.StateNotificationConfig\0224\n\013mq" + "tt_config\030\004 \001(\0132\037.google.cloud.iot.v1.Mq" + "ttConfig\0224\n\013http_config\030\t \001(\0132\037.google.c" + - "loud.iot.v1.HttpConfig\022<\n\013credentials\030\010 ", + "loud.iot.v1.HttpConfig\022<\n\013credentials\030\010 " + "\003(\0132\'.google.cloud.iot.v1.RegistryCreden" + "tial\"H\n\nMqttConfig\022:\n\022mqtt_enabled_state" + "\030\001 \001(\0162\036.google.cloud.iot.v1.MqttState\"H" + @@ -132,7 +132,7 @@ public static void registerAllExtensions( "\030\002 \001(\t\022\031\n\021pubsub_topic_name\030\001 \001(\t\"4\n\027Sta" + "teNotificationConfig\022\031\n\021pubsub_topic_nam" + "e\030\001 \001(\t\"o\n\022RegistryCredential\022K\n\026public_" + - "key_certificate\030\001 \001(\0132).google.cloud.iot", + "key_certificate\030\001 \001(\0132).google.cloud.iot" + ".v1.PublicKeyCertificateH\000B\014\n\ncredential" + "\"\320\001\n\026X509CertificateDetails\022\016\n\006issuer\030\001 " + "\001(\t\022\017\n\007subject\030\002 \001(\t\022.\n\nstart_time\030\003 \001(\013" + @@ -142,7 +142,7 @@ public static void registerAllExtensions( "_type\030\006 \001(\t\"\257\001\n\024PublicKeyCertificate\022?\n\006" + "format\030\001 \001(\0162/.google.cloud.iot.v1.Publi" + "cKeyCertificateFormat\022\023\n\013certificate\030\002 \001" + - "(\t\022A\n\014x509_details\030\003 \001(\0132+.google.cloud.", + "(\t\022A\n\014x509_details\030\003 \001(\0132+.google.cloud." + "iot.v1.X509CertificateDetails\"\225\001\n\020Device" + "Credential\022>\n\npublic_key\030\002 \001(\0132(.google." + "cloud.iot.v1.PublicKeyCredentialH\000\0223\n\017ex" + @@ -152,7 +152,7 @@ public static void registerAllExtensions( "v1.PublicKeyFormat\022\013\n\003key\030\002 \001(\t\"\240\001\n\014Devi" + "ceConfig\022\017\n\007version\030\001 \001(\003\0225\n\021cloud_updat" + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + - "\0223\n\017device_ack_time\030\003 \001(\0132\032.google.proto", + "\0223\n\017device_ack_time\030\003 \001(\0132\032.google.proto" + "buf.Timestamp\022\023\n\013binary_data\030\004 \001(\014\"S\n\013De" + "viceState\022/\n\013update_time\030\001 \001(\0132\032.google." + "protobuf.Timestamp\022\023\n\013binary_data\030\002 \001(\014*" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "\n\014HTTP_ENABLED\020\001\022\021\n\rHTTP_DISABLED\020\002*e\n\032P" + "ublicKeyCertificateFormat\022-\n)UNSPECIFIED" + "_PUBLIC_KEY_CERTIFICATE_FORMAT\020\000\022\030\n\024X509" + - "_CERTIFICATE_PEM\020\001*v\n\017PublicKeyFormat\022!\n", + "_CERTIFICATE_PEM\020\001*v\n\017PublicKeyFormat\022!\n" + "\035UNSPECIFIED_PUBLIC_KEY_FORMAT\020\000\022\013\n\007RSA_" + "PEM\020\003\022\020\n\014RSA_X509_PEM\020\001\022\r\n\tES256_PEM\020\002\022\022" + "\n\016ES256_X509_PEM\020\004Bf\n\027com.google.cloud.i" + diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/StateNotificationConfig.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/StateNotificationConfig.java index 9cc7aed6afeb..848e3573fd73 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/StateNotificationConfig.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/StateNotificationConfig.java @@ -33,6 +33,9 @@ private StateNotificationConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public StateNotificationConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StateNotificationConfig(input, extensionRegistry); + return new StateNotificationConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/UpdateDeviceRegistryRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/UpdateDeviceRegistryRequest.java index b035e1e3c466..1050afa6a4ca 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/UpdateDeviceRegistryRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/UpdateDeviceRegistryRequest.java @@ -32,6 +32,9 @@ private UpdateDeviceRegistryRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -903,7 +906,7 @@ public UpdateDeviceRegistryRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateDeviceRegistryRequest(input, extensionRegistry); + return new UpdateDeviceRegistryRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/UpdateDeviceRequest.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/UpdateDeviceRequest.java index 89dd3d532993..39b81a0b0d9a 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/UpdateDeviceRequest.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/UpdateDeviceRequest.java @@ -32,6 +32,9 @@ private UpdateDeviceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -903,7 +906,7 @@ public UpdateDeviceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateDeviceRequest(input, extensionRegistry); + return new UpdateDeviceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/X509CertificateDetails.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/X509CertificateDetails.java index f44db303a783..7535ad6cbc93 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/X509CertificateDetails.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/X509CertificateDetails.java @@ -36,6 +36,9 @@ private X509CertificateDetails( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1451,7 +1454,7 @@ public X509CertificateDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new X509CertificateDetails(input, extensionRegistry); + return new X509CertificateDetails(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequest.java index e26b2f1cb31b..c92d5ec1d860 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequest.java @@ -33,6 +33,9 @@ private AnalyzeEntitiesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -713,7 +716,7 @@ public AnalyzeEntitiesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeEntitiesRequest(input, extensionRegistry); + return new AnalyzeEntitiesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponse.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponse.java index c07763ee40b7..a93d9f069f02 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponse.java @@ -34,6 +34,9 @@ private AnalyzeEntitiesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public AnalyzeEntitiesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeEntitiesResponse(input, extensionRegistry); + return new AnalyzeEntitiesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequest.java index bde4b0e4bb72..e8cd3120942c 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequest.java @@ -33,6 +33,9 @@ private AnalyzeEntitySentimentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -713,7 +716,7 @@ public AnalyzeEntitySentimentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeEntitySentimentRequest(input, extensionRegistry); + return new AnalyzeEntitySentimentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponse.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponse.java index 6a26f096da30..9ab8aa02e8d2 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponse.java @@ -34,6 +34,9 @@ private AnalyzeEntitySentimentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public AnalyzeEntitySentimentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeEntitySentimentResponse(input, extensionRegistry); + return new AnalyzeEntitySentimentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequest.java index 081f8dd87104..7d5ac39154ca 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequest.java @@ -33,6 +33,9 @@ private AnalyzeSentimentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -713,7 +716,7 @@ public AnalyzeSentimentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeSentimentRequest(input, extensionRegistry); + return new AnalyzeSentimentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponse.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponse.java index 0f0949070968..db9d77e8fe7a 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponse.java @@ -34,6 +34,9 @@ private AnalyzeSentimentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1211,7 +1214,7 @@ public AnalyzeSentimentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeSentimentResponse(input, extensionRegistry); + return new AnalyzeSentimentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequest.java index df6d3ba294a6..eea489e54d7c 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequest.java @@ -33,6 +33,9 @@ private AnalyzeSyntaxRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -713,7 +716,7 @@ public AnalyzeSyntaxRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeSyntaxRequest(input, extensionRegistry); + return new AnalyzeSyntaxRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponse.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponse.java index 8db3c4b46000..709473bea912 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponse.java @@ -35,6 +35,9 @@ private AnalyzeSyntaxResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1417,7 +1420,7 @@ public AnalyzeSyntaxResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeSyntaxResponse(input, extensionRegistry); + return new AnalyzeSyntaxResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequest.java index a0b4092b4d05..2a982c33c650 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequest.java @@ -34,6 +34,9 @@ private AnnotateTextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -192,6 +195,9 @@ private Features( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -904,7 +910,7 @@ public Features parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Features(input, extensionRegistry); + return new Features(input, extensionRegistry); } }; @@ -1759,7 +1765,7 @@ public AnnotateTextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateTextRequest(input, extensionRegistry); + return new AnnotateTextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponse.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponse.java index 9ec5396808f4..1cfbdefb3f51 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponse.java @@ -37,6 +37,9 @@ private AnnotateTextResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2643,7 +2646,7 @@ public AnnotateTextResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateTextResponse(input, extensionRegistry); + return new AnnotateTextResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassificationCategory.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassificationCategory.java index 24c4c3ca78ec..661e464de9a6 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassificationCategory.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassificationCategory.java @@ -34,6 +34,9 @@ private ClassificationCategory( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -609,7 +612,7 @@ public ClassificationCategory parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ClassificationCategory(input, extensionRegistry); + return new ClassificationCategory(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequest.java index 21227490fadb..ef51f8524f24 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequest.java @@ -32,6 +32,9 @@ private ClassifyTextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public ClassifyTextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ClassifyTextRequest(input, extensionRegistry); + return new ClassifyTextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextResponse.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextResponse.java index 73ea7ee357fd..f43e7826a2a9 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextResponse.java @@ -33,6 +33,9 @@ private ClassifyTextResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public ClassifyTextResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ClassifyTextResponse(input, extensionRegistry); + return new ClassifyTextResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/DependencyEdge.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/DependencyEdge.java index 85c3e5beb141..ab493c474bd1 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/DependencyEdge.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/DependencyEdge.java @@ -36,6 +36,9 @@ private DependencyEdge( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2073,7 +2076,7 @@ public DependencyEdge parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DependencyEdge(input, extensionRegistry); + return new DependencyEdge(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Document.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Document.java index 28ddfe314b65..ebe56dd17582 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Document.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Document.java @@ -35,6 +35,9 @@ private Document( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1285,7 +1288,7 @@ public Document parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Document(input, extensionRegistry); + return new Document(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Entity.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Entity.java index e1e3c6a08ec9..286b6e9ac424 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Entity.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Entity.java @@ -38,6 +38,9 @@ private Entity( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2022,7 +2025,7 @@ public Entity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); + return new Entity(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMention.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMention.java index 4ad95693114d..c4bfb98864bd 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMention.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMention.java @@ -34,6 +34,9 @@ private EntityMention( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1115,7 +1118,7 @@ public EntityMention parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityMention(input, extensionRegistry); + return new EntityMention(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java index 5a2c3dbde19c..5d54e98179fd 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java @@ -152,7 +152,7 @@ public static void registerAllExtensions( "\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nPLAIN_TEX" + "T\020\001\022\010\n\004HTML\020\002B\010\n\006source\"t\n\010Sentence\0220\n\004t" + "ext\030\001 \001(\0132\".google.cloud.language.v1.Tex" + - "tSpan\0226\n\tsentiment\030\002 \001(\0132#.google.cloud.", + "tSpan\0226\n\tsentiment\030\002 \001(\0132#.google.cloud." + "language.v1.Sentiment\"\276\003\n\006Entity\022\014\n\004name" + "\030\001 \001(\t\0223\n\004type\030\002 \001(\0162%.google.cloud.lang" + "uage.v1.Entity.Type\022@\n\010metadata\030\003 \003(\0132.." + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "on\0226\n\tsentiment\030\006 \001(\0132#.google.cloud.lan" + "guage.v1.Sentiment\032/\n\rMetadataEntry\022\013\n\003k" + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"y\n\004Type\022\013\n\007U" + - "NKNOWN\020\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014OR", + "NKNOWN\020\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014OR" + "GANIZATION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART\020\005" + "\022\021\n\rCONSUMER_GOOD\020\006\022\t\n\005OTHER\020\007\"\313\001\n\005Token" + "\0220\n\004text\030\001 \001(\0132\".google.cloud.language.v" + @@ -172,7 +172,7 @@ public static void registerAllExtensions( "age.v1.DependencyEdge\022\r\n\005lemma\030\004 \001(\t\"-\n\t" + "Sentiment\022\021\n\tmagnitude\030\002 \001(\002\022\r\n\005score\030\003 " + "\001(\002\"\243\020\n\014PartOfSpeech\0227\n\003tag\030\001 \001(\0162*.goog" + - "le.cloud.language.v1.PartOfSpeech.Tag\022=\n", + "le.cloud.language.v1.PartOfSpeech.Tag\022=\n" + "\006aspect\030\002 \001(\0162-.google.cloud.language.v1" + ".PartOfSpeech.Aspect\0229\n\004case\030\003 \001(\0162+.goo" + "gle.cloud.language.v1.PartOfSpeech.Case\022" + @@ -182,7 +182,7 @@ public static void registerAllExtensions( "r\0229\n\004mood\030\006 \001(\0162+.google.cloud.language." + "v1.PartOfSpeech.Mood\022=\n\006number\030\007 \001(\0162-.g" + "oogle.cloud.language.v1.PartOfSpeech.Num" + - "ber\022=\n\006person\030\010 \001(\0162-.google.cloud.langu", + "ber\022=\n\006person\030\010 \001(\0162-.google.cloud.langu" + "age.v1.PartOfSpeech.Person\022=\n\006proper\030\t \001" + "(\0162-.google.cloud.language.v1.PartOfSpee" + "ch.Proper\022G\n\013reciprocity\030\n \001(\01622.google." + @@ -192,7 +192,7 @@ public static void registerAllExtensions( ".google.cloud.language.v1.PartOfSpeech.V" + "oice\"\215\001\n\003Tag\022\013\n\007UNKNOWN\020\000\022\007\n\003ADJ\020\001\022\007\n\003AD" + "P\020\002\022\007\n\003ADV\020\003\022\010\n\004CONJ\020\004\022\007\n\003DET\020\005\022\010\n\004NOUN\020" + - "\006\022\007\n\003NUM\020\007\022\010\n\004PRON\020\010\022\007\n\003PRT\020\t\022\t\n\005PUNCT\020\n", + "\006\022\007\n\003NUM\020\007\022\010\n\004PRON\020\010\022\007\n\003PRT\020\t\022\t\n\005PUNCT\020\n" + "\022\010\n\004VERB\020\013\022\005\n\001X\020\014\022\t\n\005AFFIX\020\r\"O\n\006Aspect\022\022" + "\n\016ASPECT_UNKNOWN\020\000\022\016\n\nPERFECTIVE\020\001\022\020\n\014IM" + "PERFECTIVE\020\002\022\017\n\013PROGRESSIVE\020\003\"\370\001\n\004Case\022\020" + @@ -202,7 +202,7 @@ public static void registerAllExtensions( "VE\020\007\022\016\n\nNOMINATIVE\020\010\022\013\n\007OBLIQUE\020\t\022\r\n\tPAR" + "TITIVE\020\n\022\021\n\rPREPOSITIONAL\020\013\022\022\n\016REFLEXIVE" + "_CASE\020\014\022\021\n\rRELATIVE_CASE\020\r\022\014\n\010VOCATIVE\020\016" + - "\"\257\001\n\004Form\022\020\n\014FORM_UNKNOWN\020\000\022\014\n\010ADNOMIAL\020", + "\"\257\001\n\004Form\022\020\n\014FORM_UNKNOWN\020\000\022\014\n\010ADNOMIAL\020" + "\001\022\r\n\tAUXILIARY\020\002\022\022\n\016COMPLEMENTIZER\020\003\022\020\n\014" + "FINAL_ENDING\020\004\022\n\n\006GERUND\020\005\022\n\n\006REALIS\020\006\022\014" + "\n\010IRREALIS\020\007\022\t\n\005SHORT\020\010\022\010\n\004LONG\020\t\022\t\n\005ORD" + @@ -212,7 +212,7 @@ public static void registerAllExtensions( "ONDITIONAL_MOOD\020\001\022\016\n\nIMPERATIVE\020\002\022\016\n\nIND" + "ICATIVE\020\003\022\021\n\rINTERROGATIVE\020\004\022\013\n\007JUSSIVE\020" + "\005\022\017\n\013SUBJUNCTIVE\020\006\"@\n\006Number\022\022\n\016NUMBER_U" + - "NKNOWN\020\000\022\014\n\010SINGULAR\020\001\022\n\n\006PLURAL\020\002\022\010\n\004DU", + "NKNOWN\020\000\022\014\n\010SINGULAR\020\001\022\n\n\006PLURAL\020\002\022\010\n\004DU" + "AL\020\003\"T\n\006Person\022\022\n\016PERSON_UNKNOWN\020\000\022\t\n\005FI" + "RST\020\001\022\n\n\006SECOND\020\002\022\t\n\005THIRD\020\003\022\024\n\020REFLEXIV" + "E_PERSON\020\004\"8\n\006Proper\022\022\n\016PROPER_UNKNOWN\020\000" + @@ -222,7 +222,7 @@ public static void registerAllExtensions( "SE_UNKNOWN\020\000\022\025\n\021CONDITIONAL_TENSE\020\001\022\n\n\006F" + "UTURE\020\002\022\010\n\004PAST\020\003\022\013\n\007PRESENT\020\004\022\r\n\tIMPERF" + "ECT\020\005\022\016\n\nPLUPERFECT\020\006\"B\n\005Voice\022\021\n\rVOICE_" + - "UNKNOWN\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tCAUSATIVE\020\002\022\013\n\007", + "UNKNOWN\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tCAUSATIVE\020\002\022\013\n\007" + "PASSIVE\020\003\"\225\010\n\016DependencyEdge\022\030\n\020head_tok" + "en_index\030\001 \001(\005\022=\n\005label\030\002 \001(\0162..google.c" + "loud.language.v1.DependencyEdge.Label\"\251\007" + @@ -232,7 +232,7 @@ public static void registerAllExtensions( "\006\n\002CC\020\n\022\t\n\005CCOMP\020\013\022\010\n\004CONJ\020\014\022\t\n\005CSUBJ\020\r\022" + "\r\n\tCSUBJPASS\020\016\022\007\n\003DEP\020\017\022\007\n\003DET\020\020\022\r\n\tDISC" + "OURSE\020\021\022\010\n\004DOBJ\020\022\022\010\n\004EXPL\020\023\022\014\n\010GOESWITH\020" + - "\024\022\010\n\004IOBJ\020\025\022\010\n\004MARK\020\026\022\007\n\003MWE\020\027\022\007\n\003MWV\020\030\022", + "\024\022\010\n\004IOBJ\020\025\022\010\n\004MARK\020\026\022\007\n\003MWE\020\027\022\007\n\003MWV\020\030\022" + "\007\n\003NEG\020\031\022\006\n\002NN\020\032\022\014\n\010NPADVMOD\020\033\022\t\n\005NSUBJ\020" + "\034\022\r\n\tNSUBJPASS\020\035\022\007\n\003NUM\020\036\022\n\n\006NUMBER\020\037\022\005\n" + "\001P\020 \022\r\n\tPARATAXIS\020!\022\013\n\007PARTMOD\020\"\022\t\n\005PCOM" + @@ -242,7 +242,7 @@ public static void registerAllExtensions( "\020.\022\014\n\010QUANTMOD\020/\022\t\n\005RCMOD\0200\022\014\n\010RCMODREL\020" + "1\022\t\n\005RDROP\0202\022\007\n\003REF\0203\022\013\n\007REMNANT\0204\022\016\n\nRE" + "PARANDUM\0205\022\010\n\004ROOT\0206\022\010\n\004SNUM\0207\022\010\n\004SUFF\0208" + - "\022\010\n\004TMOD\0209\022\t\n\005TOPIC\020:\022\010\n\004VMOD\020;\022\014\n\010VOCAT", + "\022\010\n\004TMOD\0209\022\t\n\005TOPIC\020:\022\010\n\004VMOD\020;\022\014\n\010VOCAT" + "IVE\020<\022\t\n\005XCOMP\020=\022\n\n\006SUFFIX\020>\022\t\n\005TITLE\020?\022" + "\014\n\010ADVPHMOD\020@\022\013\n\007AUXCAUS\020A\022\t\n\005AUXVV\020B\022\t\n" + "\005DTMOD\020C\022\013\n\007FOREIGN\020D\022\006\n\002KW\020E\022\010\n\004LIST\020F\022" + @@ -252,7 +252,7 @@ public static void registerAllExtensions( "\003MES\020Q\022\t\n\005NCOMP\020R\"\347\001\n\rEntityMention\0220\n\004t" + "ext\030\001 \001(\0132\".google.cloud.language.v1.Tex" + "tSpan\022:\n\004type\030\002 \001(\0162,.google.cloud.langu" + - "age.v1.EntityMention.Type\0226\n\tsentiment\030\003", + "age.v1.EntityMention.Type\0226\n\tsentiment\030\003" + " \001(\0132#.google.cloud.language.v1.Sentimen" + "t\"0\n\004Type\022\020\n\014TYPE_UNKNOWN\020\000\022\n\n\006PROPER\020\001\022" + "\n\n\006COMMON\020\002\"1\n\010TextSpan\022\017\n\007content\030\001 \001(\t" + @@ -262,7 +262,7 @@ public static void registerAllExtensions( "nt\030\001 \001(\0132\".google.cloud.language.v1.Docu" + "ment\022=\n\rencoding_type\030\002 \001(\0162&.google.clo" + "ud.language.v1.EncodingType\"\244\001\n\030AnalyzeS" + - "entimentResponse\022?\n\022document_sentiment\030\001", + "entimentResponse\022?\n\022document_sentiment\030\001" + " \001(\0132#.google.cloud.language.v1.Sentimen" + "t\022\020\n\010language\030\002 \001(\t\0225\n\tsentences\030\003 \003(\0132\"" + ".google.cloud.language.v1.Sentence\"\224\001\n\035A" + @@ -272,7 +272,7 @@ public static void registerAllExtensions( ".language.v1.EncodingType\"f\n\036AnalyzeEnti" + "tySentimentResponse\0222\n\010entities\030\001 \003(\0132 ." + "google.cloud.language.v1.Entity\022\020\n\010langu" + - "age\030\002 \001(\t\"\215\001\n\026AnalyzeEntitiesRequest\0224\n\010", + "age\030\002 \001(\t\"\215\001\n\026AnalyzeEntitiesRequest\0224\n\010" + "document\030\001 \001(\0132\".google.cloud.language.v" + "1.Document\022=\n\rencoding_type\030\002 \001(\0162&.goog" + "le.cloud.language.v1.EncodingType\"_\n\027Ana" + @@ -282,7 +282,7 @@ public static void registerAllExtensions( "ocument\030\001 \001(\0132\".google.cloud.language.v1" + ".Document\022=\n\rencoding_type\030\002 \001(\0162&.googl" + "e.cloud.language.v1.EncodingType\"\221\001\n\025Ana" + - "lyzeSyntaxResponse\0225\n\tsentences\030\001 \003(\0132\".", + "lyzeSyntaxResponse\0225\n\tsentences\030\001 \003(\0132\"." + "google.cloud.language.v1.Sentence\022/\n\006tok" + "ens\030\002 \003(\0132\037.google.cloud.language.v1.Tok" + "en\022\020\n\010language\030\003 \001(\t\"K\n\023ClassifyTextRequ" + @@ -292,7 +292,7 @@ public static void registerAllExtensions( "guage.v1.ClassificationCategory\"\360\002\n\023Anno" + "tateTextRequest\0224\n\010document\030\001 \001(\0132\".goog" + "le.cloud.language.v1.Document\022H\n\010feature" + - "s\030\002 \001(\01326.google.cloud.language.v1.Annot", + "s\030\002 \001(\01326.google.cloud.language.v1.Annot" + "ateTextRequest.Features\022=\n\rencoding_type" + "\030\003 \001(\0162&.google.cloud.language.v1.Encodi" + "ngType\032\231\001\n\010Features\022\026\n\016extract_syntax\030\001 " + @@ -302,7 +302,7 @@ public static void registerAllExtensions( "(\010\"\313\002\n\024AnnotateTextResponse\0225\n\tsentences" + "\030\001 \003(\0132\".google.cloud.language.v1.Senten" + "ce\022/\n\006tokens\030\002 \003(\0132\037.google.cloud.langua" + - "ge.v1.Token\0222\n\010entities\030\003 \003(\0132 .google.c", + "ge.v1.Token\0222\n\010entities\030\003 \003(\0132 .google.c" + "loud.language.v1.Entity\022?\n\022document_sent" + "iment\030\004 \001(\0132#.google.cloud.language.v1.S" + "entiment\022\020\n\010language\030\005 \001(\t\022D\n\ncategories" + @@ -312,7 +312,7 @@ public static void registerAllExtensions( "anguageService\022\244\001\n\020AnalyzeSentiment\0221.go" + "ogle.cloud.language.v1.AnalyzeSentimentR" + "equest\0322.google.cloud.language.v1.Analyz" + - "eSentimentResponse\")\202\323\344\223\002#\"\036/v1/document", + "eSentimentResponse\")\202\323\344\223\002#\"\036/v1/document" + "s:analyzeSentiment:\001*\022\240\001\n\017AnalyzeEntitie" + "s\0220.google.cloud.language.v1.AnalyzeEnti" + "tiesRequest\0321.google.cloud.language.v1.A" + @@ -322,7 +322,7 @@ public static void registerAllExtensions( "nalyzeEntitySentimentRequest\0328.google.cl" + "oud.language.v1.AnalyzeEntitySentimentRe" + "sponse\"/\202\323\344\223\002)\"$/v1/documents:analyzeEnt" + - "itySentiment:\001*\022\230\001\n\rAnalyzeSyntax\022..goog", + "itySentiment:\001*\022\230\001\n\rAnalyzeSyntax\022..goog" + "le.cloud.language.v1.AnalyzeSyntaxReques" + "t\032/.google.cloud.language.v1.AnalyzeSynt" + "axResponse\"&\202\323\344\223\002 \"\033/v1/documents:analyz" + @@ -332,7 +332,7 @@ public static void registerAllExtensions( "se\"%\202\323\344\223\002\037\"\032/v1/documents:classifyText:\001" + "*\022\224\001\n\014AnnotateText\022-.google.cloud.langua" + "ge.v1.AnnotateTextRequest\032..google.cloud" + - ".language.v1.AnnotateTextResponse\"%\202\323\344\223\002", + ".language.v1.AnnotateTextResponse\"%\202\323\344\223\002" + "\037\"\032/v1/documents:annotateText:\001*Bx\n\034com." + "google.cloud.language.v1B\024LanguageServic" + "eProtoP\001Z@google.golang.org/genproto/goo" + diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/PartOfSpeech.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/PartOfSpeech.java index 230eab48f4b0..3450ba257e20 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/PartOfSpeech.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/PartOfSpeech.java @@ -46,6 +46,9 @@ private PartOfSpeech( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4119,7 +4122,7 @@ public PartOfSpeech parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PartOfSpeech(input, extensionRegistry); + return new PartOfSpeech(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentence.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentence.java index d655e467d606..6c6ae73008fb 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentence.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentence.java @@ -32,6 +32,9 @@ private Sentence( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -855,7 +858,7 @@ public Sentence parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Sentence(input, extensionRegistry); + return new Sentence(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentiment.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentiment.java index e752d53c333f..5ac156fe6d36 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentiment.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentiment.java @@ -35,6 +35,9 @@ private Sentiment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -541,7 +544,7 @@ public Sentiment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Sentiment(input, extensionRegistry); + return new Sentiment(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpan.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpan.java index a3fc06640e47..b9c28f3c8494 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpan.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpan.java @@ -34,6 +34,9 @@ private TextSpan( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -606,7 +609,7 @@ public TextSpan parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TextSpan(input, extensionRegistry); + return new TextSpan(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Token.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Token.java index f554f6246ae8..8f946af99892 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Token.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Token.java @@ -33,6 +33,9 @@ private Token( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1215,7 +1218,7 @@ public Token parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Token(input, extensionRegistry); + return new Token(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitiesRequest.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitiesRequest.java index c63d96dd26cc..686524870c06 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitiesRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitiesRequest.java @@ -33,6 +33,9 @@ private AnalyzeEntitiesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -713,7 +716,7 @@ public AnalyzeEntitiesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeEntitiesRequest(input, extensionRegistry); + return new AnalyzeEntitiesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitiesResponse.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitiesResponse.java index 0b973a178885..3e7cab8ca866 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitiesResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitiesResponse.java @@ -34,6 +34,9 @@ private AnalyzeEntitiesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public AnalyzeEntitiesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeEntitiesResponse(input, extensionRegistry); + return new AnalyzeEntitiesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitySentimentRequest.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitySentimentRequest.java index fa13602cf2c0..952b7f08a6a3 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitySentimentRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitySentimentRequest.java @@ -33,6 +33,9 @@ private AnalyzeEntitySentimentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -713,7 +716,7 @@ public AnalyzeEntitySentimentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeEntitySentimentRequest(input, extensionRegistry); + return new AnalyzeEntitySentimentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitySentimentResponse.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitySentimentResponse.java index b9d853bfc5cd..7ca42510903d 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitySentimentResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeEntitySentimentResponse.java @@ -34,6 +34,9 @@ private AnalyzeEntitySentimentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public AnalyzeEntitySentimentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeEntitySentimentResponse(input, extensionRegistry); + return new AnalyzeEntitySentimentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSentimentRequest.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSentimentRequest.java index 1d0f2732e7b5..829cd6a2d1a0 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSentimentRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSentimentRequest.java @@ -33,6 +33,9 @@ private AnalyzeSentimentRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -720,7 +723,7 @@ public AnalyzeSentimentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeSentimentRequest(input, extensionRegistry); + return new AnalyzeSentimentRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSentimentResponse.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSentimentResponse.java index b00f991d5fbb..a91be21c659e 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSentimentResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSentimentResponse.java @@ -34,6 +34,9 @@ private AnalyzeSentimentResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1211,7 +1214,7 @@ public AnalyzeSentimentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeSentimentResponse(input, extensionRegistry); + return new AnalyzeSentimentResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSyntaxRequest.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSyntaxRequest.java index 6ee60f828dd6..a0de2c64e2f2 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSyntaxRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSyntaxRequest.java @@ -33,6 +33,9 @@ private AnalyzeSyntaxRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -713,7 +716,7 @@ public AnalyzeSyntaxRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeSyntaxRequest(input, extensionRegistry); + return new AnalyzeSyntaxRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSyntaxResponse.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSyntaxResponse.java index fc05b4accbee..04653cd8a719 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSyntaxResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnalyzeSyntaxResponse.java @@ -35,6 +35,9 @@ private AnalyzeSyntaxResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1417,7 +1420,7 @@ public AnalyzeSyntaxResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeSyntaxResponse(input, extensionRegistry); + return new AnalyzeSyntaxResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnnotateTextRequest.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnnotateTextRequest.java index c12bbd0d8055..395d333ed933 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnnotateTextRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnnotateTextRequest.java @@ -34,6 +34,9 @@ private AnnotateTextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -192,6 +195,9 @@ private Features( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -904,7 +910,7 @@ public Features parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Features(input, extensionRegistry); + return new Features(input, extensionRegistry); } }; @@ -1759,7 +1765,7 @@ public AnnotateTextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateTextRequest(input, extensionRegistry); + return new AnnotateTextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnnotateTextResponse.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnnotateTextResponse.java index 61802cede6bd..7c2308fcb741 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnnotateTextResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/AnnotateTextResponse.java @@ -37,6 +37,9 @@ private AnnotateTextResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2643,7 +2646,7 @@ public AnnotateTextResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateTextResponse(input, extensionRegistry); + return new AnnotateTextResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassificationCategory.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassificationCategory.java index 4b580a1e3dbf..b7da284ecb3c 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassificationCategory.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassificationCategory.java @@ -34,6 +34,9 @@ private ClassificationCategory( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -609,7 +612,7 @@ public ClassificationCategory parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ClassificationCategory(input, extensionRegistry); + return new ClassificationCategory(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassifyTextRequest.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassifyTextRequest.java index 6e2e1c0532b7..2f7d1a6efbad 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassifyTextRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassifyTextRequest.java @@ -32,6 +32,9 @@ private ClassifyTextRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public ClassifyTextRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ClassifyTextRequest(input, extensionRegistry); + return new ClassifyTextRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassifyTextResponse.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassifyTextResponse.java index 609b29b7c61f..d88f4a88d8b4 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassifyTextResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/ClassifyTextResponse.java @@ -33,6 +33,9 @@ private ClassifyTextResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public ClassifyTextResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ClassifyTextResponse(input, extensionRegistry); + return new ClassifyTextResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/DependencyEdge.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/DependencyEdge.java index c7c524c7495c..1b5da3940561 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/DependencyEdge.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/DependencyEdge.java @@ -34,6 +34,9 @@ private DependencyEdge( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2069,7 +2072,7 @@ public DependencyEdge parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DependencyEdge(input, extensionRegistry); + return new DependencyEdge(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Document.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Document.java index 322139a99c21..e884a7b601c9 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Document.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Document.java @@ -35,6 +35,9 @@ private Document( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1285,7 +1288,7 @@ public Document parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Document(input, extensionRegistry); + return new Document(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Entity.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Entity.java index 210d1d95fe94..3d1a8d9473fb 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Entity.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Entity.java @@ -38,6 +38,9 @@ private Entity( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2022,7 +2025,7 @@ public Entity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); + return new Entity(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/EntityMention.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/EntityMention.java index 3b290641525d..ca2ee8eba5b5 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/EntityMention.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/EntityMention.java @@ -34,6 +34,9 @@ private EntityMention( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1115,7 +1118,7 @@ public EntityMention parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityMention(input, extensionRegistry); + return new EntityMention(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceProto.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceProto.java index e72d5aa509e7..1be9f2899813 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceProto.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceProto.java @@ -152,7 +152,7 @@ public static void registerAllExtensions( "google.cloud.language.v1beta2.Document.T" + "ype\022\021\n\007content\030\002 \001(\tH\000\022\031\n\017gcs_content_ur" + "i\030\003 \001(\tH\000\022\020\n\010language\030\004 \001(\t\"6\n\004Type\022\024\n\020T" + - "YPE_UNSPECIFIED\020\000\022\016\n\nPLAIN_TEXT\020\001\022\010\n\004HTM", + "YPE_UNSPECIFIED\020\000\022\016\n\nPLAIN_TEXT\020\001\022\010\n\004HTM" + "L\020\002B\010\n\006source\"~\n\010Sentence\0225\n\004text\030\001 \001(\0132" + "\'.google.cloud.language.v1beta2.TextSpan" + "\022;\n\tsentiment\030\002 \001(\0132(.google.cloud.langu" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "(\01323.google.cloud.language.v1beta2.Entit" + "y.MetadataEntry\022\020\n\010salience\030\004 \001(\002\022>\n\010men" + "tions\030\005 \003(\0132,.google.cloud.language.v1be" + - "ta2.EntityMention\022;\n\tsentiment\030\006 \001(\0132(.g", + "ta2.EntityMention\022;\n\tsentiment\030\006 \001(\0132(.g" + "oogle.cloud.language.v1beta2.Sentiment\032/" + "\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + "\001(\t:\0028\001\"y\n\004Type\022\013\n\007UNKNOWN\020\000\022\n\n\006PERSON\020\001" + @@ -172,7 +172,7 @@ public static void registerAllExtensions( "gle.cloud.language.v1beta2.TextSpan\022C\n\016p" + "art_of_speech\030\002 \001(\0132+.google.cloud.langu" + "age.v1beta2.PartOfSpeech\022F\n\017dependency_e" + - "dge\030\003 \001(\0132-.google.cloud.language.v1beta", + "dge\030\003 \001(\0132-.google.cloud.language.v1beta" + "2.DependencyEdge\022\r\n\005lemma\030\004 \001(\t\"-\n\tSenti" + "ment\022\021\n\tmagnitude\030\002 \001(\002\022\r\n\005score\030\003 \001(\002\"\337" + "\020\n\014PartOfSpeech\022<\n\003tag\030\001 \001(\0162/.google.cl" + @@ -182,7 +182,7 @@ public static void registerAllExtensions( "0.google.cloud.language.v1beta2.PartOfSp" + "eech.Case\022>\n\004form\030\004 \001(\01620.google.cloud.l" + "anguage.v1beta2.PartOfSpeech.Form\022B\n\006gen" + - "der\030\005 \001(\01622.google.cloud.language.v1beta", + "der\030\005 \001(\01622.google.cloud.language.v1beta" + "2.PartOfSpeech.Gender\022>\n\004mood\030\006 \001(\01620.go" + "ogle.cloud.language.v1beta2.PartOfSpeech" + ".Mood\022B\n\006number\030\007 \001(\01622.google.cloud.lan" + @@ -192,7 +192,7 @@ public static void registerAllExtensions( "google.cloud.language.v1beta2.PartOfSpee" + "ch.Proper\022L\n\013reciprocity\030\n \001(\01627.google." + "cloud.language.v1beta2.PartOfSpeech.Reci" + - "procity\022@\n\005tense\030\013 \001(\01621.google.cloud.la", + "procity\022@\n\005tense\030\013 \001(\01621.google.cloud.la" + "nguage.v1beta2.PartOfSpeech.Tense\022@\n\005voi" + "ce\030\014 \001(\01621.google.cloud.language.v1beta2" + ".PartOfSpeech.Voice\"\215\001\n\003Tag\022\013\n\007UNKNOWN\020\000" + @@ -202,7 +202,7 @@ public static void registerAllExtensions( "X\020\r\"O\n\006Aspect\022\022\n\016ASPECT_UNKNOWN\020\000\022\016\n\nPER" + "FECTIVE\020\001\022\020\n\014IMPERFECTIVE\020\002\022\017\n\013PROGRESSI" + "VE\020\003\"\370\001\n\004Case\022\020\n\014CASE_UNKNOWN\020\000\022\016\n\nACCUS" + - "ATIVE\020\001\022\r\n\tADVERBIAL\020\002\022\021\n\rCOMPLEMENTIVE\020", + "ATIVE\020\001\022\r\n\tADVERBIAL\020\002\022\021\n\rCOMPLEMENTIVE\020" + "\003\022\n\n\006DATIVE\020\004\022\014\n\010GENITIVE\020\005\022\020\n\014INSTRUMEN" + "TAL\020\006\022\014\n\010LOCATIVE\020\007\022\016\n\nNOMINATIVE\020\010\022\013\n\007O" + "BLIQUE\020\t\022\r\n\tPARTITIVE\020\n\022\021\n\rPREPOSITIONAL" + @@ -212,7 +212,7 @@ public static void registerAllExtensions( "EMENTIZER\020\003\022\020\n\014FINAL_ENDING\020\004\022\n\n\006GERUND\020" + "\005\022\n\n\006REALIS\020\006\022\014\n\010IRREALIS\020\007\022\t\n\005SHORT\020\010\022\010" + "\n\004LONG\020\t\022\t\n\005ORDER\020\n\022\014\n\010SPECIFIC\020\013\"E\n\006Gen" + - "der\022\022\n\016GENDER_UNKNOWN\020\000\022\014\n\010FEMININE\020\001\022\r\n", + "der\022\022\n\016GENDER_UNKNOWN\020\000\022\014\n\010FEMININE\020\001\022\r\n" + "\tMASCULINE\020\002\022\n\n\006NEUTER\020\003\"\177\n\004Mood\022\020\n\014MOOD" + "_UNKNOWN\020\000\022\024\n\020CONDITIONAL_MOOD\020\001\022\016\n\nIMPE" + "RATIVE\020\002\022\016\n\nINDICATIVE\020\003\022\021\n\rINTERROGATIV" + @@ -222,7 +222,7 @@ public static void registerAllExtensions( "UNKNOWN\020\000\022\t\n\005FIRST\020\001\022\n\n\006SECOND\020\002\022\t\n\005THIR" + "D\020\003\022\024\n\020REFLEXIVE_PERSON\020\004\"8\n\006Proper\022\022\n\016P" + "ROPER_UNKNOWN\020\000\022\n\n\006PROPER\020\001\022\016\n\nNOT_PROPE" + - "R\020\002\"J\n\013Reciprocity\022\027\n\023RECIPROCITY_UNKNOW", + "R\020\002\"J\n\013Reciprocity\022\027\n\023RECIPROCITY_UNKNOW" + "N\020\000\022\016\n\nRECIPROCAL\020\001\022\022\n\016NON_RECIPROCAL\020\002\"" + "s\n\005Tense\022\021\n\rTENSE_UNKNOWN\020\000\022\025\n\021CONDITION" + "AL_TENSE\020\001\022\n\n\006FUTURE\020\002\022\010\n\004PAST\020\003\022\013\n\007PRES" + @@ -232,7 +232,7 @@ public static void registerAllExtensions( "dge\022\030\n\020head_token_index\030\001 \001(\005\022B\n\005label\030\002" + " \001(\01623.google.cloud.language.v1beta2.Dep" + "endencyEdge.Label\"\251\007\n\005Label\022\013\n\007UNKNOWN\020\000" + - "\022\n\n\006ABBREV\020\001\022\t\n\005ACOMP\020\002\022\t\n\005ADVCL\020\003\022\n\n\006AD", + "\022\n\n\006ABBREV\020\001\022\t\n\005ACOMP\020\002\022\t\n\005ADVCL\020\003\022\n\n\006AD" + "VMOD\020\004\022\010\n\004AMOD\020\005\022\t\n\005APPOS\020\006\022\010\n\004ATTR\020\007\022\007\n" + "\003AUX\020\010\022\013\n\007AUXPASS\020\t\022\006\n\002CC\020\n\022\t\n\005CCOMP\020\013\022\010" + "\n\004CONJ\020\014\022\t\n\005CSUBJ\020\r\022\r\n\tCSUBJPASS\020\016\022\007\n\003DE" + @@ -242,7 +242,7 @@ public static void registerAllExtensions( "NPADVMOD\020\033\022\t\n\005NSUBJ\020\034\022\r\n\tNSUBJPASS\020\035\022\007\n\003" + "NUM\020\036\022\n\n\006NUMBER\020\037\022\005\n\001P\020 \022\r\n\tPARATAXIS\020!\022" + "\013\n\007PARTMOD\020\"\022\t\n\005PCOMP\020#\022\010\n\004POBJ\020$\022\010\n\004POS" + - "S\020%\022\013\n\007POSTNEG\020&\022\013\n\007PRECOMP\020\'\022\013\n\007PRECONJ", + "S\020%\022\013\n\007POSTNEG\020&\022\013\n\007PRECOMP\020\'\022\013\n\007PRECONJ" + "\020(\022\n\n\006PREDET\020)\022\010\n\004PREF\020*\022\010\n\004PREP\020+\022\t\n\005PR" + "ONL\020,\022\007\n\003PRT\020-\022\006\n\002PS\020.\022\014\n\010QUANTMOD\020/\022\t\n\005" + "RCMOD\0200\022\014\n\010RCMODREL\0201\022\t\n\005RDROP\0202\022\007\n\003REF\020" + @@ -252,7 +252,7 @@ public static void registerAllExtensions( "SUFFIX\020>\022\t\n\005TITLE\020?\022\014\n\010ADVPHMOD\020@\022\013\n\007AUX" + "CAUS\020A\022\t\n\005AUXVV\020B\022\t\n\005DTMOD\020C\022\013\n\007FOREIGN\020" + "D\022\006\n\002KW\020E\022\010\n\004LIST\020F\022\010\n\004NOMC\020G\022\014\n\010NOMCSUB" + - "J\020H\022\020\n\014NOMCSUBJPASS\020I\022\010\n\004NUMC\020J\022\007\n\003COP\020K", + "J\020H\022\020\n\014NOMCSUBJPASS\020I\022\010\n\004NUMC\020J\022\007\n\003COP\020K" + "\022\016\n\nDISLOCATED\020L\022\007\n\003ASP\020M\022\010\n\004GMOD\020N\022\010\n\004G" + "OBJ\020O\022\n\n\006INFMOD\020P\022\007\n\003MES\020Q\022\t\n\005NCOMP\020R\"\366\001" + "\n\rEntityMention\0225\n\004text\030\001 \001(\0132\'.google.c" + @@ -262,7 +262,7 @@ public static void registerAllExtensions( "gle.cloud.language.v1beta2.Sentiment\"0\n\004" + "Type\022\020\n\014TYPE_UNKNOWN\020\000\022\n\n\006PROPER\020\001\022\n\n\006CO" + "MMON\020\002\"1\n\010TextSpan\022\017\n\007content\030\001 \001(\t\022\024\n\014b" + - "egin_offset\030\002 \001(\005\":\n\026ClassificationCateg", + "egin_offset\030\002 \001(\005\":\n\026ClassificationCateg" + "ory\022\014\n\004name\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"\230\001" + "\n\027AnalyzeSentimentRequest\0229\n\010document\030\001 " + "\001(\0132\'.google.cloud.language.v1beta2.Docu" + @@ -272,7 +272,7 @@ public static void registerAllExtensions( "ent\030\001 \001(\0132(.google.cloud.language.v1beta" + "2.Sentiment\022\020\n\010language\030\002 \001(\t\022:\n\tsentenc" + "es\030\003 \003(\0132\'.google.cloud.language.v1beta2" + - ".Sentence\"\236\001\n\035AnalyzeEntitySentimentRequ", + ".Sentence\"\236\001\n\035AnalyzeEntitySentimentRequ" + "est\0229\n\010document\030\001 \001(\0132\'.google.cloud.lan" + "guage.v1beta2.Document\022B\n\rencoding_type\030" + "\002 \001(\0162+.google.cloud.language.v1beta2.En" + @@ -282,7 +282,7 @@ public static void registerAllExtensions( "\227\001\n\026AnalyzeEntitiesRequest\0229\n\010document\030\001" + " \001(\0132\'.google.cloud.language.v1beta2.Doc" + "ument\022B\n\rencoding_type\030\002 \001(\0162+.google.cl" + - "oud.language.v1beta2.EncodingType\"d\n\027Ana", + "oud.language.v1beta2.EncodingType\"d\n\027Ana" + "lyzeEntitiesResponse\0227\n\010entities\030\001 \003(\0132%" + ".google.cloud.language.v1beta2.Entity\022\020\n" + "\010language\030\002 \001(\t\"\225\001\n\024AnalyzeSyntaxRequest" + @@ -292,7 +292,7 @@ public static void registerAllExtensions( "ingType\"\233\001\n\025AnalyzeSyntaxResponse\022:\n\tsen" + "tences\030\001 \003(\0132\'.google.cloud.language.v1b" + "eta2.Sentence\0224\n\006tokens\030\002 \003(\0132$.google.c" + - "loud.language.v1beta2.Token\022\020\n\010language\030", + "loud.language.v1beta2.Token\022\020\n\010language\030" + "\003 \001(\t\"P\n\023ClassifyTextRequest\0229\n\010document" + "\030\001 \001(\0132\'.google.cloud.language.v1beta2.D" + "ocument\"a\n\024ClassifyTextResponse\022I\n\ncateg" + @@ -302,7 +302,7 @@ public static void registerAllExtensions( "oud.language.v1beta2.Document\022M\n\010feature" + "s\030\002 \001(\0132;.google.cloud.language.v1beta2." + "AnnotateTextRequest.Features\022B\n\rencoding" + - "_type\030\003 \001(\0162+.google.cloud.language.v1be", + "_type\030\003 \001(\0162+.google.cloud.language.v1be" + "ta2.EncodingType\032\231\001\n\010Features\022\026\n\016extract" + "_syntax\030\001 \001(\010\022\030\n\020extract_entities\030\002 \001(\010\022" + "\"\n\032extract_document_sentiment\030\003 \001(\010\022 \n\030e" + @@ -312,7 +312,7 @@ public static void registerAllExtensions( ".v1beta2.Sentence\0224\n\006tokens\030\002 \003(\0132$.goog" + "le.cloud.language.v1beta2.Token\0227\n\010entit" + "ies\030\003 \003(\0132%.google.cloud.language.v1beta" + - "2.Entity\022D\n\022document_sentiment\030\004 \001(\0132(.g", + "2.Entity\022D\n\022document_sentiment\030\004 \001(\0132(.g" + "oogle.cloud.language.v1beta2.Sentiment\022\020" + "\n\010language\030\005 \001(\t\022I\n\ncategories\030\006 \003(\01325.g" + "oogle.cloud.language.v1beta2.Classificat" + @@ -322,7 +322,7 @@ public static void registerAllExtensions( "cloud.language.v1beta2.AnalyzeSentimentR" + "equest\0327.google.cloud.language.v1beta2.A" + "nalyzeSentimentResponse\".\202\323\344\223\002(\"#/v1beta" + - "2/documents:analyzeSentiment:\001*\022\257\001\n\017Anal", + "2/documents:analyzeSentiment:\001*\022\257\001\n\017Anal" + "yzeEntities\0225.google.cloud.language.v1be" + "ta2.AnalyzeEntitiesRequest\0326.google.clou" + "d.language.v1beta2.AnalyzeEntitiesRespon" + @@ -332,7 +332,7 @@ public static void registerAllExtensions( "tySentimentRequest\032=.google.cloud.langua" + "ge.v1beta2.AnalyzeEntitySentimentRespons" + "e\"4\202\323\344\223\002.\")/v1beta2/documents:analyzeEnt" + - "itySentiment:\001*\022\247\001\n\rAnalyzeSyntax\0223.goog", + "itySentiment:\001*\022\247\001\n\rAnalyzeSyntax\0223.goog" + "le.cloud.language.v1beta2.AnalyzeSyntaxR" + "equest\0324.google.cloud.language.v1beta2.A" + "nalyzeSyntaxResponse\"+\202\323\344\223\002%\" /v1beta2/d" + @@ -342,7 +342,7 @@ public static void registerAllExtensions( "1beta2.ClassifyTextResponse\"*\202\323\344\223\002$\"\037/v1" + "beta2/documents:classifyText:\001*\022\243\001\n\014Anno" + "tateText\0222.google.cloud.language.v1beta2" + - ".AnnotateTextRequest\0323.google.cloud.lang", + ".AnnotateTextRequest\0323.google.cloud.lang" + "uage.v1beta2.AnnotateTextResponse\"*\202\323\344\223\002" + "$\"\037/v1beta2/documents:annotateText:\001*B\202\001" + "\n!com.google.cloud.language.v1beta2B\024Lan" + diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/PartOfSpeech.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/PartOfSpeech.java index c176ac4840bd..67d07ed9e765 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/PartOfSpeech.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/PartOfSpeech.java @@ -44,6 +44,9 @@ private PartOfSpeech( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4115,7 +4118,7 @@ public PartOfSpeech parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PartOfSpeech(input, extensionRegistry); + return new PartOfSpeech(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Sentence.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Sentence.java index 12abe84076bf..f70038a14825 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Sentence.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Sentence.java @@ -32,6 +32,9 @@ private Sentence( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -855,7 +858,7 @@ public Sentence parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Sentence(input, extensionRegistry); + return new Sentence(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Sentiment.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Sentiment.java index 9d48453e5e12..e02614e61ced 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Sentiment.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Sentiment.java @@ -35,6 +35,9 @@ private Sentiment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -541,7 +544,7 @@ public Sentiment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Sentiment(input, extensionRegistry); + return new Sentiment(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/TextSpan.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/TextSpan.java index fbea42e389e5..282d550ef046 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/TextSpan.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/TextSpan.java @@ -34,6 +34,9 @@ private TextSpan( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -606,7 +609,7 @@ public TextSpan parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TextSpan(input, extensionRegistry); + return new TextSpan(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Token.java b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Token.java index 95e3b8daf8b3..050ff3f4d894 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Token.java +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/Token.java @@ -33,6 +33,9 @@ private Token( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1215,7 +1218,7 @@ public Token parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Token(input, extensionRegistry); + return new Token(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java index bbfe7165a6c1..9f61bec7c249 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java @@ -33,6 +33,9 @@ private CreateExclusionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -804,7 +807,7 @@ public CreateExclusionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateExclusionRequest(input, extensionRegistry); + return new CreateExclusionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java index f65cf01daa77..cc5a6e06a05b 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java @@ -33,6 +33,9 @@ private CreateLogMetricRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -783,7 +786,7 @@ public CreateLogMetricRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateLogMetricRequest(input, extensionRegistry); + return new CreateLogMetricRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java index 8cc1b5693ddb..d2b76a787b3e 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java @@ -34,6 +34,9 @@ private CreateSinkRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -915,7 +918,7 @@ public CreateSinkRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateSinkRequest(input, extensionRegistry); + return new CreateSinkRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java index 7bfd786684a0..401fa96a2a9b 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java @@ -33,6 +33,9 @@ private DeleteExclusionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -563,7 +566,7 @@ public DeleteExclusionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteExclusionRequest(input, extensionRegistry); + return new DeleteExclusionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java index 7499b31e2245..1bc434af0cb5 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java @@ -33,6 +33,9 @@ private DeleteLogMetricRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteLogMetricRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteLogMetricRequest(input, extensionRegistry); + return new DeleteLogMetricRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java index 0ff95c5f34a1..2f7d243c0688 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java @@ -33,6 +33,9 @@ private DeleteLogRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -591,7 +594,7 @@ public DeleteLogRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteLogRequest(input, extensionRegistry); + return new DeleteLogRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java index a488fa6f350c..44bf390eab11 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java @@ -33,6 +33,9 @@ private DeleteSinkRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -570,7 +573,7 @@ public DeleteSinkRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSinkRequest(input, extensionRegistry); + return new DeleteSinkRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java index dab38bc9eee3..07a28453c822 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java @@ -33,6 +33,9 @@ private GetExclusionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -563,7 +566,7 @@ public GetExclusionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetExclusionRequest(input, extensionRegistry); + return new GetExclusionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java index 8d13a7e8ab94..dfe219851d2f 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java @@ -33,6 +33,9 @@ private GetLogMetricRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetLogMetricRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetLogMetricRequest(input, extensionRegistry); + return new GetLogMetricRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java index 3767b17fc053..46903bae84a7 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java @@ -33,6 +33,9 @@ private GetSinkRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -563,7 +566,7 @@ public GetSinkRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetSinkRequest(input, extensionRegistry); + return new GetSinkRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java index 4349841ec337..052bd618f0f7 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java @@ -35,6 +35,9 @@ private ListExclusionsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public ListExclusionsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListExclusionsRequest(input, extensionRegistry); + return new ListExclusionsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java index 8267723b8d47..8ec5ebccadad 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java @@ -34,6 +34,9 @@ private ListExclusionsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListExclusionsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListExclusionsResponse(input, extensionRegistry); + return new ListExclusionsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java index 02a136ccce45..103bf7c4d1c1 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java @@ -38,6 +38,9 @@ private ListLogEntriesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1597,7 +1600,7 @@ public ListLogEntriesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListLogEntriesRequest(input, extensionRegistry); + return new ListLogEntriesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java index 1b883041b69e..6fd409b26e0d 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java @@ -34,6 +34,9 @@ private ListLogEntriesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1070,7 +1073,7 @@ public ListLogEntriesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListLogEntriesResponse(input, extensionRegistry); + return new ListLogEntriesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java index 10ca988f6926..527d5b5c013a 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java @@ -35,6 +35,9 @@ private ListLogMetricsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -793,7 +796,7 @@ public ListLogMetricsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListLogMetricsRequest(input, extensionRegistry); + return new ListLogMetricsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java index 56b9590191f7..f697b3b9278c 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java @@ -34,6 +34,9 @@ private ListLogMetricsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListLogMetricsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListLogMetricsResponse(input, extensionRegistry); + return new ListLogMetricsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java index e68cdf52ca19..8fee36c9a7b1 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java @@ -35,6 +35,9 @@ private ListLogsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public ListLogsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListLogsRequest(input, extensionRegistry); + return new ListLogsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java index 52ce6088ee72..6cd4fdf42a78 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java @@ -34,6 +34,9 @@ private ListLogsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -795,7 +798,7 @@ public ListLogsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListLogsResponse(input, extensionRegistry); + return new ListLogsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java index d541c0351439..361f9f3b4f5a 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java @@ -34,6 +34,9 @@ private ListMonitoredResourceDescriptorsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -631,7 +634,7 @@ public ListMonitoredResourceDescriptorsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMonitoredResourceDescriptorsRequest(input, extensionRegistry); + return new ListMonitoredResourceDescriptorsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java index d65fd6978763..7fcfe51ac236 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java @@ -34,6 +34,9 @@ private ListMonitoredResourceDescriptorsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListMonitoredResourceDescriptorsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMonitoredResourceDescriptorsResponse(input, extensionRegistry); + return new ListMonitoredResourceDescriptorsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java index 0481c46c6317..6a52edd4fb21 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java @@ -35,6 +35,9 @@ private ListSinksRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public ListSinksRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSinksRequest(input, extensionRegistry); + return new ListSinksRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java index bba086fb3ec0..139502775f9a 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java @@ -34,6 +34,9 @@ private ListSinksResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListSinksResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSinksResponse(input, extensionRegistry); + return new ListSinksResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java index 03488e24f3b4..9ff2198bfe69 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java @@ -37,6 +37,9 @@ private LogEntry( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3966,7 +3969,7 @@ public LogEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LogEntry(input, extensionRegistry); + return new LogEntry(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java index a8cd0003f86b..7e96d49f5bf6 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java @@ -37,6 +37,9 @@ private LogEntryOperation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -856,7 +859,7 @@ public LogEntryOperation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LogEntryOperation(input, extensionRegistry); + return new LogEntryOperation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java index a55b84d83117..1cb256fd6678 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java @@ -52,7 +52,7 @@ public static void registerAllExtensions( "tobuf/struct.proto\032\037google/protobuf/time" + "stamp.proto\"\272\005\n\010LogEntry\022\020\n\010log_name\030\014 \001" + "(\t\022/\n\010resource\030\010 \001(\0132\035.google.api.Monito" + - "redResource\022-\n\rproto_payload\030\002 \001(\0132\024.goo", + "redResource\022-\n\rproto_payload\030\002 \001(\0132\024.goo" + "gle.protobuf.AnyH\000\022\026\n\014text_payload\030\003 \001(\t" + "H\000\022/\n\014json_payload\030\006 \001(\0132\027.google.protob" + "uf.StructH\000\022-\n\ttimestamp\030\t \001(\0132\032.google." + @@ -62,7 +62,7 @@ public static void registerAllExtensions( "erity\022\021\n\tinsert_id\030\004 \001(\t\0226\n\014http_request" + "\030\007 \001(\0132 .google.logging.type.HttpRequest" + "\0227\n\006labels\030\013 \003(\0132\'.google.logging.v2.Log" + - "Entry.LabelsEntry\0227\n\toperation\030\017 \001(\0132$.g", + "Entry.LabelsEntry\0227\n\toperation\030\017 \001(\0132$.g" + "oogle.logging.v2.LogEntryOperation\022\r\n\005tr" + "ace\030\026 \001(\t\022\017\n\007span_id\030\033 \001(\t\022B\n\017source_loc" + "ation\030\027 \001(\0132).google.logging.v2.LogEntry" + @@ -72,7 +72,7 @@ public static void registerAllExtensions( "\001(\t\022\r\n\005first\030\003 \001(\010\022\014\n\004last\030\004 \001(\010\"F\n\026LogE" + "ntrySourceLocation\022\014\n\004file\030\001 \001(\t\022\014\n\004line" + "\030\002 \001(\003\022\020\n\010function\030\003 \001(\tB\231\001\n\025com.google." + - "logging.v2B\rLogEntryProtoP\001Z8google.gola", + "logging.v2B\rLogEntryProtoP\001Z8google.gola" + "ng.org/genproto/googleapis/logging/v2;lo" + "gging\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Goo" + "gle\\Cloud\\Logging\\V2b\006proto3" diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java index bcd091d2038b..b16f38eb8768 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java @@ -36,6 +36,9 @@ private LogEntrySourceLocation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -806,7 +809,7 @@ public LogEntrySourceLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LogEntrySourceLocation(input, extensionRegistry); + return new LogEntrySourceLocation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java index 243d0ebce08c..d33cc0862eee 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java @@ -41,6 +41,9 @@ private LogExclusion( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public LogExclusion parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LogExclusion(input, extensionRegistry); + return new LogExclusion(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java index 47afc7a9e5eb..5002a5c06523 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java @@ -42,6 +42,9 @@ private LogMetric( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2579,7 +2582,7 @@ public LogMetric parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LogMetric(input, extensionRegistry); + return new LogMetric(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java index 87c449c6ecfc..4845b50b0885 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java @@ -42,6 +42,9 @@ private LogSink( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2022,7 +2025,7 @@ public LogSink parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LogSink(input, extensionRegistry); + return new LogSink(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java index 86c5ae34c9b2..88a12ccba4fd 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java @@ -102,7 +102,7 @@ public static void registerAllExtensions( "er\030\005 \001(\t\022G\n\025output_version_format\030\006 \001(\0162" + "(.google.logging.v2.LogSink.VersionForma" + "t\022\027\n\017writer_identity\030\010 \001(\t\022\030\n\020include_ch" + - "ildren\030\t \001(\010\022.\n\nstart_time\030\n \001(\0132\032.googl", + "ildren\030\t \001(\010\022.\n\nstart_time\030\n \001(\0132\032.googl" + "e.protobuf.Timestamp\022,\n\010end_time\030\013 \001(\0132\032" + ".google.protobuf.Timestamp\"?\n\rVersionFor" + "mat\022\036\n\032VERSION_FORMAT_UNSPECIFIED\020\000\022\006\n\002V" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "(\0132\032.google.logging.v2.LogSink\022\027\n\017next_p" + "age_token\030\002 \001(\t\"#\n\016GetSinkRequest\022\021\n\tsin" + "k_name\030\001 \001(\t\"m\n\021CreateSinkRequest\022\016\n\006par" + - "ent\030\001 \001(\t\022(\n\004sink\030\002 \001(\0132\032.google.logging", + "ent\030\001 \001(\t\022(\n\004sink\030\002 \001(\0132\032.google.logging" + ".v2.LogSink\022\036\n\026unique_writer_identity\030\003 " + "\001(\010\"\241\001\n\021UpdateSinkRequest\022\021\n\tsink_name\030\001" + " \001(\t\022(\n\004sink\030\002 \001(\0132\032.google.logging.v2.L" + @@ -122,7 +122,7 @@ public static void registerAllExtensions( "e\030\001 \001(\t\"S\n\014LogExclusion\022\014\n\004name\030\001 \001(\t\022\023\n" + "\013description\030\002 \001(\t\022\016\n\006filter\030\003 \001(\t\022\020\n\010di" + "sabled\030\004 \001(\010\"N\n\025ListExclusionsRequest\022\016\n" + - "\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpag", + "\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpag" + "e_size\030\003 \001(\005\"f\n\026ListExclusionsResponse\0223" + "\n\nexclusions\030\001 \003(\0132\037.google.logging.v2.L" + "ogExclusion\022\027\n\017next_page_token\030\002 \001(\t\"#\n\023" + @@ -132,7 +132,7 @@ public static void registerAllExtensions( "clusion\"\213\001\n\026UpdateExclusionRequest\022\014\n\004na" + "me\030\001 \001(\t\0222\n\texclusion\030\002 \001(\0132\037.google.log" + "ging.v2.LogExclusion\022/\n\013update_mask\030\003 \001(" + - "\0132\032.google.protobuf.FieldMask\"&\n\026DeleteE", + "\0132\032.google.protobuf.FieldMask\"&\n\026DeleteE" + "xclusionRequest\022\014\n\004name\030\001 \001(\t2\200\n\n\017Config" + "ServiceV2\022v\n\tListSinks\022#.google.logging." + "v2.ListSinksRequest\032$.google.logging.v2." + @@ -142,7 +142,7 @@ public static void registerAllExtensions( "ink\"#\202\323\344\223\002\035\022\033/v2/{sink_name=*/*/sinks/*}" + "\022t\n\nCreateSink\022$.google.logging.v2.Creat" + "eSinkRequest\032\032.google.logging.v2.LogSink" + - "\"$\202\323\344\223\002\036\"\026/v2/{parent=*/*}/sinks:\004sink\022y", + "\"$\202\323\344\223\002\036\"\026/v2/{parent=*/*}/sinks:\004sink\022y" + "\n\nUpdateSink\022$.google.logging.v2.UpdateS" + "inkRequest\032\032.google.logging.v2.LogSink\")" + "\202\323\344\223\002#\032\033/v2/{sink_name=*/*/sinks/*}:\004sin" + @@ -152,7 +152,7 @@ public static void registerAllExtensions( "istExclusions\022(.google.logging.v2.ListEx" + "clusionsRequest\032).google.logging.v2.List" + "ExclusionsResponse\"#\202\323\344\223\002\035\022\033/v2/{parent=" + - "*/*}/exclusions\022|\n\014GetExclusion\022&.google", + "*/*}/exclusions\022|\n\014GetExclusion\022&.google" + ".logging.v2.GetExclusionRequest\032\037.google" + ".logging.v2.LogExclusion\"#\202\323\344\223\002\035\022\033/v2/{n" + "ame=*/*/exclusions/*}\022\215\001\n\017CreateExclusio" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "usion\022\215\001\n\017UpdateExclusion\022).google.loggi" + "ng.v2.UpdateExclusionRequest\032\037.google.lo" + "gging.v2.LogExclusion\".\202\323\344\223\002(2\033/v2/{name" + - "=*/*/exclusions/*}:\texclusion\022y\n\017DeleteE", + "=*/*/exclusions/*}:\texclusion\022y\n\017DeleteE" + "xclusion\022).google.logging.v2.DeleteExclu" + "sionRequest\032\026.google.protobuf.Empty\"#\202\323\344" + "\223\002\035*\033/v2/{name=*/*/exclusions/*}B\236\001\n\025com" + diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java index 0bd883db0038..e51a3615a54f 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java @@ -72,7 +72,7 @@ public static void registerAllExtensions( "\013description\030\002 \001(\t\022\016\n\006filter\030\003 \001(\t\0227\n\021me" + "tric_descriptor\030\005 \001(\0132\034.google.api.Metri" + "cDescriptor\022\027\n\017value_extractor\030\006 \001(\t\022K\n\020" + - "label_extractors\030\007 \003(\01321.google.logging.", + "label_extractors\030\007 \003(\01321.google.logging." + "v2.LogMetric.LabelExtractorsEntry\022>\n\016buc" + "ket_options\030\010 \001(\0132&.google.api.Distribut" + "ion.BucketOptions\0228\n\007version\030\004 \001(\0162\'.goo" + @@ -82,7 +82,7 @@ public static void registerAllExtensions( "\001\"N\n\025ListLogMetricsRequest\022\016\n\006parent\030\001 \001" + "(\t\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(" + "\005\"`\n\026ListLogMetricsResponse\022-\n\007metrics\030\001" + - " \003(\0132\034.google.logging.v2.LogMetric\022\027\n\017ne", + " \003(\0132\034.google.logging.v2.LogMetric\022\027\n\017ne" + "xt_page_token\030\002 \001(\t\"*\n\023GetLogMetricReque" + "st\022\023\n\013metric_name\030\001 \001(\t\"V\n\026CreateLogMetr" + "icRequest\022\016\n\006parent\030\001 \001(\t\022,\n\006metric\030\002 \001(" + @@ -92,7 +92,7 @@ public static void registerAllExtensions( "tric\"-\n\026DeleteLogMetricRequest\022\023\n\013metric" + "_name\030\001 \001(\t2\324\005\n\020MetricsServiceV2\022\216\001\n\016Lis" + "tLogMetrics\022(.google.logging.v2.ListLogM" + - "etricsRequest\032).google.logging.v2.ListLo", + "etricsRequest\032).google.logging.v2.ListLo" + "gMetricsResponse\"\'\202\323\344\223\002!\022\037/v2/{parent=pr" + "ojects/*}/metrics\022\204\001\n\014GetLogMetric\022&.goo" + "gle.logging.v2.GetLogMetricRequest\032\034.goo" + @@ -102,7 +102,7 @@ public static void registerAllExtensions( "ogMetricRequest\032\034.google.logging.v2.LogM" + "etric\"/\202\323\344\223\002)\"\037/v2/{parent=projects/*}/m" + "etrics:\006metric\022\222\001\n\017UpdateLogMetric\022).goo" + - "gle.logging.v2.UpdateLogMetricRequest\032\034.", + "gle.logging.v2.UpdateLogMetricRequest\032\034." + "google.logging.v2.LogMetric\"6\202\323\344\223\0020\032&/v2" + "/{metric_name=projects/*/metrics/*}:\006met" + "ric\022\204\001\n\017DeleteLogMetric\022).google.logging" + diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java index 42f6d961c4ed..aa8cb015383a 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java @@ -92,7 +92,7 @@ public static void registerAllExtensions( "mp.proto\032\027google/rpc/status.proto\"$\n\020Del" + "eteLogRequest\022\020\n\010log_name\030\001 \001(\t\"\230\002\n\026Writ" + "eLogEntriesRequest\022\020\n\010log_name\030\001 \001(\t\022/\n\010" + - "resource\030\002 \001(\0132\035.google.api.MonitoredRes", + "resource\030\002 \001(\0132\035.google.api.MonitoredRes" + "ource\022E\n\006labels\030\003 \003(\01325.google.logging.v" + "2.WriteLogEntriesRequest.LabelsEntry\022,\n\007" + "entries\030\004 \003(\0132\033.google.logging.v2.LogEnt" + @@ -102,7 +102,7 @@ public static void registerAllExtensions( "sPartialErrors\022]\n\020log_entry_errors\030\001 \003(\013" + "2C.google.logging.v2.WriteLogEntriesPart" + "ialErrors.LogEntryErrorsEntry\032I\n\023LogEntr" + - "yErrorsEntry\022\013\n\003key\030\001 \001(\005\022!\n\005value\030\002 \001(\013", + "yErrorsEntry\022\013\n\003key\030\001 \001(\005\022!\n\005value\030\002 \001(\013" + "2\022.google.rpc.Status:\0028\001\"\215\001\n\025ListLogEntr" + "iesRequest\022\023\n\013project_ids\030\001 \003(\t\022\026\n\016resou" + "rce_names\030\010 \003(\t\022\016\n\006filter\030\002 \001(\t\022\020\n\010order" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "\022\027\n\017next_page_token\030\002 \001(\t\"P\n\'ListMonitor" + "edResourceDescriptorsRequest\022\021\n\tpage_siz" + "e\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\212\001\n(ListMoni" + - "toredResourceDescriptorsResponse\022E\n\024reso", + "toredResourceDescriptorsResponse\022E\n\024reso" + "urce_descriptors\030\001 \003(\0132\'.google.api.Moni" + "toredResourceDescriptor\022\027\n\017next_page_tok" + "en\030\002 \001(\t\"H\n\017ListLogsRequest\022\016\n\006parent\030\001 " + @@ -122,7 +122,7 @@ public static void registerAllExtensions( "rviceV2\022w\n\tDeleteLog\022#.google.logging.v2" + ".DeleteLogRequest\032\026.google.protobuf.Empt" + "y\"-\202\323\344\223\002\'*%/v2beta1/{log_name=projects/*" + - "/logs/*}\022\206\001\n\017WriteLogEntries\022).google.lo", + "/logs/*}\022\206\001\n\017WriteLogEntries\022).google.lo" + "gging.v2.WriteLogEntriesRequest\032*.google" + ".logging.v2.WriteLogEntriesResponse\"\034\202\323\344" + "\223\002\026\"\021/v2/entries:write:\001*\022\202\001\n\016ListLogEnt" + @@ -132,7 +132,7 @@ public static void registerAllExtensions( "\001\n ListMonitoredResourceDescriptors\022:.go" + "ogle.logging.v2.ListMonitoredResourceDes" + "criptorsRequest\032;.google.logging.v2.List" + - "MonitoredResourceDescriptorsResponse\"(\202\323", + "MonitoredResourceDescriptorsResponse\"(\202\323" + "\344\223\002\"\022 /v2/monitoredResourceDescriptors\022r" + "\n\010ListLogs\022\".google.logging.v2.ListLogsR" + "equest\032#.google.logging.v2.ListLogsRespo" + diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java index 4f64d149b867..221e5ab18b70 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java @@ -33,6 +33,9 @@ private UpdateExclusionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1093,7 +1096,7 @@ public UpdateExclusionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateExclusionRequest(input, extensionRegistry); + return new UpdateExclusionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java index 22996586022f..902161933579 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java @@ -33,6 +33,9 @@ private UpdateLogMetricRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -785,7 +788,7 @@ public UpdateLogMetricRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateLogMetricRequest(input, extensionRegistry); + return new UpdateLogMetricRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java index f9004154bd43..ff0d6aec13b3 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java @@ -34,6 +34,9 @@ private UpdateSinkRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1275,7 +1278,7 @@ public UpdateSinkRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateSinkRequest(input, extensionRegistry); + return new UpdateSinkRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java index f032eb954ed3..69fa2da11347 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java @@ -32,6 +32,9 @@ private WriteLogEntriesPartialErrors( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -735,7 +738,7 @@ public WriteLogEntriesPartialErrors parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteLogEntriesPartialErrors(input, extensionRegistry); + return new WriteLogEntriesPartialErrors(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java index 122ef9adc89d..cfa124e3ac7b 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java @@ -35,6 +35,9 @@ private WriteLogEntriesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2158,7 +2161,7 @@ public WriteLogEntriesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteLogEntriesRequest(input, extensionRegistry); + return new WriteLogEntriesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java index cdae8e7349a7..194929fd923c 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java @@ -33,6 +33,9 @@ private WriteLogEntriesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -374,7 +377,7 @@ public WriteLogEntriesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteLogEntriesResponse(input, extensionRegistry); + return new WriteLogEntriesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java index dc82280a418a..04754645347f 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java @@ -40,6 +40,9 @@ private Aggregation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2433,7 +2436,7 @@ public Aggregation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Aggregation(input, extensionRegistry); + return new Aggregation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java index 6e66104e2fbd..b39146bef7b3 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java @@ -40,6 +40,9 @@ private AlertPolicy( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -446,6 +449,9 @@ private Documentation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1131,7 +1137,7 @@ public Documentation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Documentation(input, extensionRegistry); + return new Documentation(input, extensionRegistry); } }; @@ -1320,6 +1326,9 @@ private Condition( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1458,6 +1467,9 @@ private Trigger( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2055,7 +2067,7 @@ public Trigger parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Trigger(input, extensionRegistry); + return new Trigger(input, extensionRegistry); } }; @@ -2510,6 +2522,9 @@ private MetricThreshold( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5501,7 +5516,7 @@ public MetricThreshold parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricThreshold(input, extensionRegistry); + return new MetricThreshold(input, extensionRegistry); } }; @@ -5751,6 +5766,9 @@ private MetricAbsence( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -7483,7 +7501,7 @@ public MetricAbsence parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricAbsence(input, extensionRegistry); + return new MetricAbsence(input, extensionRegistry); } }; @@ -8802,7 +8820,7 @@ public Condition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Condition(input, extensionRegistry); + return new Condition(input, extensionRegistry); } }; @@ -11740,7 +11758,7 @@ public AlertPolicy parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AlertPolicy(input, extensionRegistry); + return new AlertPolicy(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java index 63889369663c..4ee2f2a315e6 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java @@ -67,7 +67,7 @@ public static void registerAllExtensions( "olicy\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(" + "\t\022F\n\rdocumentation\030\r \001(\0132/.google.monito" + "ring.v3.AlertPolicy.Documentation\022F\n\013use" + - "r_labels\030\020 \003(\01321.google.monitoring.v3.Al", + "r_labels\030\020 \003(\01321.google.monitoring.v3.Al" + "ertPolicy.UserLabelsEntry\022?\n\nconditions\030" + "\014 \003(\0132+.google.monitoring.v3.AlertPolicy" + ".Condition\022I\n\010combiner\030\006 \001(\01627.google.mo" + @@ -77,7 +77,7 @@ public static void registerAllExtensions( "\t\022=\n\017creation_record\030\n \001(\0132$.google.moni" + "toring.v3.MutationRecord\022=\n\017mutation_rec" + "ord\030\013 \001(\0132$.google.monitoring.v3.Mutatio" + - "nRecord\0323\n\rDocumentation\022\017\n\007content\030\001 \001(", + "nRecord\0323\n\rDocumentation\022\017\n\007content\030\001 \001(" + "\t\022\021\n\tmime_type\030\002 \001(\t\032\370\006\n\tCondition\022\014\n\004na" + "me\030\014 \001(\t\022\024\n\014display_name\030\006 \001(\t\022Z\n\023condit" + "ion_threshold\030\001 \001(\0132;.google.monitoring." + @@ -87,7 +87,7 @@ public static void registerAllExtensions( "AbsenceH\000\0325\n\007Trigger\022\017\n\005count\030\001 \001(\005H\000\022\021\n" + "\007percent\030\002 \001(\001H\000B\006\n\004type\032\201\003\n\017MetricThres" + "hold\022\016\n\006filter\030\002 \001(\t\0227\n\014aggregations\030\010 \003" + - "(\0132!.google.monitoring.v3.Aggregation\022\032\n", + "(\0132!.google.monitoring.v3.Aggregation\022\032\n" + "\022denominator_filter\030\t \001(\t\022C\n\030denominator" + "_aggregations\030\n \003(\0132!.google.monitoring." + "v3.Aggregation\0228\n\ncomparison\030\004 \001(\0162$.goo" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( "3.google.monitoring.v3.AlertPolicy.Condi" + "tion.Trigger\032\313\001\n\rMetricAbsence\022\016\n\006filter" + "\030\001 \001(\t\0227\n\014aggregations\030\005 \003(\0132!.google.mo" + - "nitoring.v3.Aggregation\022+\n\010duration\030\002 \001(", + "nitoring.v3.Aggregation\022+\n\010duration\030\002 \001(" + "\0132\031.google.protobuf.Duration\022D\n\007trigger\030" + "\003 \001(\01323.google.monitoring.v3.AlertPolicy" + ".Condition.TriggerB\013\n\tcondition\0321\n\017UserL" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "H_MATCHING_RESOURCE\020\003B\242\001\n\030com.google.mon" + "itoring.v3B\nAlertProtoP\001Z>google.golang." + "org/genproto/googleapis/monitoring/v3;mo" + - "nitoring\252\002\032Google.Cloud.Monitoring.V3\312\002\032", + "nitoring\252\002\032Google.Cloud.Monitoring.V3\312\002\032" + "Google\\Cloud\\Monitoring\\V3b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java index 0f74cecc60f5..837023389d00 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java @@ -62,7 +62,7 @@ public static void registerAllExtensions( "rt_policy\030\002 \001(\0132!.google.monitoring.v3.A" + "lertPolicy\"%\n\025GetAlertPolicyRequest\022\014\n\004n" + "ame\030\003 \001(\t\"q\n\030ListAlertPoliciesRequest\022\014\n" + - "\004name\030\004 \001(\t\022\016\n\006filter\030\005 \001(\t\022\020\n\010order_by\030", + "\004name\030\004 \001(\t\022\016\n\006filter\030\005 \001(\t\022\020\n\010order_by\030" + "\006 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + " \001(\t\"o\n\031ListAlertPoliciesResponse\0229\n\016ale" + "rt_policies\030\003 \003(\0132!.google.monitoring.v3" + @@ -72,7 +72,7 @@ public static void registerAllExtensions( "lert_policy\030\003 \001(\0132!.google.monitoring.v3" + ".AlertPolicy\"(\n\030DeleteAlertPolicyRequest" + "\022\014\n\004name\030\003 \001(\t2\256\006\n\022AlertPolicyService\022\241\001" + - "\n\021ListAlertPolicies\022..google.monitoring.", + "\n\021ListAlertPolicies\022..google.monitoring." + "v3.ListAlertPoliciesRequest\032/.google.mon" + "itoring.v3.ListAlertPoliciesResponse\"+\202\323" + "\344\223\002%\022#/v3/{name=projects/*}/alertPolicie" + @@ -82,7 +82,7 @@ public static void registerAllExtensions( "projects/*/alertPolicies/*}\022\241\001\n\021CreateAl" + "ertPolicy\022..google.monitoring.v3.CreateA" + "lertPolicyRequest\032!.google.monitoring.v3" + - ".AlertPolicy\"9\202\323\344\223\0023\"#/v3/{name=projects", + ".AlertPolicy\"9\202\323\344\223\0023\"#/v3/{name=projects" + "/*}/alertPolicies:\014alert_policy\022\212\001\n\021Dele" + "teAlertPolicy\022..google.monitoring.v3.Del" + "eteAlertPolicyRequest\032\026.google.protobuf." + @@ -92,7 +92,7 @@ public static void registerAllExtensions( "st\032!.google.monitoring.v3.AlertPolicy\"H\202" + "\323\344\223\002B22/v3/{alert_policy.name=projects/*" + "/alertPolicies/*}:\014alert_policyB\251\001\n\030com." + - "google.monitoring.v3B\021AlertServiceProtoP", + "google.monitoring.v3B\021AlertServiceProtoP" + "\001Z>google.golang.org/genproto/googleapis" + "/monitoring/v3;monitoring\252\002\032Google.Cloud" + ".Monitoring.V3\312\002\032Google\\Cloud\\Monitoring" + diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java index f7bd6479c6ba..18cc10e0906b 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java @@ -47,7 +47,7 @@ public static void registerAllExtensions( "\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014string_va" + "lue\030\004 \001(\tH\000\0226\n\022distribution_value\030\005 \001(\0132" + "\030.google.api.DistributionH\000B\007\n\005value\"l\n\014" + - "TimeInterval\022,\n\010end_time\030\002 \001(\0132\032.google.", + "TimeInterval\022,\n\010end_time\030\002 \001(\0132\032.google." + "protobuf.Timestamp\022.\n\nstart_time\030\001 \001(\0132\032" + ".google.protobuf.Timestamp\"\255\007\n\013Aggregati" + "on\0223\n\020alignment_period\030\001 \001(\0132\031.google.pr" + @@ -57,7 +57,7 @@ public static void registerAllExtensions( "oogle.monitoring.v3.Aggregation.Reducer\022" + "\027\n\017group_by_fields\030\005 \003(\t\"\213\003\n\007Aligner\022\016\n\n" + "ALIGN_NONE\020\000\022\017\n\013ALIGN_DELTA\020\001\022\016\n\nALIGN_R" + - "ATE\020\002\022\025\n\021ALIGN_INTERPOLATE\020\003\022\024\n\020ALIGN_NE", + "ATE\020\002\022\025\n\021ALIGN_INTERPOLATE\020\003\022\024\n\020ALIGN_NE" + "XT_OLDER\020\004\022\r\n\tALIGN_MIN\020\n\022\r\n\tALIGN_MAX\020\013" + "\022\016\n\nALIGN_MEAN\020\014\022\017\n\013ALIGN_COUNT\020\r\022\r\n\tALI" + "GN_SUM\020\016\022\020\n\014ALIGN_STDDEV\020\017\022\024\n\020ALIGN_COUN" + @@ -67,7 +67,7 @@ public static void registerAllExtensions( "ENTILE_50\020\024\022\027\n\023ALIGN_PERCENTILE_05\020\025\022\030\n\024" + "ALIGN_PERCENT_CHANGE\020\027\"\261\002\n\007Reducer\022\017\n\013RE" + "DUCE_NONE\020\000\022\017\n\013REDUCE_MEAN\020\001\022\016\n\nREDUCE_M" + - "IN\020\002\022\016\n\nREDUCE_MAX\020\003\022\016\n\nREDUCE_SUM\020\004\022\021\n\r", + "IN\020\002\022\016\n\nREDUCE_MAX\020\003\022\016\n\nREDUCE_SUM\020\004\022\021\n\r" + "REDUCE_STDDEV\020\005\022\020\n\014REDUCE_COUNT\020\006\022\025\n\021RED" + "UCE_COUNT_TRUE\020\007\022\026\n\022REDUCE_COUNT_FALSE\020\017" + "\022\030\n\024REDUCE_FRACTION_TRUE\020\010\022\030\n\024REDUCE_PER" + @@ -77,7 +77,7 @@ public static void registerAllExtensions( "SON_UNSPECIFIED\020\000\022\021\n\rCOMPARISON_GT\020\001\022\021\n\r" + "COMPARISON_GE\020\002\022\021\n\rCOMPARISON_LT\020\003\022\021\n\rCO" + "MPARISON_LE\020\004\022\021\n\rCOMPARISON_EQ\020\005\022\021\n\rCOMP" + - "ARISON_NE\020\006*]\n\013ServiceTier\022\034\n\030SERVICE_TI", + "ARISON_NE\020\006*]\n\013ServiceTier\022\034\n\030SERVICE_TI" + "ER_UNSPECIFIED\020\000\022\026\n\022SERVICE_TIER_BASIC\020\001" + "\022\030\n\024SERVICE_TIER_PREMIUM\020\002B\243\001\n\030com.googl" + "e.monitoring.v3B\013CommonProtoP\001Z>google.g" + diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java index 7d494be19984..ee5fd10b0e2f 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java @@ -33,6 +33,9 @@ private CreateAlertPolicyRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -823,7 +826,7 @@ public CreateAlertPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateAlertPolicyRequest(input, extensionRegistry); + return new CreateAlertPolicyRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java index 0952822647a1..3116ee84581b 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java @@ -34,6 +34,9 @@ private CreateGroupRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -851,7 +854,7 @@ public CreateGroupRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateGroupRequest(input, extensionRegistry); + return new CreateGroupRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java index 290fe3546a8a..47e40bedcb5f 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java @@ -33,6 +33,9 @@ private CreateMetricDescriptorRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -776,7 +779,7 @@ public CreateMetricDescriptorRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateMetricDescriptorRequest(input, extensionRegistry); + return new CreateMetricDescriptorRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java index bb358507c05c..8164f289828a 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java @@ -33,6 +33,9 @@ private CreateNotificationChannelRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -792,7 +795,7 @@ public CreateNotificationChannelRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateNotificationChannelRequest(input, extensionRegistry); + return new CreateNotificationChannelRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java index 0d0935cdcdf4..03f88babbccb 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java @@ -32,6 +32,9 @@ private CreateTimeSeriesError( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -867,7 +870,7 @@ public CreateTimeSeriesError parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTimeSeriesError(input, extensionRegistry); + return new CreateTimeSeriesError(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java index 60105e8fad69..5e0a129cc2b3 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java @@ -34,6 +34,9 @@ private CreateTimeSeriesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1067,7 +1070,7 @@ public CreateTimeSeriesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTimeSeriesRequest(input, extensionRegistry); + return new CreateTimeSeriesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java index e8ede627a40e..c7bd340b42db 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java @@ -33,6 +33,9 @@ private CreateUptimeCheckConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -764,7 +767,7 @@ public CreateUptimeCheckConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateUptimeCheckConfigRequest(input, extensionRegistry); + return new CreateUptimeCheckConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java index 1bc70169f8fd..f9b6aa36d740 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java @@ -33,6 +33,9 @@ private DeleteAlertPolicyRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public DeleteAlertPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAlertPolicyRequest(input, extensionRegistry); + return new DeleteAlertPolicyRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java index a989da39793d..23a6feaaedc1 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java @@ -33,6 +33,9 @@ private DeleteGroupRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteGroupRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteGroupRequest(input, extensionRegistry); + return new DeleteGroupRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java index ed4026d00e2e..853c19ab1b7b 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java @@ -33,6 +33,9 @@ private DeleteMetricDescriptorRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -549,7 +552,7 @@ public DeleteMetricDescriptorRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteMetricDescriptorRequest(input, extensionRegistry); + return new DeleteMetricDescriptorRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java index b9e544f9e63d..23251970f9fd 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java @@ -34,6 +34,9 @@ private DeleteNotificationChannelRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -622,7 +625,7 @@ public DeleteNotificationChannelRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteNotificationChannelRequest(input, extensionRegistry); + return new DeleteNotificationChannelRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java index ebef65b57f5c..6aaa6576dee6 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java @@ -33,6 +33,9 @@ private DeleteUptimeCheckConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteUptimeCheckConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteUptimeCheckConfigRequest(input, extensionRegistry); + return new DeleteUptimeCheckConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java index 39c74eb15d4a..418ba3c476d6 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java @@ -33,6 +33,9 @@ private GetAlertPolicyRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetAlertPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAlertPolicyRequest(input, extensionRegistry); + return new GetAlertPolicyRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java index 7cf7cc52e6cf..87c869097858 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java @@ -33,6 +33,9 @@ private GetGroupRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetGroupRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetGroupRequest(input, extensionRegistry); + return new GetGroupRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java index 560bff8b8ec1..a4d4e9df9381 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java @@ -33,6 +33,9 @@ private GetMetricDescriptorRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -549,7 +552,7 @@ public GetMetricDescriptorRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMetricDescriptorRequest(input, extensionRegistry); + return new GetMetricDescriptorRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java index 4bb0ee9acb49..5ec03c4e891a 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java @@ -33,6 +33,9 @@ private GetMonitoredResourceDescriptorRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -549,7 +552,7 @@ public GetMonitoredResourceDescriptorRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMonitoredResourceDescriptorRequest(input, extensionRegistry); + return new GetMonitoredResourceDescriptorRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java index 0f88011b4cb4..f30b08be2a6a 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java @@ -33,6 +33,9 @@ private GetNotificationChannelDescriptorRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetNotificationChannelDescriptorRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetNotificationChannelDescriptorRequest(input, extensionRegistry); + return new GetNotificationChannelDescriptorRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java index 3ed4e352da62..a3a05e996b71 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java @@ -33,6 +33,9 @@ private GetNotificationChannelRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetNotificationChannelRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetNotificationChannelRequest(input, extensionRegistry); + return new GetNotificationChannelRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java index 1fcc501703b8..6bd9632ebf23 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java @@ -33,6 +33,9 @@ private GetNotificationChannelVerificationCodeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -867,7 +870,7 @@ public GetNotificationChannelVerificationCodeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetNotificationChannelVerificationCodeRequest(input, extensionRegistry); + return new GetNotificationChannelVerificationCodeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java index 130cf0b68c25..f72210a656eb 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java @@ -33,6 +33,9 @@ private GetNotificationChannelVerificationCodeResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -802,7 +805,7 @@ public GetNotificationChannelVerificationCodeResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetNotificationChannelVerificationCodeResponse(input, extensionRegistry); + return new GetNotificationChannelVerificationCodeResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java index 8eb62ec569ac..884f4f21b7d7 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java @@ -33,6 +33,9 @@ private GetUptimeCheckConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetUptimeCheckConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetUptimeCheckConfigRequest(input, extensionRegistry); + return new GetUptimeCheckConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java index c324dc9b1ac1..f0a51842a165 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java @@ -59,6 +59,9 @@ private Group( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1158,7 +1161,7 @@ public Group parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Group(input, extensionRegistry); + return new Group(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java index 9c674b8e590b..5ea8fc465265 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java @@ -72,7 +72,7 @@ public static void registerAllExtensions( "oupsRequest\022\014\n\004name\030\007 \001(\t\022\033\n\021children_of" + "_group\030\002 \001(\tH\000\022\034\n\022ancestors_of_group\030\003 \001" + "(\tH\000\022\036\n\024descendants_of_group\030\004 \001(\tH\000\022\021\n\t" + - "page_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001(\tB\010\n\006f", + "page_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001(\tB\010\n\006f" + "ilter\"Y\n\022ListGroupsResponse\022*\n\005group\030\001 \003" + "(\0132\033.google.monitoring.v3.Group\022\027\n\017next_" + "page_token\030\002 \001(\t\"\037\n\017GetGroupRequest\022\014\n\004n" + @@ -82,7 +82,7 @@ public static void registerAllExtensions( "teGroupRequest\022*\n\005group\030\002 \001(\0132\033.google.m" + "onitoring.v3.Group\022\025\n\rvalidate_only\030\003 \001(" + "\010\"\"\n\022DeleteGroupRequest\022\014\n\004name\030\003 \001(\t\"\224\001" + - "\n\027ListGroupMembersRequest\022\014\n\004name\030\007 \001(\t\022", + "\n\027ListGroupMembersRequest\022\014\n\004name\030\007 \001(\t\022" + "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\016" + "\n\006filter\030\005 \001(\t\0224\n\010interval\030\006 \001(\0132\".googl" + "e.monitoring.v3.TimeInterval\"w\n\030ListGrou" + @@ -92,7 +92,7 @@ public static void registerAllExtensions( "ervice\022\205\001\n\nListGroups\022\'.google.monitorin" + "g.v3.ListGroupsRequest\032(.google.monitori" + "ng.v3.ListGroupsResponse\"$\202\323\344\223\002\036\022\034/v3/{n" + - "ame=projects/*}/groups\022v\n\010GetGroup\022%.goo", + "ame=projects/*}/groups\022v\n\010GetGroup\022%.goo" + "gle.monitoring.v3.GetGroupRequest\032\033.goog" + "le.monitoring.v3.Group\"&\202\323\344\223\002 \022\036/v3/{nam" + "e=projects/*/groups/*}\022\201\001\n\013CreateGroup\022(" + @@ -102,7 +102,7 @@ public static void registerAllExtensions( "pdateGroup\022(.google.monitoring.v3.Update" + "GroupRequest\032\033.google.monitoring.v3.Grou" + "p\"3\202\323\344\223\002-\032$/v3/{group.name=projects/*/gr" + - "oups/*}:\005group\022w\n\013DeleteGroup\022(.google.m", + "oups/*}:\005group\022w\n\013DeleteGroup\022(.google.m" + "onitoring.v3.DeleteGroupRequest\032\026.google" + ".protobuf.Empty\"&\202\323\344\223\002 *\036/v3/{name=proje" + "cts/*/groups/*}\022\241\001\n\020ListGroupMembers\022-.g" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "*/groups/*}/membersB\251\001\n\030com.google.monit" + "oring.v3B\021GroupServiceProtoP\001Z>google.go" + "lang.org/genproto/googleapis/monitoring/" + - "v3;monitoring\252\002\032Google.Cloud.Monitoring.", + "v3;monitoring\252\002\032Google.Cloud.Monitoring." + "V3\312\002\032Google\\Cloud\\Monitoring\\V3b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java index c8c490868725..1c3362994556 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java @@ -37,6 +37,9 @@ private ListAlertPoliciesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1172,7 +1175,7 @@ public ListAlertPoliciesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAlertPoliciesRequest(input, extensionRegistry); + return new ListAlertPoliciesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java index 52dbd0e7223d..40ebd6093b67 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java @@ -34,6 +34,9 @@ private ListAlertPoliciesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListAlertPoliciesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAlertPoliciesResponse(input, extensionRegistry); + return new ListAlertPoliciesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java index fd0a6afa6c92..2fcd2b3d539e 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java @@ -36,6 +36,9 @@ private ListGroupMembersRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1233,7 +1236,7 @@ public ListGroupMembersRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupMembersRequest(input, extensionRegistry); + return new ListGroupMembersRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java index 016f67a13b15..9cc05fea0fae 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java @@ -35,6 +35,9 @@ private ListGroupMembersResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1056,7 +1059,7 @@ public ListGroupMembersResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupMembersResponse(input, extensionRegistry); + return new ListGroupMembersResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java index 7144252fde3b..c1436c362718 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java @@ -35,6 +35,9 @@ private ListGroupsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1455,7 +1458,7 @@ public ListGroupsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupsRequest(input, extensionRegistry); + return new ListGroupsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java index 14cdb995deb3..b22838913fae 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java @@ -34,6 +34,9 @@ private ListGroupsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListGroupsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupsResponse(input, extensionRegistry); + return new ListGroupsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java index b9d81ce32903..c0a430e0fdce 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java @@ -36,6 +36,9 @@ private ListMetricDescriptorsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -975,7 +978,7 @@ public ListMetricDescriptorsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMetricDescriptorsRequest(input, extensionRegistry); + return new ListMetricDescriptorsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java index 23fe1e71e7bd..3f6391125698 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java @@ -34,6 +34,9 @@ private ListMetricDescriptorsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1005,7 +1008,7 @@ public ListMetricDescriptorsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMetricDescriptorsResponse(input, extensionRegistry); + return new ListMetricDescriptorsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java index 1b5163def04c..3f4d87028560 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java @@ -36,6 +36,9 @@ private ListMonitoredResourceDescriptorsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -968,7 +971,7 @@ public ListMonitoredResourceDescriptorsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMonitoredResourceDescriptorsRequest(input, extensionRegistry); + return new ListMonitoredResourceDescriptorsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java index 4887616420c7..b6d6e5684a31 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java @@ -34,6 +34,9 @@ private ListMonitoredResourceDescriptorsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1005,7 +1008,7 @@ public ListMonitoredResourceDescriptorsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMonitoredResourceDescriptorsResponse(input, extensionRegistry); + return new ListMonitoredResourceDescriptorsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java index 7ef3fc33d87d..0a9ae63c90eb 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java @@ -35,6 +35,9 @@ private ListNotificationChannelDescriptorsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -821,7 +824,7 @@ public ListNotificationChannelDescriptorsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelDescriptorsRequest(input, extensionRegistry); + return new ListNotificationChannelDescriptorsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java index 0efc83998832..4a1aaf9de4b1 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java @@ -34,6 +34,9 @@ private ListNotificationChannelDescriptorsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1012,7 +1015,7 @@ public ListNotificationChannelDescriptorsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelDescriptorsResponse(input, extensionRegistry); + return new ListNotificationChannelDescriptorsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java index 51a4205ef748..744b3cbc82a4 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java @@ -37,6 +37,9 @@ private ListNotificationChannelsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1173,7 +1176,7 @@ public ListNotificationChannelsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelsRequest(input, extensionRegistry); + return new ListNotificationChannelsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java index e209a4824e0d..bcda8119e8ba 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java @@ -34,6 +34,9 @@ private ListNotificationChannelsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -989,7 +992,7 @@ public ListNotificationChannelsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelsResponse(input, extensionRegistry); + return new ListNotificationChannelsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java index 4b4863129591..f073917a25a3 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java @@ -38,6 +38,9 @@ private ListTimeSeriesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1888,7 +1891,7 @@ public ListTimeSeriesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTimeSeriesRequest(input, extensionRegistry); + return new ListTimeSeriesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java index c7fcc446ea38..82d4a41a38c2 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java @@ -34,6 +34,9 @@ private ListTimeSeriesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListTimeSeriesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTimeSeriesResponse(input, extensionRegistry); + return new ListTimeSeriesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java index e0bc95580ef5..c15abeb2449d 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java @@ -35,6 +35,9 @@ private ListUptimeCheckConfigsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -790,7 +793,7 @@ public ListUptimeCheckConfigsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckConfigsRequest(input, extensionRegistry); + return new ListUptimeCheckConfigsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java index 8c718144d1b3..255dfec7e72b 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java @@ -34,6 +34,9 @@ private ListUptimeCheckConfigsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -996,7 +999,7 @@ public ListUptimeCheckConfigsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckConfigsResponse(input, extensionRegistry); + return new ListUptimeCheckConfigsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java index c03c95770211..db264bc345d6 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java @@ -34,6 +34,9 @@ private ListUptimeCheckIpsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -639,7 +642,7 @@ public ListUptimeCheckIpsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckIpsRequest(input, extensionRegistry); + return new ListUptimeCheckIpsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java index d2c0b1c835e9..f68efa7a7f28 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java @@ -34,6 +34,9 @@ private ListUptimeCheckIpsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1026,7 +1029,7 @@ public ListUptimeCheckIpsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckIpsResponse(input, extensionRegistry); + return new ListUptimeCheckIpsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java index c4bd7835467d..b67189c05401 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java @@ -42,7 +42,7 @@ public static void registerAllExtensions( "e.monitoring.v3.TypedValue\"\210\002\n\nTimeSerie" + "s\022\"\n\006metric\030\001 \001(\0132\022.google.api.Metric\022/\n" + "\010resource\030\002 \001(\0132\035.google.api.MonitoredRe" + - "source\022<\n\013metric_kind\030\003 \001(\0162\'.google.api", + "source\022<\n\013metric_kind\030\003 \001(\0162\'.google.api" + ".MetricDescriptor.MetricKind\022:\n\nvalue_ty" + "pe\030\004 \001(\0162&.google.api.MetricDescriptor.V" + "alueType\022+\n\006points\030\005 \003(\0132\033.google.monito" + diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java index ae4c0dac804a..6baa495a2935 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java @@ -92,7 +92,7 @@ public static void registerAllExtensions( "obuf/empty.proto\032\027google/rpc/status.prot" + "o\"n\n\'ListMonitoredResourceDescriptorsReq" + "uest\022\014\n\004name\030\005 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpa" + - "ge_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\212\001\n(Li", + "ge_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\212\001\n(Li" + "stMonitoredResourceDescriptorsResponse\022E" + "\n\024resource_descriptors\030\001 \003(\0132\'.google.ap" + "i.MonitoredResourceDescriptor\022\027\n\017next_pa" + @@ -102,7 +102,7 @@ public static void registerAllExtensions( "ilter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_t" + "oken\030\004 \001(\t\"r\n\035ListMetricDescriptorsRespo" + "nse\0228\n\022metric_descriptors\030\001 \003(\0132\034.google" + - ".api.MetricDescriptor\022\027\n\017next_page_token", + ".api.MetricDescriptor\022\027\n\017next_page_token" + "\030\002 \001(\t\"*\n\032GetMetricDescriptorRequest\022\014\n\004" + "name\030\003 \001(\t\"f\n\035CreateMetricDescriptorRequ" + "est\022\014\n\004name\030\003 \001(\t\0227\n\021metric_descriptor\030\002" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "\t\022\016\n\006filter\030\002 \001(\t\0224\n\010interval\030\004 \001(\0132\".go" + "ogle.monitoring.v3.TimeInterval\0226\n\013aggre" + "gation\030\005 \001(\0132!.google.monitoring.v3.Aggr" + - "egation\022\020\n\010order_by\030\006 \001(\t\022H\n\004view\030\007 \001(\0162", + "egation\022\020\n\010order_by\030\006 \001(\t\022H\n\004view\030\007 \001(\0162" + ":.google.monitoring.v3.ListTimeSeriesReq" + "uest.TimeSeriesView\022\021\n\tpage_size\030\010 \001(\005\022\022" + "\n\npage_token\030\t \001(\t\"\'\n\016TimeSeriesView\022\010\n\004" + @@ -122,7 +122,7 @@ public static void registerAllExtensions( "\002 \001(\t\"^\n\027CreateTimeSeriesRequest\022\014\n\004name" + "\030\003 \001(\t\0225\n\013time_series\030\002 \003(\0132 .google.mon" + "itoring.v3.TimeSeries\"r\n\025CreateTimeSerie" + - "sError\0225\n\013time_series\030\001 \001(\0132 .google.mon", + "sError\0225\n\013time_series\030\001 \001(\0132 .google.mon" + "itoring.v3.TimeSeries\022\"\n\006status\030\002 \001(\0132\022." + "google.rpc.Status2\365\n\n\rMetricService\022\335\001\n " + "ListMonitoredResourceDescriptors\022=.googl" + @@ -132,7 +132,7 @@ public static void registerAllExtensions( ":\202\323\344\223\0024\0222/v3/{name=projects/*}/monitored" + "ResourceDescriptors\022\304\001\n\036GetMonitoredReso" + "urceDescriptor\022;.google.monitoring.v3.Ge" + - "tMonitoredResourceDescriptorRequest\032\'.go", + "tMonitoredResourceDescriptorRequest\032\'.go" + "ogle.api.MonitoredResourceDescriptor\"<\202\323" + "\344\223\0026\0224/v3/{name=projects/*/monitoredReso" + "urceDescriptors/*}\022\261\001\n\025ListMetricDescrip" + @@ -142,7 +142,7 @@ public static void registerAllExtensions( "v3/{name=projects/*}/metricDescriptors\022\231" + "\001\n\023GetMetricDescriptor\0220.google.monitori" + "ng.v3.GetMetricDescriptorRequest\032\034.googl" + - "e.api.MetricDescriptor\"2\202\323\344\223\002,\022*/v3/{nam", + "e.api.MetricDescriptor\"2\202\323\344\223\002,\022*/v3/{nam" + "e=projects/*/metricDescriptors/**}\022\257\001\n\026C" + "reateMetricDescriptor\0223.google.monitorin" + "g.v3.CreateMetricDescriptorRequest\032\034.goo" + @@ -152,7 +152,7 @@ public static void registerAllExtensions( "3.google.monitoring.v3.DeleteMetricDescr" + "iptorRequest\032\026.google.protobuf.Empty\"2\202\323" + "\344\223\002,**/v3/{name=projects/*/metricDescrip" + - "tors/**}\022\225\001\n\016ListTimeSeries\022+.google.mon", + "tors/**}\022\225\001\n\016ListTimeSeries\022+.google.mon" + "itoring.v3.ListTimeSeriesRequest\032,.googl" + "e.monitoring.v3.ListTimeSeriesResponse\"(" + "\202\323\344\223\002\"\022 /v3/{name=projects/*}/timeSeries" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "/*}/timeSeries:\001*B\252\001\n\030com.google.monitor" + "ing.v3B\022MetricServiceProtoP\001Z>google.gol" + "ang.org/genproto/googleapis/monitoring/v" + - "3;monitoring\252\002\032Google.Cloud.Monitoring.V", + "3;monitoring\252\002\032Google.Cloud.Monitoring.V" + "3\312\002\032Google\\Cloud\\Monitoring\\V3b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java index b8367b33f952..25a53e6d5b08 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java @@ -33,6 +33,9 @@ private MutationRecord( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -757,7 +760,7 @@ public MutationRecord parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MutationRecord(input, extensionRegistry); + return new MutationRecord(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java index 6c685b3bd559..b1c9a0567261 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java @@ -41,6 +41,9 @@ private NotificationChannel( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2436,7 +2439,7 @@ public NotificationChannel parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NotificationChannel(input, extensionRegistry); + return new NotificationChannel(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java index 3e58c7dee9d6..73bf914f0e6a 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java @@ -40,6 +40,9 @@ private NotificationChannelDescriptor( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1842,7 +1845,7 @@ public NotificationChannelDescriptor parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NotificationChannelDescriptor(input, extensionRegistry); + return new NotificationChannelDescriptor(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java index 0768021d75ac..e8b4eeba4edf 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java @@ -52,7 +52,7 @@ public static void registerAllExtensions( "\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descript" + "ion\030\003 \001(\t\022+\n\006labels\030\004 \003(\0132\033.google.api.L" + "abelDescriptor\022:\n\017supported_tiers\030\005 \003(\0162" + - "!.google.monitoring.v3.ServiceTier\"\266\004\n\023N", + "!.google.monitoring.v3.ServiceTier\"\266\004\n\023N" + "otificationChannel\022\014\n\004type\030\001 \001(\t\022\014\n\004name" + "\030\006 \001(\t\022\024\n\014display_name\030\003 \001(\t\022\023\n\013descript" + "ion\030\004 \001(\t\022E\n\006labels\030\005 \003(\01325.google.monit" + @@ -62,7 +62,7 @@ public static void registerAllExtensions( "\022Y\n\023verification_status\030\t \001(\0162<.google.m" + "onitoring.v3.NotificationChannel.Verific" + "ationStatus\022+\n\007enabled\030\013 \001(\0132\032.google.pr" + - "otobuf.BoolValue\032-\n\013LabelsEntry\022\013\n\003key\030\001", + "otobuf.BoolValue\032-\n\013LabelsEntry\022\013\n\003key\030\001" + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0321\n\017UserLabelsEnt" + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"W\n\022Ve" + "rificationStatus\022#\n\037VERIFICATION_STATUS_" + diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java index 5e336815a1d3..c5441fe9a563 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java @@ -97,7 +97,7 @@ public static void registerAllExtensions( "\n)ListNotificationChannelDescriptorsRequ" + "est\022\014\n\004name\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\"\227\001\n*ListNotificationCha" + - "nnelDescriptorsResponse\022P\n\023channel_descr", + "nnelDescriptorsResponse\022P\n\023channel_descr" + "iptors\030\001 \003(\01323.google.monitoring.v3.Noti" + "ficationChannelDescriptor\022\027\n\017next_page_t" + "oken\030\002 \001(\t\"7\n\'GetNotificationChannelDesc" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "itoring.v3.NotificationChannel\"x\n\037ListNo" + "tificationChannelsRequest\022\014\n\004name\030\005 \001(\t\022" + "\016\n\006filter\030\006 \001(\t\022\020\n\010order_by\030\007 \001(\t\022\021\n\tpag" + - "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\205\001\n Lis", + "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\205\001\n Lis" + "tNotificationChannelsResponse\022H\n\025notific" + "ation_channels\030\003 \003(\0132).google.monitoring" + ".v3.NotificationChannel\022\027\n\017next_page_tok" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "le.protobuf.FieldMask\022G\n\024notification_ch" + "annel\030\003 \001(\0132).google.monitoring.v3.Notif" + "icationChannel\"?\n DeleteNotificationChan" + - "nelRequest\022\014\n\004name\030\003 \001(\t\022\r\n\005force\030\005 \001(\010\"", + "nelRequest\022\014\n\004name\030\003 \001(\t\022\r\n\005force\030\005 \001(\010\"" + ">\n.SendNotificationChannelVerificationCo" + "deRequest\022\014\n\004name\030\001 \001(\t\"n\n-GetNotificati" + "onChannelVerificationCodeRequest\022\014\n\004name" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "/\n\013expire_time\030\002 \001(\0132\032.google.protobuf.T" + "imestamp\">\n VerifyNotificationChannelReq" + "uest\022\014\n\004name\030\001 \001(\t\022\014\n\004code\030\002 \001(\t2\273\020\n\032Not" + - "ificationChannelService\022\345\001\n\"ListNotifica", + "ificationChannelService\022\345\001\n\"ListNotifica" + "tionChannelDescriptors\022?.google.monitori" + "ng.v3.ListNotificationChannelDescriptors" + "Request\032@.google.monitoring.v3.ListNotif" + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "elDescriptor\022=.google.monitoring.v3.GetN" + "otificationChannelDescriptorRequest\0323.go" + "ogle.monitoring.v3.NotificationChannelDe" + - "scriptor\">\202\323\344\223\0028\0226/v3/{name=projects/*/n", + "scriptor\">\202\323\344\223\0028\0226/v3/{name=projects/*/n" + "otificationChannelDescriptors/*}\022\275\001\n\030Lis" + "tNotificationChannels\0225.google.monitorin" + "g.v3.ListNotificationChannelsRequest\0326.g" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "tionChannel\0223.google.monitoring.v3.GetNo" + "tificationChannelRequest\032).google.monito" + "ring.v3.NotificationChannel\"4\202\323\344\223\002.\022,/v3" + - "/{name=projects/*/notificationChannels/*", + "/{name=projects/*/notificationChannels/*" + "}\022\310\001\n\031CreateNotificationChannel\0226.google" + ".monitoring.v3.CreateNotificationChannel" + "Request\032).google.monitoring.v3.Notificat" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "gle.monitoring.v3.UpdateNotificationChan" + "nelRequest\032).google.monitoring.v3.Notifi" + "cationChannel\"_\202\323\344\223\002Y2A/v3/{notification" + - "_channel.name=projects/*/notificationCha", + "_channel.name=projects/*/notificationCha" + "nnels/*}:\024notification_channel\022\241\001\n\031Delet" + "eNotificationChannel\0226.google.monitoring" + ".v3.DeleteNotificationChannelRequest\032\026.g" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( ".google.monitoring.v3.SendNotificationCh" + "annelVerificationCodeRequest\032\026.google.pr" + "otobuf.Empty\"L\202\323\344\223\002F\"A/v3/{name=projects" + - "/*/notificationChannels/*}:sendVerificat", + "/*/notificationChannels/*}:sendVerificat" + "ionCode:\001*\022\200\002\n&GetNotificationChannelVer" + "ificationCode\022C.google.monitoring.v3.Get" + "NotificationChannelVerificationCodeReque" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "els/*}:getVerificationCode:\001*\022\276\001\n\031Verify" + "NotificationChannel\0226.google.monitoring." + "v3.VerifyNotificationChannelRequest\032).go" + - "ogle.monitoring.v3.NotificationChannel\">", + "ogle.monitoring.v3.NotificationChannel\">" + "\202\323\344\223\0028\"3/v3/{name=projects/*/notificatio" + "nChannels/*}:verify:\001*B\260\001\n\030com.google.mo" + "nitoring.v3B\030NotificationServiceProtoP\001Z" + diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java index d16daa7328d9..9ec1e071aff3 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java @@ -32,6 +32,9 @@ private Point( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -915,7 +918,7 @@ public Point parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Point(input, extensionRegistry); + return new Point(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java index 16727bcdfab4..57335e4f030e 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java @@ -33,6 +33,9 @@ private SendNotificationChannelVerificationCodeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public SendNotificationChannelVerificationCodeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SendNotificationChannelVerificationCodeRequest(input, extensionRegistry); + return new SendNotificationChannelVerificationCodeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java index 4d513a9ff73b..7301bc4c8c6a 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java @@ -34,6 +34,9 @@ private TimeInterval( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -859,7 +862,7 @@ public TimeInterval parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeInterval(input, extensionRegistry); + return new TimeInterval(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java index 994768b0fa2c..56822257b944 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java @@ -38,6 +38,9 @@ private TimeSeries( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1738,7 +1741,7 @@ public TimeSeries parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeries(input, extensionRegistry); + return new TimeSeries(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java index 8753d40e2531..c1c052e60f94 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java @@ -32,6 +32,9 @@ private TypedValue( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1152,7 +1155,7 @@ public TypedValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TypedValue(input, extensionRegistry); + return new TypedValue(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java index 3f02f25bac2d..6521741718b9 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java @@ -32,6 +32,9 @@ private UpdateAlertPolicyRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1071,7 +1074,7 @@ public UpdateAlertPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateAlertPolicyRequest(input, extensionRegistry); + return new UpdateAlertPolicyRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java index 89281fa082c4..67fbd95c501d 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java @@ -33,6 +33,9 @@ private UpdateGroupRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -689,7 +692,7 @@ public UpdateGroupRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateGroupRequest(input, extensionRegistry); + return new UpdateGroupRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java index 2b5d6e70da21..dfe43472edc2 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java @@ -32,6 +32,9 @@ private UpdateNotificationChannelRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -867,7 +870,7 @@ public UpdateNotificationChannelRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateNotificationChannelRequest(input, extensionRegistry); + return new UpdateNotificationChannelRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java index 9345c6e26b2e..cb58c821ea9e 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java @@ -32,6 +32,9 @@ private UpdateUptimeCheckConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -939,7 +942,7 @@ public UpdateUptimeCheckConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateUptimeCheckConfigRequest(input, extensionRegistry); + return new UpdateUptimeCheckConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java index a3b78ad2bb93..a3df342efbd4 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java @@ -38,6 +38,9 @@ private UptimeCheckConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -297,6 +300,9 @@ private ResourceGroup( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -910,7 +916,7 @@ public ResourceGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceGroup(input, extensionRegistry); + return new ResourceGroup(input, extensionRegistry); } }; @@ -1134,6 +1140,9 @@ private HttpCheck( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1307,6 +1316,9 @@ private BasicAuthentication( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1958,7 +1970,7 @@ public BasicAuthentication parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BasicAuthentication(input, extensionRegistry); + return new BasicAuthentication(input, extensionRegistry); } }; @@ -3263,7 +3275,7 @@ public HttpCheck parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new HttpCheck(input, extensionRegistry); + return new HttpCheck(input, extensionRegistry); } }; @@ -3327,6 +3339,9 @@ private TcpCheck( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3749,7 +3764,7 @@ public TcpCheck parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TcpCheck(input, extensionRegistry); + return new TcpCheck(input, extensionRegistry); } }; @@ -3822,6 +3837,9 @@ private ContentMatcher( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4319,7 +4337,7 @@ public ContentMatcher parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ContentMatcher(input, extensionRegistry); + return new ContentMatcher(input, extensionRegistry); } }; @@ -4468,6 +4486,9 @@ private InternalChecker( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5586,7 +5607,7 @@ public InternalChecker parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InternalChecker(input, extensionRegistry); + return new InternalChecker(input, extensionRegistry); } }; @@ -9069,7 +9090,7 @@ public UptimeCheckConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UptimeCheckConfig(input, extensionRegistry); + return new UptimeCheckConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java index 05dc70f28937..ba583bc7052e 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java @@ -36,6 +36,9 @@ private UptimeCheckIp( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -838,7 +841,7 @@ public UptimeCheckIp parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UptimeCheckIp(input, extensionRegistry); + return new UptimeCheckIp(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java index 01f135072b74..f287b964e09e 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java @@ -77,7 +77,7 @@ public static void registerAllExtensions( "rceH\000\022O\n\016resource_group\030\004 \001(\01325.google.m" + "onitoring.v3.UptimeCheckConfig.ResourceG" + "roupH\000\022G\n\nhttp_check\030\005 \001(\01321.google.moni" + - "toring.v3.UptimeCheckConfig.HttpCheckH\001\022", + "toring.v3.UptimeCheckConfig.HttpCheckH\001\022" + "E\n\ttcp_check\030\006 \001(\01320.google.monitoring.v" + "3.UptimeCheckConfig.TcpCheckH\001\022)\n\006period" + "\030\007 \001(\0132\031.google.protobuf.Duration\022*\n\007tim" + @@ -87,7 +87,7 @@ public static void registerAllExtensions( "A\n\020selected_regions\030\n \003(\0162\'.google.monit" + "oring.v3.UptimeCheckRegion\022R\n\021internal_c" + "heckers\030\016 \003(\01327.google.monitoring.v3.Upt" + - "imeCheckConfig.InternalChecker\032a\n\rResour", + "imeCheckConfig.InternalChecker\032a\n\rResour" + "ceGroup\022\020\n\010group_id\030\001 \001(\t\022>\n\rresource_ty" + "pe\030\002 \001(\0162\'.google.monitoring.v3.GroupRes" + "ourceType\032\344\002\n\tHttpCheck\022\017\n\007use_ssl\030\001 \001(\010" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( "\n\014mask_headers\030\005 \001(\010\022O\n\007headers\030\006 \003(\0132>." + "google.monitoring.v3.UptimeCheckConfig.H" + "ttpCheck.HeadersEntry\0329\n\023BasicAuthentica" + - "tion\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001(\t", + "tion\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001(\t" + "\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + " \001(\t:\0028\001\032\030\n\010TcpCheck\022\014\n\004port\030\001 \001(\005\032!\n\016Co" + "ntentMatcher\022\017\n\007content\030\001 \001(\t\032r\n\017Interna" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "\022check_request_type\"n\n\rUptimeCheckIp\0227\n\006" + "region\030\001 \001(\0162\'.google.monitoring.v3.Upti" + "meCheckRegion\022\020\n\010location\030\002 \001(\t\022\022\n\nip_ad" + - "dress\030\003 \001(\t*e\n\021UptimeCheckRegion\022\026\n\022REGI", + "dress\030\003 \001(\t*e\n\021UptimeCheckRegion\022\026\n\022REGI" + "ON_UNSPECIFIED\020\000\022\007\n\003USA\020\001\022\n\n\006EUROPE\020\002\022\021\n" + "\rSOUTH_AMERICA\020\003\022\020\n\014ASIA_PACIFIC\020\004*[\n\021Gr" + "oupResourceType\022\035\n\031RESOURCE_TYPE_UNSPECI" + diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java index 2d2ff36481a7..06f9d0fb1a25 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java @@ -72,7 +72,7 @@ public static void registerAllExtensions( "(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(" + "\t\"\200\001\n\036ListUptimeCheckConfigsResponse\022E\n\024" + "uptime_check_configs\030\001 \003(\0132\'.google.moni" + - "toring.v3.UptimeCheckConfig\022\027\n\017next_page", + "toring.v3.UptimeCheckConfig\022\027\n\017next_page" + "_token\030\002 \001(\t\"+\n\033GetUptimeCheckConfigRequ" + "est\022\014\n\004name\030\001 \001(\t\"v\n\036CreateUptimeCheckCo" + "nfigRequest\022\016\n\006parent\030\001 \001(\t\022D\n\023uptime_ch" + @@ -82,7 +82,7 @@ public static void registerAllExtensions( "le.protobuf.FieldMask\022D\n\023uptime_check_co" + "nfig\030\003 \001(\0132\'.google.monitoring.v3.Uptime" + "CheckConfig\".\n\036DeleteUptimeCheckConfigRe" + - "quest\022\014\n\004name\030\001 \001(\t\"B\n\031ListUptimeCheckIp", + "quest\022\014\n\004name\030\001 \001(\t\"B\n\031ListUptimeCheckIp" + "sRequest\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + "n\030\003 \001(\t\"t\n\032ListUptimeCheckIpsResponse\022=\n" + "\020uptime_check_ips\030\001 \003(\0132#.google.monitor" + @@ -92,7 +92,7 @@ public static void registerAllExtensions( "istUptimeCheckConfigsRequest\0324.google.mo" + "nitoring.v3.ListUptimeCheckConfigsRespon" + "se\"2\202\323\344\223\002,\022*/v3/{parent=projects/*}/upti" + - "meCheckConfigs\022\246\001\n\024GetUptimeCheckConfig\022", + "meCheckConfigs\022\246\001\n\024GetUptimeCheckConfig\022" + "1.google.monitoring.v3.GetUptimeCheckCon" + "figRequest\032\'.google.monitoring.v3.Uptime" + "CheckConfig\"2\202\323\344\223\002,\022*/v3/{name=projects/" + @@ -102,7 +102,7 @@ public static void registerAllExtensions( "oring.v3.UptimeCheckConfig\"G\202\323\344\223\002A\"*/v3/" + "{parent=projects/*}/uptimeCheckConfigs:\023" + "uptime_check_config\022\325\001\n\027UpdateUptimeChec" + - "kConfig\0224.google.monitoring.v3.UpdateUpt", + "kConfig\0224.google.monitoring.v3.UpdateUpt" + "imeCheckConfigRequest\032\'.google.monitorin" + "g.v3.UptimeCheckConfig\"[\202\323\344\223\002U2>/v3/{upt" + "ime_check_config.name=projects/*/uptimeC" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "google.protobuf.Empty\"2\202\323\344\223\002,**/v3/{name" + "=projects/*/uptimeCheckConfigs/*}\022\223\001\n\022Li" + "stUptimeCheckIps\022/.google.monitoring.v3." + - "ListUptimeCheckIpsRequest\0320.google.monit", + "ListUptimeCheckIpsRequest\0320.google.monit" + "oring.v3.ListUptimeCheckIpsResponse\"\032\202\323\344" + "\223\002\024\022\022/v3/uptimeCheckIpsB\252\001\n\030com.google.m" + "onitoring.v3B\022UptimeServiceProtoP\001Z>goog" + diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java index 1014012d646a..df184289070b 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java @@ -34,6 +34,9 @@ private VerifyNotificationChannelRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -725,7 +728,7 @@ public VerifyNotificationChannelRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VerifyNotificationChannelRequest(input, extensionRegistry); + return new VerifyNotificationChannelRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java index 0e26f9be2732..052302785367 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java +++ b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java @@ -193,6 +193,9 @@ private PosixAccount( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1687,7 +1690,7 @@ public PosixAccount parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PosixAccount(input, extensionRegistry); + return new PosixAccount(input, extensionRegistry); } }; @@ -1791,6 +1794,9 @@ private SshPublicKey( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2528,7 +2534,7 @@ public SshPublicKey parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SshPublicKey(input, extensionRegistry); + return new SshPublicKey(input, extensionRegistry); } }; @@ -2575,7 +2581,7 @@ public com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getDefaultInsta "tem_id\030\010 \001(\t\022\022\n\naccount_id\030\t \001(\t\"N\n\014SshP" + "ublicKey\022\013\n\003key\030\001 \001(\t\022\034\n\024expiration_time" + "_usec\030\002 \001(\003\022\023\n\013fingerprint\030\003 \001(\tB\256\001\n\037com" + - ".google.cloud.oslogin.commonB\014OsLoginPro", + ".google.cloud.oslogin.commonB\014OsLoginPro" + "toZAgoogle.golang.org/genproto/googleapi" + "s/cloud/oslogin/common;common\252\002\033Google.C" + "loud.OsLogin.Common\312\002\033Google\\Cloud\\OsLog" + diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java index f6516c88072a..54aee41c2e12 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java +++ b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java @@ -33,6 +33,9 @@ private DeletePosixAccountRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public DeletePosixAccountRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePosixAccountRequest(input, extensionRegistry); + return new DeletePosixAccountRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java index bb6d79e584be..10bfb8f23cb6 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java +++ b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java @@ -33,6 +33,9 @@ private DeleteSshPublicKeyRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public DeleteSshPublicKeyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSshPublicKeyRequest(input, extensionRegistry); + return new DeleteSshPublicKeyRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequest.java b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequest.java index fe2429499d0d..6d5c14c4b404 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequest.java +++ b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetLoginProfileRequest.java @@ -33,6 +33,9 @@ private GetLoginProfileRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public GetLoginProfileRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetLoginProfileRequest(input, extensionRegistry); + return new GetLoginProfileRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java index 5ac8b51a37fe..17f757c1ea32 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java +++ b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java @@ -33,6 +33,9 @@ private GetSshPublicKeyRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public GetSshPublicKeyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetSshPublicKeyRequest(input, extensionRegistry); + return new GetSshPublicKeyRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequest.java b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequest.java index 484de37d27a1..e5da69b9829f 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequest.java +++ b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyRequest.java @@ -34,6 +34,9 @@ private ImportSshPublicKeyRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -912,7 +915,7 @@ public ImportSshPublicKeyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportSshPublicKeyRequest(input, extensionRegistry); + return new ImportSshPublicKeyRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponse.java b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponse.java index 90b79c168b06..2ab1e75c15bb 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponse.java +++ b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/ImportSshPublicKeyResponse.java @@ -32,6 +32,9 @@ private ImportSshPublicKeyResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public ImportSshPublicKeyResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportSshPublicKeyResponse(input, extensionRegistry); + return new ImportSshPublicKeyResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfile.java b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfile.java index 8170a8c90ccd..902e0871d985 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfile.java +++ b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/LoginProfile.java @@ -36,6 +36,9 @@ private LoginProfile( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1365,7 +1368,7 @@ public LoginProfile parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LoginProfile(input, extensionRegistry); + return new LoginProfile(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java index d3730b15db07..d7ed6ad8b5b6 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java +++ b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java @@ -77,7 +77,7 @@ public static void registerAllExtensions( "accounts\030\002 \003(\0132).google.cloud.oslogin.co" + "mmon.PosixAccount\022Q\n\017ssh_public_keys\030\003 \003" + "(\01328.google.cloud.oslogin.v1.LoginProfil" + - "e.SshPublicKeysEntry\022\021\n\tsuspended\030\004 \001(\010\032", + "e.SshPublicKeysEntry\022\021\n\tsuspended\030\004 \001(\010\032" + "_\n\022SshPublicKeysEntry\022\013\n\003key\030\001 \001(\t\0228\n\005va" + "lue\030\002 \001(\0132).google.cloud.oslogin.common." + "SshPublicKey:\0028\001\")\n\031DeletePosixAccountRe" + @@ -87,7 +87,7 @@ public static void registerAllExtensions( "yRequest\022\014\n\004name\030\001 \001(\t\"\202\001\n\031ImportSshPubl" + "icKeyRequest\022\016\n\006parent\030\001 \001(\t\022A\n\016ssh_publ" + "ic_key\030\002 \001(\0132).google.cloud.oslogin.comm" + - "on.SshPublicKey\022\022\n\nproject_id\030\003 \001(\t\"Z\n\032I", + "on.SshPublicKey\022\022\n\nproject_id\030\003 \001(\t\"Z\n\032I" + "mportSshPublicKeyResponse\022<\n\rlogin_profi" + "le\030\001 \001(\0132%.google.cloud.oslogin.v1.Login" + "Profile\"\235\001\n\031UpdateSshPublicKeyRequest\022\014\n" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( "eldMask2\315\007\n\016OsLoginService\022\207\001\n\022DeletePos" + "ixAccount\0222.google.cloud.oslogin.v1.Dele" + "tePosixAccountRequest\032\026.google.protobuf." + - "Empty\"%\202\323\344\223\002\037*\035/v1/{name=users/*/project", + "Empty\"%\202\323\344\223\002\037*\035/v1/{name=users/*/project" + "s/*}\022\214\001\n\022DeleteSshPublicKey\0222.google.clo" + "ud.oslogin.v1.DeleteSshPublicKeyRequest\032" + "\026.google.protobuf.Empty\"*\202\323\344\223\002$*\"/v1/{na" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "v1.LoginProfile\"\'\202\323\344\223\002!\022\037/v1/{name=users" + "/*}/loginProfile\022\231\001\n\017GetSshPublicKey\022/.g" + "oogle.cloud.oslogin.v1.GetSshPublicKeyRe" + - "quest\032).google.cloud.oslogin.common.SshP", + "quest\032).google.cloud.oslogin.common.SshP" + "ublicKey\"*\202\323\344\223\002$\022\"/v1/{name=users/*/sshP" + "ublicKeys/*}\022\276\001\n\022ImportSshPublicKey\0222.go" + "ogle.cloud.oslogin.v1.ImportSshPublicKey" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "c_key\022\257\001\n\022UpdateSshPublicKey\0222.google.cl" + "oud.oslogin.v1.UpdateSshPublicKeyRequest" + "\032).google.cloud.oslogin.common.SshPublic" + - "Key\":\202\323\344\223\00242\"/v1/{name=users/*/sshPublic", + "Key\":\202\323\344\223\00242\"/v1/{name=users/*/sshPublic" + "Keys/*}:\016ssh_public_keyB\241\001\n\033com.google.c" + "loud.oslogin.v1B\014OsLoginProtoP\001Z>google." + "golang.org/genproto/googleapis/cloud/osl" + diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java index 87ef2570f9bd..1af4c72b4804 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java +++ b/google-api-grpc/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java @@ -33,6 +33,9 @@ private UpdateSshPublicKeyRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1000,7 +1003,7 @@ public UpdateSshPublicKeyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateSshPublicKeyRequest(input, extensionRegistry); + return new UpdateSshPublicKeyRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java index 70c45825b8ac..b6f38ea1d079 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java @@ -34,6 +34,9 @@ private AcknowledgeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -775,7 +778,7 @@ public AcknowledgeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AcknowledgeRequest(input, extensionRegistry); + return new AcknowledgeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java index 701cff6bc463..f6374d302c9a 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java @@ -34,6 +34,9 @@ private CreateSnapshotRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -767,7 +770,7 @@ public CreateSnapshotRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateSnapshotRequest(input, extensionRegistry); + return new CreateSnapshotRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java index 8e05d5535139..6b92fdcea2b9 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java @@ -33,6 +33,9 @@ private DeleteSnapshotRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteSnapshotRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSnapshotRequest(input, extensionRegistry); + return new DeleteSnapshotRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java index 2712f7b0aedd..67c8fe3977f4 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java @@ -33,6 +33,9 @@ private DeleteSubscriptionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteSubscriptionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSubscriptionRequest(input, extensionRegistry); + return new DeleteSubscriptionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java index 893570ab861f..31e7001affad 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java @@ -33,6 +33,9 @@ private DeleteTopicRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteTopicRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTopicRequest(input, extensionRegistry); + return new DeleteTopicRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java index 750eaf5a9d13..37448712e4db 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java @@ -33,6 +33,9 @@ private GetSubscriptionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetSubscriptionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetSubscriptionRequest(input, extensionRegistry); + return new GetSubscriptionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java index 413a9aec9a73..ee0049e46ff7 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java @@ -33,6 +33,9 @@ private GetTopicRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetTopicRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTopicRequest(input, extensionRegistry); + return new GetTopicRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java index 5b2ce8d90217..cdee470682ec 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java @@ -35,6 +35,9 @@ private ListSnapshotsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -778,7 +781,7 @@ public ListSnapshotsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSnapshotsRequest(input, extensionRegistry); + return new ListSnapshotsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java index 33757b43367f..3b313dfe5f30 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java @@ -34,6 +34,9 @@ private ListSnapshotsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -975,7 +978,7 @@ public ListSnapshotsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSnapshotsResponse(input, extensionRegistry); + return new ListSnapshotsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java index 5100a0e14cbc..006c976c8b4c 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java @@ -35,6 +35,9 @@ private ListSubscriptionsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -778,7 +781,7 @@ public ListSubscriptionsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSubscriptionsRequest(input, extensionRegistry); + return new ListSubscriptionsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java index e5d36b843a19..504ee6f7c8a3 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java @@ -34,6 +34,9 @@ private ListSubscriptionsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListSubscriptionsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSubscriptionsResponse(input, extensionRegistry); + return new ListSubscriptionsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java index 56eed7315bb3..ad2c68df8b0a 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java @@ -35,6 +35,9 @@ private ListTopicSubscriptionsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -778,7 +781,7 @@ public ListTopicSubscriptionsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTopicSubscriptionsRequest(input, extensionRegistry); + return new ListTopicSubscriptionsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java index 4c2d99a2dd7e..b4065286bf25 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java @@ -34,6 +34,9 @@ private ListTopicSubscriptionsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -769,7 +772,7 @@ public ListTopicSubscriptionsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTopicSubscriptionsResponse(input, extensionRegistry); + return new ListTopicSubscriptionsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java index d3805cecf8f1..3d3f28c59587 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java @@ -35,6 +35,9 @@ private ListTopicsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -778,7 +781,7 @@ public ListTopicsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTopicsRequest(input, extensionRegistry); + return new ListTopicsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java index 2bfb90b1de3b..e0666d18ae08 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java @@ -34,6 +34,9 @@ private ListTopicsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -975,7 +978,7 @@ public ListTopicsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTopicsResponse(input, extensionRegistry); + return new ListTopicsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java index 90da0e1ed7d7..a33954d319a8 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java @@ -35,6 +35,9 @@ private ModifyAckDeadlineRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -860,7 +863,7 @@ public ModifyAckDeadlineRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ModifyAckDeadlineRequest(input, extensionRegistry); + return new ModifyAckDeadlineRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java index 2e2df6cdb5f4..f448e439183c 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java @@ -33,6 +33,9 @@ private ModifyPushConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -812,7 +815,7 @@ public ModifyPushConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ModifyPushConfigRequest(input, extensionRegistry); + return new ModifyPushConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java index 83bb1a7a6410..a95e30a40df7 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java @@ -34,6 +34,9 @@ private PublishRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -975,7 +978,7 @@ public PublishRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PublishRequest(input, extensionRegistry); + return new PublishRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java index f5a167742930..d59fd9694aaf 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java @@ -33,6 +33,9 @@ private PublishResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -623,7 +626,7 @@ public PublishResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PublishResponse(input, extensionRegistry); + return new PublishResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java index 8229f3bd9ccc..4910321a2293 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java @@ -35,6 +35,9 @@ private PubsubMessage( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1202,7 +1205,7 @@ public PubsubMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PubsubMessage(input, extensionRegistry); + return new PubsubMessage(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java index ec1e675466fa..707fe8b41799 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java @@ -227,7 +227,7 @@ public static void registerAllExtensions( "\030\002 \003(\0132#.google.pubsub.v1.Topic.LabelsEn" + "try\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + "\030\002 \001(\t:\0028\001\"\333\001\n\rPubsubMessage\022\014\n\004data\030\001 \001" + - "(\014\022C\n\nattributes\030\002 \003(\0132/.google.pubsub.v", + "(\014\022C\n\nattributes\030\002 \003(\0132/.google.pubsub.v" + "1.PubsubMessage.AttributesEntry\022\022\n\nmessa" + "ge_id\030\003 \001(\t\0220\n\014publish_time\030\004 \001(\0132\032.goog" + "le.protobuf.Timestamp\0321\n\017AttributesEntry" + @@ -237,7 +237,7 @@ public static void registerAllExtensions( "v1.Topic\022/\n\013update_mask\030\002 \001(\0132\032.google.p" + "rotobuf.FieldMask\"R\n\016PublishRequest\022\r\n\005t" + "opic\030\001 \001(\t\0221\n\010messages\030\002 \003(\0132\037.google.pu" + - "bsub.v1.PubsubMessage\"&\n\017PublishResponse", + "bsub.v1.PubsubMessage\"&\n\017PublishResponse" + "\022\023\n\013message_ids\030\001 \003(\t\"K\n\021ListTopicsReque" + "st\022\017\n\007project\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022" + "\n\npage_token\030\003 \001(\t\"V\n\022ListTopicsResponse" + @@ -247,7 +247,7 @@ public static void registerAllExtensions( "ge_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"P\n\036Lis" + "tTopicSubscriptionsResponse\022\025\n\rsubscript" + "ions\030\001 \003(\t\022\027\n\017next_page_token\030\002 \001(\t\"#\n\022D" + - "eleteTopicRequest\022\r\n\005topic\030\001 \001(\t\"\305\002\n\014Sub", + "eleteTopicRequest\022\r\n\005topic\030\001 \001(\t\"\305\002\n\014Sub" + "scription\022\014\n\004name\030\001 \001(\t\022\r\n\005topic\030\002 \001(\t\0221" + "\n\013push_config\030\004 \001(\0132\034.google.pubsub.v1.P" + "ushConfig\022\034\n\024ack_deadline_seconds\030\005 \001(\005\022" + @@ -257,7 +257,7 @@ public static void registerAllExtensions( "ubsub.v1.Subscription.LabelsEntry\032-\n\013Lab" + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + "\"\230\001\n\nPushConfig\022\025\n\rpush_endpoint\030\001 \001(\t\022@" + - "\n\nattributes\030\002 \003(\0132,.google.pubsub.v1.Pu", + "\n\nattributes\030\002 \003(\0132,.google.pubsub.v1.Pu" + "shConfig.AttributesEntry\0321\n\017AttributesEn" + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"S\n\017R" + "eceivedMessage\022\016\n\006ack_id\030\001 \001(\t\0220\n\007messag" + @@ -267,7 +267,7 @@ public static void registerAllExtensions( "\n\014subscription\030\001 \001(\0132\036.google.pubsub.v1." + "Subscription\022/\n\013update_mask\030\002 \001(\0132\032.goog" + "le.protobuf.FieldMask\"R\n\030ListSubscriptio" + - "nsRequest\022\017\n\007project\030\001 \001(\t\022\021\n\tpage_size\030", + "nsRequest\022\017\n\007project\030\001 \001(\t\022\021\n\tpage_size\030" + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"k\n\031ListSubscri" + "ptionsResponse\0225\n\rsubscriptions\030\001 \003(\0132\036." + "google.pubsub.v1.Subscription\022\027\n\017next_pa" + @@ -277,7 +277,7 @@ public static void registerAllExtensions( "sh_config\030\002 \001(\0132\034.google.pubsub.v1.PushC" + "onfig\"U\n\013PullRequest\022\024\n\014subscription\030\001 \001" + "(\t\022\032\n\022return_immediately\030\002 \001(\010\022\024\n\014max_me" + - "ssages\030\003 \001(\005\"L\n\014PullResponse\022<\n\021received", + "ssages\030\003 \001(\005\"L\n\014PullResponse\022<\n\021received" + "_messages\030\001 \003(\0132!.google.pubsub.v1.Recei" + "vedMessage\"_\n\030ModifyAckDeadlineRequest\022\024" + "\n\014subscription\030\001 \001(\t\022\017\n\007ack_ids\030\004 \003(\t\022\034\n" + @@ -287,7 +287,7 @@ public static void registerAllExtensions( "scription\030\001 \001(\t\022\017\n\007ack_ids\030\002 \003(\t\022\037\n\027modi" + "fy_deadline_seconds\030\003 \003(\005\022\037\n\027modify_dead" + "line_ack_ids\030\004 \003(\t\022#\n\033stream_ack_deadlin" + - "e_seconds\030\005 \001(\005\"U\n\025StreamingPullResponse", + "e_seconds\030\005 \001(\005\"U\n\025StreamingPullResponse" + "\022<\n\021received_messages\030\001 \003(\0132!.google.pub" + "sub.v1.ReceivedMessage\";\n\025CreateSnapshot" + "Request\022\014\n\004name\030\001 \001(\t\022\024\n\014subscription\030\002 " + @@ -297,7 +297,7 @@ public static void registerAllExtensions( "ask\"\277\001\n\010Snapshot\022\014\n\004name\030\001 \001(\t\022\r\n\005topic\030" + "\002 \001(\t\022/\n\013expire_time\030\003 \001(\0132\032.google.prot" + "obuf.Timestamp\0226\n\006labels\030\004 \003(\0132&.google." + - "pubsub.v1.Snapshot.LabelsEntry\032-\n\013Labels", + "pubsub.v1.Snapshot.LabelsEntry\032-\n\013Labels" + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"N\n" + "\024ListSnapshotsRequest\022\017\n\007project\030\001 \001(\t\022\021" + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"_\n" + @@ -307,7 +307,7 @@ public static void registerAllExtensions( "\020\n\010snapshot\030\001 \001(\t\"m\n\013SeekRequest\022\024\n\014subs" + "cription\030\001 \001(\t\022*\n\004time\030\002 \001(\0132\032.google.pr" + "otobuf.TimestampH\000\022\022\n\010snapshot\030\003 \001(\tH\000B\010" + - "\n\006target\"\016\n\014SeekResponse2\367\020\n\nSubscriber\022", + "\n\006target\"\016\n\014SeekResponse2\367\020\n\nSubscriber\022" + "\206\001\n\022CreateSubscription\022\036.google.pubsub.v" + "1.Subscription\032\036.google.pubsub.v1.Subscr" + "iption\"0\202\323\344\223\002*\032%/v1/{name=projects/*/sub" + @@ -317,7 +317,7 @@ public static void registerAllExtensions( "/v1/{subscription=projects/*/subscriptio" + "ns/*}\022\240\001\n\022UpdateSubscription\022+.google.pu" + "bsub.v1.UpdateSubscriptionRequest\032\036.goog" + - "le.pubsub.v1.Subscription\"=\202\323\344\223\002722/v1/{", + "le.pubsub.v1.Subscription\"=\202\323\344\223\002722/v1/{" + "subscription.name=projects/*/subscriptio" + "ns/*}:\001*\022\234\001\n\021ListSubscriptions\022*.google." + "pubsub.v1.ListSubscriptionsRequest\032+.goo" + @@ -327,7 +327,7 @@ public static void registerAllExtensions( "pubsub.v1.DeleteSubscriptionRequest\032\026.go" + "ogle.protobuf.Empty\"5\202\323\344\223\002/*-/v1/{subscr" + "iption=projects/*/subscriptions/*}\022\243\001\n\021M" + - "odifyAckDeadline\022*.google.pubsub.v1.Modi", + "odifyAckDeadline\022*.google.pubsub.v1.Modi" + "fyAckDeadlineRequest\032\026.google.protobuf.E" + "mpty\"J\202\323\344\223\002D\"?/v1/{subscription=projects" + "/*/subscriptions/*}:modifyAckDeadline:\001*" + @@ -337,7 +337,7 @@ public static void registerAllExtensions( "scriptions/*}:acknowledge:\001*\022\204\001\n\004Pull\022\035." + "google.pubsub.v1.PullRequest\032\036.google.pu" + "bsub.v1.PullResponse\"=\202\323\344\223\0027\"2/v1/{subsc" + - "ription=projects/*/subscriptions/*}:pull", + "ription=projects/*/subscriptions/*}:pull" + ":\001*\022d\n\rStreamingPull\022&.google.pubsub.v1." + "StreamingPullRequest\032\'.google.pubsub.v1." + "StreamingPullResponse(\0010\001\022\240\001\n\020ModifyPush" + @@ -347,7 +347,7 @@ public static void registerAllExtensions( "tions/*}:modifyPushConfig:\001*\022\214\001\n\rListSna" + "pshots\022&.google.pubsub.v1.ListSnapshotsR" + "equest\032\'.google.pubsub.v1.ListSnapshotsR" + - "esponse\"*\202\323\344\223\002$\022\"/v1/{project=projects/*", + "esponse\"*\202\323\344\223\002$\022\"/v1/{project=projects/*" + "}/snapshots\022\203\001\n\016CreateSnapshot\022\'.google." + "pubsub.v1.CreateSnapshotRequest\032\032.google" + ".pubsub.v1.Snapshot\",\202\323\344\223\002&\032!/v1/{name=p" + @@ -357,7 +357,7 @@ public static void registerAllExtensions( "/2*/v1/{snapshot.name=projects/*/snapsho" + "ts/*}:\001*\022\200\001\n\016DeleteSnapshot\022\'.google.pub" + "sub.v1.DeleteSnapshotRequest\032\026.google.pr" + - "otobuf.Empty\"-\202\323\344\223\002\'*%/v1/{snapshot=proj", + "otobuf.Empty\"-\202\323\344\223\002\'*%/v1/{snapshot=proj" + "ects/*/snapshots/*}\022\204\001\n\004Seek\022\035.google.pu" + "bsub.v1.SeekRequest\032\036.google.pubsub.v1.S" + "eekResponse\"=\202\323\344\223\0027\"2/v1/{subscription=p" + @@ -367,7 +367,7 @@ public static void registerAllExtensions( "#\032\036/v1/{name=projects/*/topics/*}:\001*\022}\n\013" + "UpdateTopic\022$.google.pubsub.v1.UpdateTop" + "icRequest\032\027.google.pubsub.v1.Topic\"/\202\323\344\223" + - "\002)2$/v1/{topic.name=projects/*/topics/*}", + "\002)2$/v1/{topic.name=projects/*/topics/*}" + ":\001*\022\202\001\n\007Publish\022 .google.pubsub.v1.Publi" + "shRequest\032!.google.pubsub.v1.PublishResp" + "onse\"2\202\323\344\223\002,\"\'/v1/{topic=projects/*/topi" + @@ -377,7 +377,7 @@ public static void registerAllExtensions( "topics/*}\022\200\001\n\nListTopics\022#.google.pubsub" + ".v1.ListTopicsRequest\032$.google.pubsub.v1" + ".ListTopicsResponse\"\'\202\323\344\223\002!\022\037/v1/{projec" + - "t=projects/*}/topics\022\262\001\n\026ListTopicSubscr", + "t=projects/*}/topics\022\262\001\n\026ListTopicSubscr" + "iptions\022/.google.pubsub.v1.ListTopicSubs" + "criptionsRequest\0320.google.pubsub.v1.List" + "TopicSubscriptionsResponse\"5\202\323\344\223\002/\022-/v1/" + @@ -387,7 +387,7 @@ public static void registerAllExtensions( "\202\323\344\223\002!*\037/v1/{topic=projects/*/topics/*}B" + "\222\001\n\024com.google.pubsub.v1B\013PubsubProtoP\001Z" + "6google.golang.org/genproto/googleapis/p" + - "ubsub/v1;pubsub\370\001\001\252\002\026Google.Cloud.PubSub", + "ubsub/v1;pubsub\370\001\001\252\002\026Google.Cloud.PubSub" + ".V1\312\002\026Google\\Cloud\\PubSub\\V1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java index aaeecd93372b..c01a02625b10 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java @@ -35,6 +35,9 @@ private PullRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -708,7 +711,7 @@ public PullRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PullRequest(input, extensionRegistry); + return new PullRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java index a8c84a96529d..3a4694f88ce5 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java @@ -33,6 +33,9 @@ private PullResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -879,7 +882,7 @@ public PullResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PullResponse(input, extensionRegistry); + return new PullResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java index e0bfc14b592f..fbb7e018afa9 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java @@ -33,6 +33,9 @@ private PushConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1021,7 +1024,7 @@ public PushConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PushConfig(input, extensionRegistry); + return new PushConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java index c50f2bfa1310..dec18356e9b0 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java @@ -33,6 +33,9 @@ private ReceivedMessage( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -757,7 +760,7 @@ public ReceivedMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReceivedMessage(input, extensionRegistry); + return new ReceivedMessage(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java index d2d2b68dbb11..9d12081522f7 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java @@ -33,6 +33,9 @@ private SeekRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1164,7 +1167,7 @@ public SeekRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SeekRequest(input, extensionRegistry); + return new SeekRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java index deb1a5a59eed..7a3eda234ba4 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java @@ -28,6 +28,9 @@ private SeekResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -364,7 +367,7 @@ public SeekResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SeekResponse(input, extensionRegistry); + return new SeekResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java index 66a922773e78..65f04e684884 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java @@ -34,6 +34,9 @@ private Snapshot( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1329,7 +1332,7 @@ public Snapshot parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Snapshot(input, extensionRegistry); + return new Snapshot(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java index ff90912ace24..1c9fff29b171 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java @@ -39,6 +39,9 @@ private StreamingPullRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1491,7 +1494,7 @@ public StreamingPullRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingPullRequest(input, extensionRegistry); + return new StreamingPullRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java index 4e460e8a2b17..6f32fa1685f3 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java @@ -34,6 +34,9 @@ private StreamingPullResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -812,7 +815,7 @@ public StreamingPullResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingPullResponse(input, extensionRegistry); + return new StreamingPullResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java index 9655e72b010e..fad189d8082b 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java @@ -36,6 +36,9 @@ private Subscription( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1823,7 +1826,7 @@ public Subscription parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Subscription(input, extensionRegistry); + return new Subscription(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java index 533ce2e2c867..6ebdc7c1d2e5 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java @@ -33,6 +33,9 @@ private Topic( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -884,7 +887,7 @@ public Topic parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Topic(input, extensionRegistry); + return new Topic(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java index 4b59d63f5922..865b574fe79d 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java @@ -32,6 +32,9 @@ private UpdateSnapshotRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -843,7 +846,7 @@ public UpdateSnapshotRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateSnapshotRequest(input, extensionRegistry); + return new UpdateSnapshotRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java index c15df7942b7d..44bc150560ba 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java @@ -32,6 +32,9 @@ private UpdateSubscriptionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -843,7 +846,7 @@ public UpdateSubscriptionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateSubscriptionRequest(input, extensionRegistry); + return new UpdateSubscriptionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java index 674500dd8cfb..cbe32588bc66 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java @@ -32,6 +32,9 @@ private UpdateTopicRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -843,7 +846,7 @@ public UpdateTopicRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateTopicRequest(input, extensionRegistry); + return new UpdateTopicRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisServiceBetaProto.java b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisServiceBetaProto.java index d8c4dc026e70..200a261d78e8 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisServiceBetaProto.java +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisServiceBetaProto.java @@ -92,7 +92,7 @@ public static void registerAllExtensions( "isplay_name\030\002 \001(\t\022@\n\006labels\030\003 \003(\01320.goog" + "le.cloud.redis.v1beta1.Instance.LabelsEn" + "try\022\023\n\013location_id\030\004 \001(\t\022\037\n\027alternative_" + - "location_id\030\005 \001(\t\022\025\n\rredis_version\030\007 \001(\t", + "location_id\030\005 \001(\t\022\025\n\rredis_version\030\007 \001(\t" + "\022\031\n\021reserved_ip_range\030\t \001(\t\022\014\n\004host\030\n \001(" + "\t\022\014\n\004port\030\013 \001(\005\022\033\n\023current_location_id\030\014" + " \001(\t\022/\n\013create_time\030\r \001(\0132\032.google.proto" + @@ -102,7 +102,7 @@ public static void registerAllExtensions( "6.google.cloud.redis.v1beta1.Instance.Re" + "disConfigsEntry\0227\n\004tier\030\021 \001(\0162).google.c" + "loud.redis.v1beta1.Instance.Tier\022\026\n\016memo" + - "ry_size_gb\030\022 \001(\005\022\032\n\022authorized_network\030\024", + "ry_size_gb\030\022 \001(\005\022\032\n\022authorized_network\030\024" + " \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + "e\030\002 \001(\t:\0028\001\0323\n\021RedisConfigsEntry\022\013\n\003key\030" + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"s\n\005State\022\025\n\021STA" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "SPECIFIED\020\000\022\t\n\005BASIC\020\001\022\017\n\013STANDARD_HA\020\003\"" + "M\n\024ListInstancesRequest\022\016\n\006parent\030\001 \001(\t\022" + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"i" + - "\n\025ListInstancesResponse\0227\n\tinstances\030\001 \003", + "\n\025ListInstancesResponse\0227\n\tinstances\030\001 \003" + "(\0132$.google.cloud.redis.v1beta1.Instance" + "\022\027\n\017next_page_token\030\002 \001(\t\"\"\n\022GetInstance" + "Request\022\014\n\004name\030\001 \001(\t\"t\n\025CreateInstanceR" + @@ -122,7 +122,7 @@ public static void registerAllExtensions( "quest\022/\n\013update_mask\030\001 \001(\0132\032.google.prot" + "obuf.FieldMask\0226\n\010instance\030\002 \001(\0132$.googl" + "e.cloud.redis.v1beta1.Instance\"%\n\025Delete" + - "InstanceRequest\022\014\n\004name\030\001 \001(\t\"\316\001\n\020Locati", + "InstanceRequest\022\014\n\004name\030\001 \001(\t\"\316\001\n\020Locati" + "onMetadata\022Y\n\017available_zones\030\001 \003(\0132@.go" + "ogle.cloud.redis.v1beta1.LocationMetadat" + "a.AvailableZonesEntry\032_\n\023AvailableZonesE" + @@ -132,7 +132,7 @@ public static void registerAllExtensions( "stances\0220.google.cloud.redis.v1beta1.Lis" + "tInstancesRequest\0321.google.cloud.redis.v" + "1beta1.ListInstancesResponse\":\202\323\344\223\0024\0222/v" + - "1beta1/{parent=projects/*/locations/*}/i", + "1beta1/{parent=projects/*/locations/*}/i" + "nstances\022\237\001\n\013GetInstance\022..google.cloud." + "redis.v1beta1.GetInstanceRequest\032$.googl" + "e.cloud.redis.v1beta1.Instance\":\202\323\344\223\0024\0222" + @@ -142,7 +142,7 @@ public static void registerAllExtensions( "\032\035.google.longrunning.Operation\"D\202\323\344\223\002>\"" + "2/v1beta1/{parent=projects/*/locations/*" + "}/instances:\010instance\022\261\001\n\016UpdateInstance" + - "\0221.google.cloud.redis.v1beta1.UpdateInst", + "\0221.google.cloud.redis.v1beta1.UpdateInst" + "anceRequest\032\035.google.longrunning.Operati" + "on\"M\202\323\344\223\002G2;/v1beta1/{instance.name=proj" + "ects/*/locations/*/instances/*}:\010instanc" + @@ -152,7 +152,7 @@ public static void registerAllExtensions( "/{name=projects/*/locations/*/instances/" + "*}B\177\n\036com.google.cloud.redis.v1beta1B\032Cl" + "oudRedisServiceBetaProtoP\001Z?google.golan" + - "g.org/genproto/googleapis/cloud/redis/v1", + "g.org/genproto/googleapis/cloud/redis/v1" + "beta1;redisb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CreateInstanceRequest.java b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CreateInstanceRequest.java index d745a53d2bc6..56a6b12756fb 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CreateInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CreateInstanceRequest.java @@ -34,6 +34,9 @@ private CreateInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -968,7 +971,7 @@ public CreateInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInstanceRequest(input, extensionRegistry); + return new CreateInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/DeleteInstanceRequest.java b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/DeleteInstanceRequest.java index f15a313d9770..1b5365ea21f3 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/DeleteInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/DeleteInstanceRequest.java @@ -33,6 +33,9 @@ private DeleteInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public DeleteInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInstanceRequest(input, extensionRegistry); + return new DeleteInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/GetInstanceRequest.java b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/GetInstanceRequest.java index 44f705b13ce1..db517813a34f 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/GetInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/GetInstanceRequest.java @@ -33,6 +33,9 @@ private GetInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public GetInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceRequest(input, extensionRegistry); + return new GetInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/Instance.java b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/Instance.java index 2682d0dc5366..ad98640e31ec 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/Instance.java +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/Instance.java @@ -46,6 +46,9 @@ private Instance( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3702,7 +3705,7 @@ public Instance parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); + return new Instance(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ListInstancesRequest.java b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ListInstancesRequest.java index c3b5caa8553d..0a6d555080a7 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ListInstancesRequest.java +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ListInstancesRequest.java @@ -35,6 +35,9 @@ private ListInstancesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -798,7 +801,7 @@ public ListInstancesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesRequest(input, extensionRegistry); + return new ListInstancesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ListInstancesResponse.java b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ListInstancesResponse.java index 02bc1b058c68..9b017df46889 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ListInstancesResponse.java +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ListInstancesResponse.java @@ -34,6 +34,9 @@ private ListInstancesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1159,7 +1162,7 @@ public ListInstancesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesResponse(input, extensionRegistry); + return new ListInstancesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/LocationMetadata.java b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/LocationMetadata.java index a95b6f3af113..3ca322c73c60 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/LocationMetadata.java +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/LocationMetadata.java @@ -35,6 +35,9 @@ private LocationMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -730,7 +733,7 @@ public LocationMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LocationMetadata(input, extensionRegistry); + return new LocationMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/UpdateInstanceRequest.java b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/UpdateInstanceRequest.java index 202432e34715..ab093dd55e05 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/UpdateInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/UpdateInstanceRequest.java @@ -32,6 +32,9 @@ private UpdateInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -915,7 +918,7 @@ public UpdateInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateInstanceRequest(input, extensionRegistry); + return new UpdateInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ZoneMetadata.java b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ZoneMetadata.java index e589f9fa60de..ca22ac749972 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ZoneMetadata.java +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/ZoneMetadata.java @@ -33,6 +33,9 @@ private ZoneMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -374,7 +377,7 @@ public ZoneMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ZoneMetadata(input, extensionRegistry); + return new ZoneMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java index 627d388315ad..d13bde17d11b 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java @@ -34,6 +34,9 @@ private CreateDatabaseMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -530,7 +533,7 @@ public CreateDatabaseMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDatabaseMetadata(input, extensionRegistry); + return new CreateDatabaseMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java index 2c09f083e21c..0b72a65d4223 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java @@ -35,6 +35,9 @@ private CreateDatabaseRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -984,7 +987,7 @@ public CreateDatabaseRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDatabaseRequest(input, extensionRegistry); + return new CreateDatabaseRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java index 497ef2c9d393..9446d9b37996 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java @@ -34,6 +34,9 @@ private Database( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -804,7 +807,7 @@ public Database parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Database(input, extensionRegistry); + return new Database(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java index 29796aec2ac5..b920c5b675e1 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java @@ -33,6 +33,9 @@ private DropDatabaseRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public DropDatabaseRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DropDatabaseRequest(input, extensionRegistry); + return new DropDatabaseRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java index 58adcb34a720..0701b6212d0b 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java @@ -33,6 +33,9 @@ private GetDatabaseDdlRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public GetDatabaseDdlRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDatabaseDdlRequest(input, extensionRegistry); + return new GetDatabaseDdlRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java index a9c71a736a2a..139b2e34c9e5 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java @@ -33,6 +33,9 @@ private GetDatabaseDdlResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -610,7 +613,7 @@ public GetDatabaseDdlResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDatabaseDdlResponse(input, extensionRegistry); + return new GetDatabaseDdlResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java index 34de6339ce73..f73cf7c9a528 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java @@ -33,6 +33,9 @@ private GetDatabaseRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetDatabaseRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDatabaseRequest(input, extensionRegistry); + return new GetDatabaseRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java index 775f8739f1df..362ddbda1cb8 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java @@ -35,6 +35,9 @@ private ListDatabasesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -782,7 +785,7 @@ public ListDatabasesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDatabasesRequest(input, extensionRegistry); + return new ListDatabasesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java index d2593c24e3d4..316f001e8653 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java @@ -34,6 +34,9 @@ private ListDatabasesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListDatabasesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDatabasesResponse(input, extensionRegistry); + return new ListDatabasesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java index b798be9ec9a2..5eceb522b1d0 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java @@ -87,7 +87,7 @@ public static void registerAllExtensions( "f/empty.proto\032\037google/protobuf/timestamp" + ".proto\"\222\001\n\010Database\022\014\n\004name\030\001 \001(\t\022?\n\005sta" + "te\030\002 \001(\01620.google.spanner.admin.database" + - ".v1.Database.State\"7\n\005State\022\025\n\021STATE_UNS", + ".v1.Database.State\"7\n\005State\022\025\n\021STATE_UNS" + "PECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\"M\n\024L" + "istDatabasesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tp" + "age_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"o\n\025Li" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( "abaseRequest\022\016\n\006parent\030\001 \001(\t\022\030\n\020create_s" + "tatement\030\002 \001(\t\022\030\n\020extra_statements\030\003 \003(\t" + "\"*\n\026CreateDatabaseMetadata\022\020\n\010database\030\001" + - " \001(\t\"\"\n\022GetDatabaseRequest\022\014\n\004name\030\001 \001(\t", + " \001(\t\"\"\n\022GetDatabaseRequest\022\014\n\004name\030\001 \001(\t" + "\"V\n\030UpdateDatabaseDdlRequest\022\020\n\010database" + "\030\001 \001(\t\022\022\n\nstatements\030\002 \003(\t\022\024\n\014operation_" + "id\030\003 \001(\t\"x\n\031UpdateDatabaseDdlMetadata\022\020\n" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "abase\030\001 \001(\t\")\n\025GetDatabaseDdlRequest\022\020\n\010" + "database\030\001 \001(\t\",\n\026GetDatabaseDdlResponse" + "\022\022\n\nstatements\030\001 \003(\t2\225\014\n\rDatabaseAdmin\022\267" + - "\001\n\rListDatabases\0226.google.spanner.admin.", + "\001\n\rListDatabases\0226.google.spanner.admin." + "database.v1.ListDatabasesRequest\0327.googl" + "e.spanner.admin.database.v1.ListDatabase" + "sResponse\"5\202\323\344\223\002/\022-/v1/{parent=projects/" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "g.Operation\"8\202\323\344\223\0022\"-/v1/{parent=project" + "s/*/instances/*}/databases:\001*\022\246\001\n\013GetDat" + "abase\0224.google.spanner.admin.database.v1" + - ".GetDatabaseRequest\032*.google.spanner.adm", + ".GetDatabaseRequest\032*.google.spanner.adm" + "in.database.v1.Database\"5\202\323\344\223\002/\022-/v1/{na" + "me=projects/*/instances/*/databases/*}\022\260" + "\001\n\021UpdateDatabaseDdl\022:.google.spanner.ad" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "tabases/*}/ddl:\001*\022\230\001\n\014DropDatabase\0225.goo" + "gle.spanner.admin.database.v1.DropDataba" + "seRequest\032\026.google.protobuf.Empty\"9\202\323\344\223\002" + - "3*1/v1/{database=projects/*/instances/*/", + "3*1/v1/{database=projects/*/instances/*/" + "databases/*}\022\302\001\n\016GetDatabaseDdl\0227.google" + ".spanner.admin.database.v1.GetDatabaseDd" + "lRequest\0328.google.spanner.admin.database" + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "v1.SetIamPolicyRequest\032\025.google.iam.v1.P" + "olicy\"I\202\323\344\223\002C\">/v1/{resource=projects/*/" + "instances/*/databases/*}:setIamPolicy:\001*" + - "\022\224\001\n\014GetIamPolicy\022\".google.iam.v1.GetIam", + "\022\224\001\n\014GetIamPolicy\022\".google.iam.v1.GetIam" + "PolicyRequest\032\025.google.iam.v1.Policy\"I\202\323" + "\344\223\002C\">/v1/{resource=projects/*/instances" + "/*/databases/*}:getIamPolicy:\001*\022\272\001\n\022Test" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "ce=projects/*/instances/*/databases/*}:t" + "estIamPermissions:\001*B\337\001\n$com.google.span" + "ner.admin.database.v1B\031SpannerDatabaseAd" + - "minProtoP\001ZHgoogle.golang.org/genproto/g", + "minProtoP\001ZHgoogle.golang.org/genproto/g" + "oogleapis/spanner/admin/database/v1;data" + "base\252\002&Google.Cloud.Spanner.Admin.Databa" + "se.V1\312\002&Google\\Cloud\\Spanner\\Admin\\Datab" + diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java index 93f35dffa6eb..2d977d795aa1 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java @@ -36,6 +36,9 @@ private UpdateDatabaseDdlMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1251,7 +1254,7 @@ public UpdateDatabaseDdlMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateDatabaseDdlMetadata(input, extensionRegistry); + return new UpdateDatabaseDdlMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java index eec60588ede0..ff154714399a 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java @@ -49,6 +49,9 @@ private UpdateDatabaseDdlRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1050,7 +1053,7 @@ public UpdateDatabaseDdlRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateDatabaseDdlRequest(input, extensionRegistry); + return new UpdateDatabaseDdlRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java index dcc9f6b56eed..d14901fd4402 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java @@ -33,6 +33,9 @@ private CreateInstanceMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1339,7 +1342,7 @@ public CreateInstanceMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInstanceMetadata(input, extensionRegistry); + return new CreateInstanceMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java index 1e6b5944cce9..0bf47a317cbf 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java @@ -34,6 +34,9 @@ private CreateInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -945,7 +948,7 @@ public CreateInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInstanceRequest(input, extensionRegistry); + return new CreateInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java index cf804b0d04ec..125fa92895a7 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java @@ -33,6 +33,9 @@ private DeleteInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public DeleteInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInstanceRequest(input, extensionRegistry); + return new DeleteInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java index 1935657449e1..875024a65dee 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java @@ -34,6 +34,9 @@ private GetInstanceConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -537,7 +540,7 @@ public GetInstanceConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceConfigRequest(input, extensionRegistry); + return new GetInstanceConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java index b140931e8c66..ccf6abcd355b 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java @@ -33,6 +33,9 @@ private GetInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GetInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceRequest(input, extensionRegistry); + return new GetInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java index 3446ecd114d3..ac263887fcc2 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java @@ -37,6 +37,9 @@ private Instance( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1761,7 +1764,7 @@ public Instance parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); + return new Instance(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java index b3a76cc91ff6..7179f2642355 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java @@ -35,6 +35,9 @@ private InstanceConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -699,7 +702,7 @@ public InstanceConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceConfig(input, extensionRegistry); + return new InstanceConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java index fe59e9f76b8b..a4138bc05c9b 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java @@ -35,6 +35,9 @@ private ListInstanceConfigsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -789,7 +792,7 @@ public ListInstanceConfigsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstanceConfigsRequest(input, extensionRegistry); + return new ListInstanceConfigsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java index 3114377c2dac..4e0fa70ac22c 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java @@ -34,6 +34,9 @@ private ListInstanceConfigsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListInstanceConfigsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstanceConfigsResponse(input, extensionRegistry); + return new ListInstanceConfigsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java index b53a505d60b8..5e11149fb27c 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java @@ -36,6 +36,9 @@ private ListInstancesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1042,7 +1045,7 @@ public ListInstancesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesRequest(input, extensionRegistry); + return new ListInstancesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java index ef6b1156cbea..f5bf0adca6e6 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java @@ -34,6 +34,9 @@ private ListInstancesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListInstancesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstancesResponse(input, extensionRegistry); + return new ListInstancesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java index e599b2ccc6d0..63cefbced136 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java @@ -102,7 +102,7 @@ public static void registerAllExtensions( "f/empty.proto\032 google/protobuf/field_mas" + "k.proto\032\037google/protobuf/timestamp.proto" + "\"4\n\016InstanceConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014disp" + - "lay_name\030\002 \001(\t\"\303\002\n\010Instance\022\014\n\004name\030\001 \001(", + "lay_name\030\002 \001(\t\"\303\002\n\010Instance\022\014\n\004name\030\001 \001(" + "\t\022\016\n\006config\030\002 \001(\t\022\024\n\014display_name\030\003 \001(\t\022" + "\022\n\nnode_count\030\005 \001(\005\022?\n\005state\030\006 \001(\01620.goo" + "gle.spanner.admin.instance.v1.Instance.S" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "\0028\001\"7\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010C" + "REATING\020\001\022\t\n\005READY\020\002\"S\n\032ListInstanceConf" + "igsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" + - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\033ListInstan", + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\033ListInstan" + "ceConfigsResponse\022J\n\020instance_configs\030\001 " + "\003(\01320.google.spanner.admin.instance.v1.I" + "nstanceConfig\022\027\n\017next_page_token\030\002 \001(\t\"(" + @@ -122,7 +122,7 @@ public static void registerAllExtensions( "\013instance_id\030\002 \001(\t\022<\n\010instance\030\003 \001(\0132*.g" + "oogle.spanner.admin.instance.v1.Instance" + "\"]\n\024ListInstancesRequest\022\016\n\006parent\030\001 \001(\t" + - "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022", + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022" + "\016\n\006filter\030\004 \001(\t\"o\n\025ListInstancesResponse" + "\022=\n\tinstances\030\001 \003(\0132*.google.spanner.adm" + "in.instance.v1.Instance\022\027\n\017next_page_tok" + @@ -132,7 +132,7 @@ public static void registerAllExtensions( "oogle.protobuf.FieldMask\"%\n\025DeleteInstan" + "ceRequest\022\014\n\004name\030\001 \001(\t\"\345\001\n\026CreateInstan" + "ceMetadata\022<\n\010instance\030\001 \001(\0132*.google.sp" + - "anner.admin.instance.v1.Instance\022.\n\nstar", + "anner.admin.instance.v1.Instance\022.\n\nstar" + "t_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + "\022/\n\013cancel_time\030\003 \001(\0132\032.google.protobuf." + "Timestamp\022,\n\010end_time\030\004 \001(\0132\032.google.pro" + @@ -142,7 +142,7 @@ public static void registerAllExtensions( " \001(\0132\032.google.protobuf.Timestamp\022/\n\013canc" + "el_time\030\003 \001(\0132\032.google.protobuf.Timestam" + "p\022,\n\010end_time\030\004 \001(\0132\032.google.protobuf.Ti" + - "mestamp2\346\014\n\rInstanceAdmin\022\303\001\n\023ListInstan", + "mestamp2\346\014\n\rInstanceAdmin\022\303\001\n\023ListInstan" + "ceConfigs\022<.google.spanner.admin.instanc" + "e.v1.ListInstanceConfigsRequest\032=.google" + ".spanner.admin.instance.v1.ListInstanceC" + @@ -152,7 +152,7 @@ public static void registerAllExtensions( ".GetInstanceConfigRequest\0320.google.spann" + "er.admin.instance.v1.InstanceConfig\"/\202\323\344" + "\223\002)\022\'/v1/{name=projects/*/instanceConfig" + - "s/*}\022\253\001\n\rListInstances\0226.google.spanner.", + "s/*}\022\253\001\n\rListInstances\0226.google.spanner." + "admin.instance.v1.ListInstancesRequest\0327" + ".google.spanner.admin.instance.v1.ListIn" + "stancesResponse\")\202\323\344\223\002#\022!/v1/{parent=pro" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( ".v1.Instance\")\202\323\344\223\002#\022!/v1/{name=projects" + "/*/instances/*}\022\226\001\n\016CreateInstance\0227.goo" + "gle.spanner.admin.instance.v1.CreateInst" + - "anceRequest\032\035.google.longrunning.Operati", + "anceRequest\032\035.google.longrunning.Operati" + "on\",\202\323\344\223\002&\"!/v1/{parent=projects/*}/inst" + "ances:\001*\022\237\001\n\016UpdateInstance\0227.google.spa" + "nner.admin.instance.v1.UpdateInstanceReq" + @@ -172,7 +172,7 @@ public static void registerAllExtensions( "panner.admin.instance.v1.DeleteInstanceR" + "equest\032\026.google.protobuf.Empty\")\202\323\344\223\002#*!" + "/v1/{name=projects/*/instances/*}\022\210\001\n\014Se" + - "tIamPolicy\022\".google.iam.v1.SetIamPolicyR", + "tIamPolicy\022\".google.iam.v1.SetIamPolicyR" + "equest\032\025.google.iam.v1.Policy\"=\202\323\344\223\0027\"2/" + "v1/{resource=projects/*/instances/*}:set" + "IamPolicy:\001*\022\210\001\n\014GetIamPolicy\022\".google.i" + @@ -182,7 +182,7 @@ public static void registerAllExtensions( "IamPermissions\022(.google.iam.v1.TestIamPe" + "rmissionsRequest\032).google.iam.v1.TestIam" + "PermissionsResponse\"C\202\323\344\223\002=\"8/v1/{resour" + - "ce=projects/*/instances/*}:testIamPermis", + "ce=projects/*/instances/*}:testIamPermis" + "sions:\001*B\337\001\n$com.google.spanner.admin.in" + "stance.v1B\031SpannerInstanceAdminProtoP\001ZH" + "google.golang.org/genproto/googleapis/sp" + diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java index 73f37986ac67..a60284c2baec 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java @@ -33,6 +33,9 @@ private UpdateInstanceMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1327,7 +1330,7 @@ public UpdateInstanceMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateInstanceMetadata(input, extensionRegistry); + return new UpdateInstanceMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java index 5d19c79b9b64..62e403455dfc 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java @@ -32,6 +32,9 @@ private UpdateInstanceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -879,7 +882,7 @@ public UpdateInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateInstanceRequest(input, extensionRegistry); + return new UpdateInstanceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java index 7f2f87790af7..a0442a322a59 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java @@ -33,6 +33,9 @@ private BeginTransactionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -757,7 +760,7 @@ public BeginTransactionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BeginTransactionRequest(input, extensionRegistry); + return new BeginTransactionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java index 63d08a354d1a..0f47dda43ed1 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java @@ -34,6 +34,9 @@ private CommitRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1521,7 +1524,7 @@ public CommitRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitRequest(input, extensionRegistry); + return new CommitRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java index f9515517176b..83b128f7ca37 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java @@ -32,6 +32,9 @@ private CommitResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public CommitResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitResponse(input, extensionRegistry); + return new CommitResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java index 754271d527ad..c5a3ba5e39db 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java @@ -33,6 +33,9 @@ private CreateSessionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -757,7 +760,7 @@ public CreateSessionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateSessionRequest(input, extensionRegistry); + return new CreateSessionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java index b8b962d91a69..d1b4de5f4873 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java @@ -33,6 +33,9 @@ private DeleteSessionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public DeleteSessionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSessionRequest(input, extensionRegistry); + return new DeleteSessionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java index 0e98592542e6..0e846b65835d 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java @@ -38,6 +38,9 @@ private ExecuteSqlRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2114,7 +2117,7 @@ public ExecuteSqlRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecuteSqlRequest(input, extensionRegistry); + return new ExecuteSqlRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java index db787f7feac5..3a5b561f9fef 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java @@ -33,6 +33,9 @@ private GetSessionRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -528,7 +531,7 @@ public GetSessionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetSessionRequest(input, extensionRegistry); + return new GetSessionRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java index f7e84ecf6679..75e291cab27b 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java @@ -91,6 +91,9 @@ private KeyRange( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1683,7 +1686,7 @@ public KeyRange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KeyRange(input, extensionRegistry); + return new KeyRange(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java index bb41e26e73f3..e498fbe0c9f9 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java @@ -40,6 +40,9 @@ private KeySet( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1433,7 +1436,7 @@ public KeySet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new KeySet(input, extensionRegistry); + return new KeySet(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java index ed750411ee2e..69abe598b1fd 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java @@ -42,7 +42,7 @@ public static void registerAllExtensions( " \001(\0132\032.google.protobuf.ListValueH\001\022.\n\010en" + "d_open\030\004 \001(\0132\032.google.protobuf.ListValue" + "H\001B\020\n\016start_key_typeB\016\n\014end_key_type\"l\n\006" + - "KeySet\022(\n\004keys\030\001 \003(\0132\032.google.protobuf.L", + "KeySet\022(\n\004keys\030\001 \003(\0132\032.google.protobuf.L" + "istValue\022+\n\006ranges\030\002 \003(\0132\033.google.spanne" + "r.v1.KeyRange\022\013\n\003all\030\003 \001(\010B\222\001\n\025com.googl" + "e.spanner.v1B\tKeysProtoP\001Z8google.golang" + diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java index 96abc593d82a..fcf19b63d0d4 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java @@ -36,6 +36,9 @@ private ListSessionsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -972,7 +975,7 @@ public ListSessionsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSessionsRequest(input, extensionRegistry); + return new ListSessionsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java index eb8175453ad5..6f67b619eefa 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java @@ -34,6 +34,9 @@ private ListSessionsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListSessionsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSessionsResponse(input, extensionRegistry); + return new ListSessionsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java index 1fd97977fa35..a3159e675ab3 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java @@ -34,6 +34,9 @@ private Mutation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -327,6 +330,9 @@ private Write( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1683,7 +1689,7 @@ public Write parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Write(input, extensionRegistry); + return new Write(input, extensionRegistry); } }; @@ -1785,6 +1791,9 @@ private Delete( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2533,7 +2542,7 @@ public Delete parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Delete(input, extensionRegistry); + return new Delete(input, extensionRegistry); } }; @@ -4207,7 +4216,7 @@ public Mutation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Mutation(input, extensionRegistry); + return new Mutation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java index 02bbed72b70f..f4f4520157e1 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java @@ -47,7 +47,7 @@ public static void registerAllExtensions( "er.v1.Mutation.WriteH\000\022=\n\020insert_or_upda" + "te\030\003 \001(\0132!.google.spanner.v1.Mutation.Wr" + "iteH\000\0224\n\007replace\030\004 \001(\0132!.google.spanner." + - "v1.Mutation.WriteH\000\0224\n\006delete\030\005 \001(\0132\".go", + "v1.Mutation.WriteH\000\0224\n\006delete\030\005 \001(\0132\".go" + "ogle.spanner.v1.Mutation.DeleteH\000\032S\n\005Wri" + "te\022\r\n\005table\030\001 \001(\t\022\017\n\007columns\030\002 \003(\t\022*\n\006va" + "lues\030\003 \003(\0132\032.google.protobuf.ListValue\032C" + diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java index 2aa0dba01c97..cd8675a853fc 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java @@ -37,6 +37,9 @@ private PartialResultSet( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2833,7 +2836,7 @@ public PartialResultSet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PartialResultSet(input, extensionRegistry); + return new PartialResultSet(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java index ff9c082f67c2..1c34f1f69682 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java @@ -34,6 +34,9 @@ private Partition( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -460,7 +463,7 @@ public Partition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Partition(input, extensionRegistry); + return new Partition(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java index 1760eaa2a208..ca7f07b13c22 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java @@ -35,6 +35,9 @@ private PartitionOptions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -565,7 +568,7 @@ public PartitionOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionOptions(input, extensionRegistry); + return new PartitionOptions(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java index 9796f848351b..a7410da6b4f4 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java @@ -34,6 +34,9 @@ private PartitionQueryRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1924,7 +1927,7 @@ public PartitionQueryRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionQueryRequest(input, extensionRegistry); + return new PartitionQueryRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java index b9f8db06824e..5c74e59694d6 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java @@ -36,6 +36,9 @@ private PartitionReadRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1851,7 +1854,7 @@ public PartitionReadRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionReadRequest(input, extensionRegistry); + return new PartitionReadRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java index c3f0de0e8ec1..770161874bba 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java @@ -34,6 +34,9 @@ private PartitionResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1044,7 +1047,7 @@ public PartitionResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionResponse(input, extensionRegistry); + return new PartitionResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java index b3de4d36d0f4..68955d5e8f8a 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java @@ -36,6 +36,9 @@ private PlanNode( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -394,6 +397,9 @@ private ChildLink( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1187,7 +1193,7 @@ public ChildLink parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ChildLink(input, extensionRegistry); + return new ChildLink(input, extensionRegistry); } }; @@ -1333,6 +1339,9 @@ private ShortRepresentation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2194,7 +2203,7 @@ public ShortRepresentation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ShortRepresentation(input, extensionRegistry); + return new ShortRepresentation(input, extensionRegistry); } }; @@ -4043,7 +4052,7 @@ public PlanNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PlanNode(input, extensionRegistry); + return new PlanNode(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java index 56fd9b3baee5..bf4fa2c8dcfd 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java @@ -33,6 +33,9 @@ private QueryPlan( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -856,7 +859,7 @@ public QueryPlan parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryPlan(input, extensionRegistry); + return new QueryPlan(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java index 6acef748bb78..464479925fe3 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java @@ -57,7 +57,7 @@ public static void registerAllExtensions( "gle.spanner.v1.PlanNode.ChildLink\022M\n\024sho" + "rt_representation\030\005 \001(\0132/.google.spanner" + ".v1.PlanNode.ShortRepresentation\022)\n\010meta" + - "data\030\006 \001(\0132\027.google.protobuf.Struct\0220\n\017e", + "data\030\006 \001(\0132\027.google.protobuf.Struct\0220\n\017e" + "xecution_stats\030\007 \001(\0132\027.google.protobuf.S" + "truct\032@\n\tChildLink\022\023\n\013child_index\030\001 \001(\005\022" + "\014\n\004type\030\002 \001(\t\022\020\n\010variable\030\003 \001(\t\032\262\001\n\023Shor" + @@ -67,7 +67,7 @@ public static void registerAllExtensions( "y\0321\n\017SubqueriesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + "ue\030\002 \001(\005:\0028\001\"8\n\004Kind\022\024\n\020KIND_UNSPECIFIED" + "\020\000\022\016\n\nRELATIONAL\020\001\022\n\n\006SCALAR\020\002\"<\n\tQueryP" + - "lan\022/\n\nplan_nodes\030\001 \003(\0132\033.google.spanner", + "lan\022/\n\nplan_nodes\030\001 \003(\0132\033.google.spanner" + ".v1.PlanNodeB\227\001\n\025com.google.spanner.v1B\016" + "QueryPlanProtoP\001Z8google.golang.org/genp" + "roto/googleapis/spanner/v1;spanner\252\002\027Goo" + diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java index 46b017d100b3..899c9c6c102b 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java @@ -40,6 +40,9 @@ private ReadRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1941,7 +1944,7 @@ public ReadRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadRequest(input, extensionRegistry); + return new ReadRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java index eaeaaf441080..222ea8d90c4b 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java @@ -34,6 +34,9 @@ private ResultSet( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1412,7 +1415,7 @@ public ResultSet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ResultSet(input, extensionRegistry); + return new ResultSet(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java index 88d7a5ad477d..52d004771850 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java @@ -32,6 +32,9 @@ private ResultSetMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -915,7 +918,7 @@ public ResultSetMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ResultSetMetadata(input, extensionRegistry); + return new ResultSetMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java index 7adc5fe6dd9a..03323009f4bc 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java @@ -52,7 +52,7 @@ public static void registerAllExtensions( "data\030\001 \001(\0132$.google.spanner.v1.ResultSet" + "Metadata\022(\n\004rows\030\002 \003(\0132\032.google.protobuf" + ".ListValue\0220\n\005stats\030\003 \001(\0132!.google.spann" + - "er.v1.ResultSetStats\"\321\001\n\020PartialResultSe", + "er.v1.ResultSetStats\"\321\001\n\020PartialResultSe" + "t\0226\n\010metadata\030\001 \001(\0132$.google.spanner.v1." + "ResultSetMetadata\022&\n\006values\030\002 \003(\0132\026.goog" + "le.protobuf.Value\022\025\n\rchunked_value\030\003 \001(\010" + @@ -62,7 +62,7 @@ public static void registerAllExtensions( ".spanner.v1.StructType\0223\n\013transaction\030\002 " + "\001(\0132\036.google.spanner.v1.Transaction\"p\n\016R" + "esultSetStats\0220\n\nquery_plan\030\001 \001(\0132\034.goog" + - "le.spanner.v1.QueryPlan\022,\n\013query_stats\030\002", + "le.spanner.v1.QueryPlan\022,\n\013query_stats\030\002" + " \001(\0132\027.google.protobuf.StructB\232\001\n\025com.go" + "ogle.spanner.v1B\016ResultSetProtoP\001Z8googl" + "e.golang.org/genproto/googleapis/spanner" + diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java index b84fecbacef7..2d066e685ac8 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java @@ -32,6 +32,9 @@ private ResultSetStats( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -915,7 +918,7 @@ public ResultSetStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ResultSetStats(input, extensionRegistry); + return new ResultSetStats(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java index 739f293cb6bf..bab5b4ccb1bd 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java @@ -34,6 +34,9 @@ private RollbackRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -605,7 +608,7 @@ public RollbackRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RollbackRequest(input, extensionRegistry); + return new RollbackRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java index 51d0f7c48301..2a772cdb1699 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java @@ -33,6 +33,9 @@ private Session( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1392,7 +1395,7 @@ public Session parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Session(input, extensionRegistry); + return new Session(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java index b5557d4ceda6..2f3ca6d3e93f 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java @@ -132,7 +132,7 @@ public static void registerAllExtensions( "google/spanner/v1/result_set.proto\032#goog" + "le/spanner/v1/transaction.proto\032\034google/" + "spanner/v1/type.proto\"U\n\024CreateSessionRe" + - "quest\022\020\n\010database\030\001 \001(\t\022+\n\007session\030\002 \001(\013", + "quest\022\020\n\010database\030\001 \001(\t\022+\n\007session\030\002 \001(\013" + "2\032.google.spanner.v1.Session\"\356\001\n\007Session" + "\022\014\n\004name\030\001 \001(\t\0226\n\006labels\030\002 \003(\0132&.google." + "spanner.v1.Session.LabelsEntry\022/\n\013create" + @@ -142,7 +142,7 @@ public static void registerAllExtensions( "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\021GetSess" + "ionRequest\022\014\n\004name\030\001 \001(\t\"^\n\023ListSessions" + "Request\022\020\n\010database\030\001 \001(\t\022\021\n\tpage_size\030\002" + - " \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t", + " \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t" + "\"]\n\024ListSessionsResponse\022,\n\010sessions\030\001 \003" + "(\0132\032.google.spanner.v1.Session\022\027\n\017next_p" + "age_token\030\002 \001(\t\"$\n\024DeleteSessionRequest\022" + @@ -152,7 +152,7 @@ public static void registerAllExtensions( "\030\003 \001(\t\022\'\n\006params\030\004 \001(\0132\027.google.protobuf" + ".Struct\022I\n\013param_types\030\005 \003(\01324.google.sp" + "anner.v1.ExecuteSqlRequest.ParamTypesEnt" + - "ry\022\024\n\014resume_token\030\006 \001(\014\022B\n\nquery_mode\030\007", + "ry\022\024\n\014resume_token\030\006 \001(\014\022B\n\nquery_mode\030\007" + " \001(\0162..google.spanner.v1.ExecuteSqlReque" + "st.QueryMode\022\027\n\017partition_token\030\010 \001(\014\032J\n" + "\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "bytes\030\001 \001(\003\022\026\n\016max_partitions\030\002 \001(\003\"\366\002\n\025" + "PartitionQueryRequest\022\017\n\007session\030\001 \001(\t\022;" + "\n\013transaction\030\002 \001(\0132&.google.spanner.v1." + - "TransactionSelector\022\013\n\003sql\030\003 \001(\t\022\'\n\006para", + "TransactionSelector\022\013\n\003sql\030\003 \001(\t\022\'\n\006para" + "ms\030\004 \001(\0132\027.google.protobuf.Struct\022M\n\013par" + "am_types\030\005 \003(\01328.google.spanner.v1.Parti" + "tionQueryRequest.ParamTypesEntry\022>\n\021part" + @@ -172,7 +172,7 @@ public static void registerAllExtensions( ".v1.Type:\0028\001\"\377\001\n\024PartitionReadRequest\022\017\n" + "\007session\030\001 \001(\t\022;\n\013transaction\030\002 \001(\0132&.go" + "ogle.spanner.v1.TransactionSelector\022\r\n\005t" + - "able\030\003 \001(\t\022\r\n\005index\030\004 \001(\t\022\017\n\007columns\030\005 \003", + "able\030\003 \001(\t\022\r\n\005index\030\004 \001(\t\022\017\n\007columns\030\005 \003" + "(\t\022*\n\007key_set\030\006 \001(\0132\031.google.spanner.v1." + "KeySet\022>\n\021partition_options\030\t \001(\0132#.goog" + "le.spanner.v1.PartitionOptions\"$\n\tPartit" + @@ -182,7 +182,7 @@ public static void registerAllExtensions( "2\036.google.spanner.v1.Transaction\"\364\001\n\013Rea" + "dRequest\022\017\n\007session\030\001 \001(\t\022;\n\013transaction" + "\030\002 \001(\0132&.google.spanner.v1.TransactionSe" + - "lector\022\r\n\005table\030\003 \001(\t\022\r\n\005index\030\004 \001(\t\022\017\n\007", + "lector\022\r\n\005table\030\003 \001(\t\022\r\n\005index\030\004 \001(\t\022\017\n\007" + "columns\030\005 \003(\t\022*\n\007key_set\030\006 \001(\0132\031.google." + "spanner.v1.KeySet\022\r\n\005limit\030\010 \001(\003\022\024\n\014resu" + "me_token\030\t \001(\014\022\027\n\017partition_token\030\n \001(\014\"" + @@ -192,7 +192,7 @@ public static void registerAllExtensions( "\007session\030\001 \001(\t\022\030\n\016transaction_id\030\002 \001(\014H\000" + "\022G\n\026single_use_transaction\030\003 \001(\0132%.googl" + "e.spanner.v1.TransactionOptionsH\000\022.\n\tmut" + - "ations\030\004 \003(\0132\033.google.spanner.v1.Mutatio", + "ations\030\004 \003(\0132\033.google.spanner.v1.Mutatio" + "nB\r\n\013transaction\"F\n\016CommitResponse\0224\n\020co" + "mmit_timestamp\030\001 \001(\0132\032.google.protobuf.T" + "imestamp\":\n\017RollbackRequest\022\017\n\007session\030\001" + @@ -202,7 +202,7 @@ public static void registerAllExtensions( "Session\"E\202\323\344\223\002?\":/v1/{database=projects/" + "*/instances/*/databases/*}/sessions:\001*\022\220" + "\001\n\nGetSession\022$.google.spanner.v1.GetSes" + - "sionRequest\032\032.google.spanner.v1.Session\"", + "sionRequest\032\032.google.spanner.v1.Session\"" + "@\202\323\344\223\002:\0228/v1/{name=projects/*/instances/" + "*/databases/*/sessions/*}\022\243\001\n\014ListSessio" + "ns\022&.google.spanner.v1.ListSessionsReque" + @@ -212,7 +212,7 @@ public static void registerAllExtensions( "teSession\022\'.google.spanner.v1.DeleteSess" + "ionRequest\032\026.google.protobuf.Empty\"@\202\323\344\223" + "\002:*8/v1/{name=projects/*/instances/*/dat" + - "abases/*/sessions/*}\022\243\001\n\nExecuteSql\022$.go", + "abases/*/sessions/*}\022\243\001\n\nExecuteSql\022$.go" + "ogle.spanner.v1.ExecuteSqlRequest\032\034.goog" + "le.spanner.v1.ResultSet\"Q\202\323\344\223\002K\"F/v1/{se" + "ssion=projects/*/instances/*/databases/*" + @@ -222,7 +222,7 @@ public static void registerAllExtensions( "ltSet\"Z\202\323\344\223\002T\"O/v1/{session=projects/*/i" + "nstances/*/databases/*/sessions/*}:execu" + "teStreamingSql:\001*0\001\022\221\001\n\004Read\022\036.google.sp" + - "anner.v1.ReadRequest\032\034.google.spanner.v1", + "anner.v1.ReadRequest\032\034.google.spanner.v1" + ".ResultSet\"K\202\323\344\223\002E\"@/v1/{session=project" + "s/*/instances/*/databases/*/sessions/*}:" + "read:\001*\022\254\001\n\rStreamingRead\022\036.google.spann" + @@ -232,7 +232,7 @@ public static void registerAllExtensions( "/*}:streamingRead:\001*0\001\022\267\001\n\020BeginTransact" + "ion\022*.google.spanner.v1.BeginTransaction" + "Request\032\036.google.spanner.v1.Transaction\"" + - "W\202\323\344\223\002Q\"L/v1/{session=projects/*/instanc", + "W\202\323\344\223\002Q\"L/v1/{session=projects/*/instanc" + "es/*/databases/*/sessions/*}:beginTransa" + "ction:\001*\022\234\001\n\006Commit\022 .google.spanner.v1." + "CommitRequest\032!.google.spanner.v1.Commit" + @@ -242,7 +242,7 @@ public static void registerAllExtensions( ".RollbackRequest\032\026.google.protobuf.Empty" + "\"O\202\323\344\223\002I\"D/v1/{session=projects/*/instan" + "ces/*/databases/*/sessions/*}:rollback:\001" + - "*\022\267\001\n\016PartitionQuery\022(.google.spanner.v1", + "*\022\267\001\n\016PartitionQuery\022(.google.spanner.v1" + ".PartitionQueryRequest\032$.google.spanner." + "v1.PartitionResponse\"U\202\323\344\223\002O\"J/v1/{sessi" + "on=projects/*/instances/*/databases/*/se" + @@ -252,7 +252,7 @@ public static void registerAllExtensions( "onse\"T\202\323\344\223\002N\"I/v1/{session=projects/*/in" + "stances/*/databases/*/sessions/*}:partit" + "ionRead:\001*B\225\001\n\025com.google.spanner.v1B\014Sp" + - "annerProtoP\001Z8google.golang.org/genproto", + "annerProtoP\001Z8google.golang.org/genproto" + "/googleapis/spanner/v1;spanner\252\002\027Google." + "Cloud.Spanner.V1\312\002\027Google\\Cloud\\Spanner\\" + "V1b\006proto3" diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructType.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructType.java index 5015086195c6..40ec57dca635 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructType.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructType.java @@ -33,6 +33,9 @@ private StructType( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -176,6 +179,9 @@ private Field( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -942,7 +948,7 @@ public Field parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Field(input, extensionRegistry); + return new Field(input, extensionRegistry); } }; @@ -1799,7 +1805,7 @@ public StructType parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StructType(input, extensionRegistry); + return new StructType(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java index 11117a914895..29ec6c63bd52 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java @@ -33,6 +33,9 @@ private Transaction( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -751,7 +754,7 @@ public Transaction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Transaction(input, extensionRegistry); + return new Transaction(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java index 154f28eb87aa..64a79ee4c36e 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java @@ -199,6 +199,9 @@ private TransactionOptions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -303,6 +306,9 @@ private ReadWrite( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -644,7 +650,7 @@ public ReadWrite parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadWrite(input, extensionRegistry); + return new ReadWrite(input, extensionRegistry); } }; @@ -918,6 +924,9 @@ private ReadOnly( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2902,7 +2911,7 @@ public ReadOnly parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadOnly(input, extensionRegistry); + return new ReadOnly(input, extensionRegistry); } }; @@ -4003,7 +4012,7 @@ public TransactionOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TransactionOptions(input, extensionRegistry); + return new TransactionOptions(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java index 564f783cae68..7b6500bb2cbb 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java @@ -57,7 +57,7 @@ public static void registerAllExtensions( "iteH\000\022C\n\tread_only\030\002 \001(\0132..google.spanne" + "r.v1.TransactionOptions.ReadOnlyH\000\032\013\n\tRe" + "adWrite\032\250\002\n\010ReadOnly\022\020\n\006strong\030\001 \001(\010H\000\0228" + - "\n\022min_read_timestamp\030\002 \001(\0132\032.google.prot", + "\n\022min_read_timestamp\030\002 \001(\0132\032.google.prot" + "obuf.TimestampH\000\0222\n\rmax_staleness\030\003 \001(\0132" + "\031.google.protobuf.DurationH\000\0224\n\016read_tim" + "estamp\030\004 \001(\0132\032.google.protobuf.Timestamp" + @@ -67,7 +67,7 @@ public static void registerAllExtensions( "ansaction\022\n\n\002id\030\001 \001(\014\0222\n\016read_timestamp\030" + "\002 \001(\0132\032.google.protobuf.Timestamp\"\244\001\n\023Tr" + "ansactionSelector\022;\n\nsingle_use\030\001 \001(\0132%." + - "google.spanner.v1.TransactionOptionsH\000\022\014", + "google.spanner.v1.TransactionOptionsH\000\022\014" + "\n\002id\030\002 \001(\014H\000\0226\n\005begin\030\003 \001(\0132%.google.spa" + "nner.v1.TransactionOptionsH\000B\n\n\010selector" + "B\231\001\n\025com.google.spanner.v1B\020TransactionP" + diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java index def26a6861b5..64552135db7f 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java @@ -35,6 +35,9 @@ private TransactionSelector( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1090,7 +1093,7 @@ public TransactionSelector parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TransactionSelector(input, extensionRegistry); + return new TransactionSelector(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java index 809503aa0a61..e23aa5a06598 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java @@ -34,6 +34,9 @@ private Type( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -968,7 +971,7 @@ public Type parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Type(input, extensionRegistry); + return new Type(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java index 111633f69b26..8125a0200c6b 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java +++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java @@ -47,7 +47,7 @@ public static void registerAllExtensions( "StructType\0223\n\006fields\030\001 \003(\0132#.google.span" + "ner.v1.StructType.Field\032<\n\005Field\022\014\n\004name" + "\030\001 \001(\t\022%\n\004type\030\002 \001(\0132\027.google.spanner.v1" + - ".Type*\216\001\n\010TypeCode\022\031\n\025TYPE_CODE_UNSPECIF", + ".Type*\216\001\n\010TypeCode\022\031\n\025TYPE_CODE_UNSPECIF" + "IED\020\000\022\010\n\004BOOL\020\001\022\t\n\005INT64\020\002\022\013\n\007FLOAT64\020\003\022" + "\r\n\tTIMESTAMP\020\004\022\010\n\004DATE\020\005\022\n\n\006STRING\020\006\022\t\n\005" + "BYTES\020\007\022\t\n\005ARRAY\020\010\022\n\n\006STRUCT\020\tB\222\001\n\025com.g" + diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadata.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadata.java index 5b3dc9c8c8e8..49d25a9e79b3 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadata.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadata.java @@ -35,6 +35,9 @@ private LongRunningRecognizeMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -913,7 +916,7 @@ public LongRunningRecognizeMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LongRunningRecognizeMetadata(input, extensionRegistry); + return new LongRunningRecognizeMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequest.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequest.java index 98ddf30fc438..e21e11a66000 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequest.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequest.java @@ -33,6 +33,9 @@ private LongRunningRecognizeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -845,7 +848,7 @@ public LongRunningRecognizeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LongRunningRecognizeRequest(input, extensionRegistry); + return new LongRunningRecognizeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeResponse.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeResponse.java index d7544914bebc..add5c116a0ec 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeResponse.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeResponse.java @@ -37,6 +37,9 @@ private LongRunningRecognizeResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -841,7 +844,7 @@ public LongRunningRecognizeResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LongRunningRecognizeResponse(input, extensionRegistry); + return new LongRunningRecognizeResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudio.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudio.java index ea2a48111f79..58c8bc33572b 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudio.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudio.java @@ -35,6 +35,9 @@ private RecognitionAudio( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -763,7 +766,7 @@ public RecognitionAudio parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RecognitionAudio(input, extensionRegistry); + return new RecognitionAudio(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java index dacb2b984a6e..60835cbfdd72 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java @@ -40,6 +40,9 @@ private RecognitionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1733,7 +1736,7 @@ public RecognitionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RecognitionConfig(input, extensionRegistry); + return new RecognitionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequest.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequest.java index 2769b538033d..1e0c205f7144 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequest.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequest.java @@ -32,6 +32,9 @@ private RecognizeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -843,7 +846,7 @@ public RecognizeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RecognizeRequest(input, extensionRegistry); + return new RecognizeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeResponse.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeResponse.java index e212bba5c1ab..7923e92835b7 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeResponse.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeResponse.java @@ -35,6 +35,9 @@ private RecognizeResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -837,7 +840,7 @@ public RecognizeResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RecognizeResponse(input, extensionRegistry); + return new RecognizeResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContext.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContext.java index fb7dbc0a6fd5..b721ecaaee68 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContext.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContext.java @@ -34,6 +34,9 @@ private SpeechContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -664,7 +667,7 @@ public SpeechContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechContext(input, extensionRegistry); + return new SpeechContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java index 13e4b7a22f5f..ddf58b5f1623 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java @@ -107,7 +107,7 @@ public static void registerAllExtensions( "tatus.proto\"\206\001\n\020RecognizeRequest\0229\n\006conf" + "ig\030\001 \001(\0132).google.cloud.speech.v1.Recogn" + "itionConfig\0227\n\005audio\030\002 \001(\0132(.google.clou" + - "d.speech.v1.RecognitionAudio\"\221\001\n\033LongRun", + "d.speech.v1.RecognitionAudio\"\221\001\n\033LongRun" + "ningRecognizeRequest\0229\n\006config\030\001 \001(\0132).g" + "oogle.cloud.speech.v1.RecognitionConfig\022" + "7\n\005audio\030\002 \001(\0132(.google.cloud.speech.v1." + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "nfigH\000\022\027\n\raudio_content\030\002 \001(\014H\000B\023\n\021strea" + "ming_request\"\212\001\n\032StreamingRecognitionCon" + "fig\0229\n\006config\030\001 \001(\0132).google.cloud.speec" + - "h.v1.RecognitionConfig\022\030\n\020single_utteran", + "h.v1.RecognitionConfig\022\030\n\020single_utteran" + "ce\030\002 \001(\010\022\027\n\017interim_results\030\003 \001(\010\"\264\003\n\021Re" + "cognitionConfig\022I\n\010encoding\030\001 \001(\01627.goog" + "le.cloud.speech.v1.RecognitionConfig.Aud" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "ch_contexts\030\006 \003(\0132%.google.cloud.speech." + "v1.SpeechContext\022 \n\030enable_word_time_off" + "sets\030\010 \001(\010\"\213\001\n\rAudioEncoding\022\030\n\024ENCODING" + - "_UNSPECIFIED\020\000\022\014\n\010LINEAR16\020\001\022\010\n\004FLAC\020\002\022\t", + "_UNSPECIFIED\020\000\022\014\n\010LINEAR16\020\001\022\010\n\004FLAC\020\002\022\t" + "\n\005MULAW\020\003\022\007\n\003AMR\020\004\022\n\n\006AMR_WB\020\005\022\014\n\010OGG_OP" + "US\020\006\022\032\n\026SPEEX_WITH_HEADER_BYTE\020\007\" \n\rSpee" + "chContext\022\017\n\007phrases\030\001 \003(\t\"D\n\020Recognitio" + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "SpeechRecognitionResult\"`\n\034LongRunningRe" + "cognizeResponse\022@\n\007results\030\002 \003(\0132/.googl" + "e.cloud.speech.v1.SpeechRecognitionResul" + - "t\"\236\001\n\034LongRunningRecognizeMetadata\022\030\n\020pr", + "t\"\236\001\n\034LongRunningRecognizeMetadata\022\030\n\020pr" + "ogress_percent\030\001 \001(\005\022.\n\nstart_time\030\002 \001(\013" + "2\032.google.protobuf.Timestamp\0224\n\020last_upd" + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "RecognitionResult\022]\n\021speech_event_type\030\004" + " \001(\0162B.google.cloud.speech.v1.StreamingR" + "ecognizeResponse.SpeechEventType\"L\n\017Spee" + - "chEventType\022\034\n\030SPEECH_EVENT_UNSPECIFIED\020", + "chEventType\022\034\n\030SPEECH_EVENT_UNSPECIFIED\020" + "\000\022\033\n\027END_OF_SINGLE_UTTERANCE\020\001\"\215\001\n\032Strea" + "mingRecognitionResult\022J\n\014alternatives\030\001 " + "\003(\01324.google.cloud.speech.v1.SpeechRecog" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "peech.v1.SpeechRecognitionAlternative\"w\n" + "\034SpeechRecognitionAlternative\022\022\n\ntranscr" + "ipt\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\022/\n\005words\030\003" + - " \003(\0132 .google.cloud.speech.v1.WordInfo\"t", + " \003(\0132 .google.cloud.speech.v1.WordInfo\"t" + "\n\010WordInfo\022-\n\nstart_time\030\001 \001(\0132\031.google." + "protobuf.Duration\022+\n\010end_time\030\002 \001(\0132\031.go" + "ogle.protobuf.Duration\022\014\n\004word\030\003 \001(\t2\246\003\n" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "speech:recognize:\001*\022\226\001\n\024LongRunningRecog" + "nize\0223.google.cloud.speech.v1.LongRunnin" + "gRecognizeRequest\032\035.google.longrunning.O" + - "peration\"*\202\323\344\223\002$\"\037/v1/speech:longrunning", + "peration\"*\202\323\344\223\002$\"\037/v1/speech:longrunning" + "recognize:\001*\022\177\n\022StreamingRecognize\0221.goo" + "gle.cloud.speech.v1.StreamingRecognizeRe" + "quest\0322.google.cloud.speech.v1.Streaming" + diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternative.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternative.java index a1dc43829af1..d408d8e8740a 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternative.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternative.java @@ -35,6 +35,9 @@ private SpeechRecognitionAlternative( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1065,7 +1068,7 @@ public SpeechRecognitionAlternative parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechRecognitionAlternative(input, extensionRegistry); + return new SpeechRecognitionAlternative(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java index cdedb296a6de..fe0a6af73991 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java @@ -33,6 +33,9 @@ private SpeechRecognitionResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -879,7 +882,7 @@ public SpeechRecognitionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechRecognitionResult(input, extensionRegistry); + return new SpeechRecognitionResult(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfig.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfig.java index a792ec57ead3..645355f73588 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfig.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfig.java @@ -35,6 +35,9 @@ private StreamingRecognitionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public StreamingRecognitionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingRecognitionConfig(input, extensionRegistry); + return new StreamingRecognitionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java index 5c0cf9de7607..d44ea24e2b2b 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java @@ -36,6 +36,9 @@ private StreamingRecognitionResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1022,7 +1025,7 @@ public StreamingRecognitionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingRecognitionResult(input, extensionRegistry); + return new StreamingRecognitionResult(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequest.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequest.java index 582fcdacd2ec..9a5bea10a1a1 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequest.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequest.java @@ -36,6 +36,9 @@ private StreamingRecognizeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -844,7 +847,7 @@ public StreamingRecognizeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingRecognizeRequest(input, extensionRegistry); + return new StreamingRecognizeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java index f0f420ebf5df..e8ce16dbbf45 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java @@ -69,6 +69,9 @@ private StreamingRecognizeResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1434,7 +1437,7 @@ public StreamingRecognizeResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingRecognizeResponse(input, extensionRegistry); + return new StreamingRecognizeResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfo.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfo.java index 3f34f42a3326..1b8e05d7e2d4 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfo.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfo.java @@ -35,6 +35,9 @@ private WordInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1110,7 +1113,7 @@ public WordInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WordInfo(input, extensionRegistry); + return new WordInfo(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeMetadata.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeMetadata.java index 1e3adadd4de6..b8c3b368fedf 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeMetadata.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeMetadata.java @@ -35,6 +35,9 @@ private AsyncRecognizeMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -913,7 +916,7 @@ public AsyncRecognizeMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncRecognizeMetadata(input, extensionRegistry); + return new AsyncRecognizeMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeRequest.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeRequest.java index 3cc25fcd8dfa..7f0456fabd59 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeRequest.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeRequest.java @@ -32,6 +32,9 @@ private AsyncRecognizeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -843,7 +846,7 @@ public AsyncRecognizeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncRecognizeRequest(input, extensionRegistry); + return new AsyncRecognizeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeResponse.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeResponse.java index 378dfcbc831a..ac2582a2a95f 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeResponse.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeResponse.java @@ -36,6 +36,9 @@ private AsyncRecognizeResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -839,7 +842,7 @@ public AsyncRecognizeResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncRecognizeResponse(input, extensionRegistry); + return new AsyncRecognizeResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionAudio.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionAudio.java index f216a43c6262..aa2954f4c4b7 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionAudio.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionAudio.java @@ -35,6 +35,9 @@ private RecognitionAudio( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -763,7 +766,7 @@ public RecognitionAudio parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RecognitionAudio(input, extensionRegistry); + return new RecognitionAudio(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionConfig.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionConfig.java index c8336151ed8a..e5b0dd38326e 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionConfig.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionConfig.java @@ -38,6 +38,9 @@ private RecognitionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1376,7 +1379,7 @@ public RecognitionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RecognitionConfig(input, extensionRegistry); + return new RecognitionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechContext.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechContext.java index 5955ed928478..a63245d1a335 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechContext.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechContext.java @@ -34,6 +34,9 @@ private SpeechContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -664,7 +667,7 @@ public SpeechContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechContext(input, extensionRegistry); + return new SpeechContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechProto.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechProto.java index 7933ef48844d..1972cf84c176 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechProto.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechProto.java @@ -102,7 +102,7 @@ public static void registerAllExtensions( "yncRecognizeRequest\022>\n\006config\030\001 \001(\0132..go" + "ogle.cloud.speech.v1beta1.RecognitionCon" + "fig\022<\n\005audio\030\002 \001(\0132-.google.cloud.speech" + - ".v1beta1.RecognitionAudio\"\225\001\n\025AsyncRecog", + ".v1beta1.RecognitionAudio\"\225\001\n\025AsyncRecog" + "nizeRequest\022>\n\006config\030\001 \001(\0132..google.clo" + "ud.speech.v1beta1.RecognitionConfig\022<\n\005a" + "udio\030\002 \001(\0132-.google.cloud.speech.v1beta1" + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "tionConfigH\000\022\027\n\raudio_content\030\002 \001(\014H\000B\023\n" + "\021streaming_request\"\217\001\n\032StreamingRecognit" + "ionConfig\022>\n\006config\030\001 \001(\0132..google.cloud" + - ".speech.v1beta1.RecognitionConfig\022\030\n\020sin", + ".speech.v1beta1.RecognitionConfig\022\030\n\020sin" + "gle_utterance\030\002 \001(\010\022\027\n\017interim_results\030\003" + " \001(\010\"\352\002\n\021RecognitionConfig\022N\n\010encoding\030\001" + " \001(\0162<.google.cloud.speech.v1beta1.Recog" + @@ -122,7 +122,7 @@ public static void registerAllExtensions( "(\010\022B\n\016speech_context\030\006 \001(\0132*.google.clou" + "d.speech.v1beta1.SpeechContext\"a\n\rAudioE" + "ncoding\022\030\n\024ENCODING_UNSPECIFIED\020\000\022\014\n\010LIN" + - "EAR16\020\001\022\010\n\004FLAC\020\002\022\t\n\005MULAW\020\003\022\007\n\003AMR\020\004\022\n\n", + "EAR16\020\001\022\010\n\004FLAC\020\002\022\t\n\005MULAW\020\003\022\007\n\003AMR\020\004\022\n\n" + "\006AMR_WB\020\005\" \n\rSpeechContext\022\017\n\007phrases\030\001 " + "\003(\t\"D\n\020RecognitionAudio\022\021\n\007content\030\001 \001(\014" + "H\000\022\r\n\003uri\030\002 \001(\tH\000B\016\n\014audio_source\"^\n\025Syn" + @@ -132,7 +132,7 @@ public static void registerAllExtensions( "esults\030\002 \003(\01324.google.cloud.speech.v1bet" + "a1.SpeechRecognitionResult\"\230\001\n\026AsyncReco" + "gnizeMetadata\022\030\n\020progress_percent\030\001 \001(\005\022" + - ".\n\nstart_time\030\002 \001(\0132\032.google.protobuf.Ti", + ".\n\nstart_time\030\002 \001(\0132\032.google.protobuf.Ti" + "mestamp\0224\n\020last_update_time\030\003 \001(\0132\032.goog" + "le.protobuf.Timestamp\"\205\003\n\032StreamingRecog" + "nizeResponse\022!\n\005error\030\001 \001(\0132\022.google.rpc" + @@ -142,7 +142,7 @@ public static void registerAllExtensions( "pe\030\004 \001(\0162F.google.cloud.speech.v1beta1.S" + "treamingRecognizeResponse.EndpointerType" + "\"\202\001\n\016EndpointerType\022 \n\034ENDPOINTER_EVENT_" + - "UNSPECIFIED\020\000\022\023\n\017START_OF_SPEECH\020\001\022\021\n\rEN", + "UNSPECIFIED\020\000\022\023\n\017START_OF_SPEECH\020\001\022\021\n\rEN" + "D_OF_SPEECH\020\002\022\020\n\014END_OF_AUDIO\020\003\022\024\n\020END_O" + "F_UTTERANCE\020\004\"\222\001\n\032StreamingRecognitionRe" + "sult\022O\n\014alternatives\030\001 \003(\01329.google.clou" + @@ -152,7 +152,7 @@ public static void registerAllExtensions( "tives\030\001 \003(\01329.google.cloud.speech.v1beta" + "1.SpeechRecognitionAlternative\"F\n\034Speech" + "RecognitionAlternative\022\022\n\ntranscript\030\001 \001" + - "(\t\022\022\n\nconfidence\030\002 \001(\0022\310\003\n\006Speech\022\240\001\n\rSy", + "(\t\022\022\n\nconfidence\030\002 \001(\0022\310\003\n\006Speech\022\240\001\n\rSy" + "ncRecognize\0221.google.cloud.speech.v1beta" + "1.SyncRecognizeRequest\0322.google.cloud.sp" + "eech.v1beta1.SyncRecognizeResponse\"(\202\323\344\223" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "grunning.Operation\")\202\323\344\223\002#\"\036/v1beta1/spe" + "ech:asyncrecognize:\001*\022\211\001\n\022StreamingRecog" + "nize\0226.google.cloud.speech.v1beta1.Strea" + - "mingRecognizeRequest\0327.google.cloud.spee", + "mingRecognizeRequest\0327.google.cloud.spee" + "ch.v1beta1.StreamingRecognizeResponse(\0010" + "\001Bs\n\037com.google.cloud.speech.v1beta1B\013Sp" + "eechProtoP\001ZAgoogle.golang.org/genproto/" + diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionAlternative.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionAlternative.java index bc9a532cb874..96354b26b489 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionAlternative.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionAlternative.java @@ -34,6 +34,9 @@ private SpeechRecognitionAlternative( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -629,7 +632,7 @@ public SpeechRecognitionAlternative parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechRecognitionAlternative(input, extensionRegistry); + return new SpeechRecognitionAlternative(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionResult.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionResult.java index 846a0c368da6..e7cba2f86edf 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionResult.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionResult.java @@ -33,6 +33,9 @@ private SpeechRecognitionResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -833,7 +836,7 @@ public SpeechRecognitionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechRecognitionResult(input, extensionRegistry); + return new SpeechRecognitionResult(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionConfig.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionConfig.java index 3487846814d2..9f130b024f4c 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionConfig.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionConfig.java @@ -35,6 +35,9 @@ private StreamingRecognitionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public StreamingRecognitionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingRecognitionConfig(input, extensionRegistry); + return new StreamingRecognitionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionResult.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionResult.java index 529ab8b07b67..4b0590949270 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionResult.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionResult.java @@ -36,6 +36,9 @@ private StreamingRecognitionResult( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1022,7 +1025,7 @@ public StreamingRecognitionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingRecognitionResult(input, extensionRegistry); + return new StreamingRecognitionResult(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeRequest.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeRequest.java index 9c800ee4fdd9..747c8fe15500 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeRequest.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeRequest.java @@ -36,6 +36,9 @@ private StreamingRecognizeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -844,7 +847,7 @@ public StreamingRecognizeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingRecognizeRequest(input, extensionRegistry); + return new StreamingRecognizeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeResponse.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeResponse.java index 8818a3573429..dd7b7534a1c3 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeResponse.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeResponse.java @@ -78,6 +78,9 @@ private StreamingRecognizeResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1597,7 +1600,7 @@ public StreamingRecognizeResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingRecognizeResponse(input, extensionRegistry); + return new StreamingRecognizeResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeRequest.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeRequest.java index f9b928b58e73..60551b654a99 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeRequest.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeRequest.java @@ -32,6 +32,9 @@ private SyncRecognizeRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -843,7 +846,7 @@ public SyncRecognizeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SyncRecognizeRequest(input, extensionRegistry); + return new SyncRecognizeRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeResponse.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeResponse.java index 0b5c7dfd3f93..d5311d3d7117 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeResponse.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeResponse.java @@ -35,6 +35,9 @@ private SyncRecognizeResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -837,7 +840,7 @@ public SyncRecognizeResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SyncRecognizeResponse(input, extensionRegistry); + return new SyncRecognizeResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java index 8b05773c3847..d5bfccd76c9d 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java @@ -23,18 +23,12 @@ private RecognitionConfig(com.google.protobuf.GeneratedMessageV3.Builder buil private RecognitionConfig() { encoding_ = 0; sampleRateHertz_ = 0; - audioChannelCount_ = 0; - enableSeparateRecognitionPerChannel_ = false; languageCode_ = ""; - alternativeLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; maxAlternatives_ = 0; profanityFilter_ = false; speechContexts_ = java.util.Collections.emptyList(); enableWordTimeOffsets_ = false; - enableWordConfidence_ = false; enableAutomaticPunctuation_ = false; - enableSpeakerDiarization_ = false; - diarizationSpeakerCount_ = 0; model_ = ""; useEnhanced_ = false; } @@ -98,19 +92,14 @@ private RecognitionConfig( break; } case 50: { - if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { + if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { speechContexts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000100; + mutable_bitField0_ |= 0x00000020; } speechContexts_.add( input.readMessage(com.google.cloud.speech.v1p1beta1.SpeechContext.parser(), extensionRegistry)); break; } - case 56: { - - audioChannelCount_ = input.readInt32(); - break; - } case 64: { enableWordTimeOffsets_ = input.readBool(); @@ -134,11 +123,6 @@ private RecognitionConfig( enableAutomaticPunctuation_ = input.readBool(); break; } - case 96: { - - enableSeparateRecognitionPerChannel_ = input.readBool(); - break; - } case 106: { java.lang.String s = input.readStringRequireUtf8(); @@ -150,30 +134,6 @@ private RecognitionConfig( useEnhanced_ = input.readBool(); break; } - case 120: { - - enableWordConfidence_ = input.readBool(); - break; - } - case 128: { - - enableSpeakerDiarization_ = input.readBool(); - break; - } - case 136: { - - diarizationSpeakerCount_ = input.readInt32(); - break; - } - case 146: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { - alternativeLanguageCodes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; - } - alternativeLanguageCodes_.add(s); - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -182,11 +142,8 @@ private RecognitionConfig( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { - speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); - } if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { - alternativeLanguageCodes_ = alternativeLanguageCodes_.getUnmodifiableView(); + speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -526,45 +483,6 @@ public int getSampleRateHertz() { return sampleRateHertz_; } - public static final int AUDIO_CHANNEL_COUNT_FIELD_NUMBER = 7; - private int audioChannelCount_; - /** - *
-   * *Optional* The number of channels in the input audio data.
-   * ONLY set this for MULTI-CHANNEL recognition.
-   * Valid values for LINEAR16 and FLAC are `1`-`8`.
-   * Valid values for OGG_OPUS are '1'-'254'.
-   * Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`.
-   * If `0` or omitted, defaults to one channel (mono).
-   * NOTE: We only recognize the first channel by default.
-   * To perform independent recognition on each channel set
-   * enable_separate_recognition_per_channel to 'true'.
-   * 
- * - * int32 audio_channel_count = 7; - */ - public int getAudioChannelCount() { - return audioChannelCount_; - } - - public static final int ENABLE_SEPARATE_RECOGNITION_PER_CHANNEL_FIELD_NUMBER = 12; - private boolean enableSeparateRecognitionPerChannel_; - /** - *
-   * This needs to be set to ‘true’ explicitly and audio_channel_count > 1
-   * to get each channel recognized separately. The recognition result will
-   * contain a channel_tag field to state which channel that result belongs to.
-   * If this is not ‘true’, we will only recognize the first channel.
-   * NOTE: The request is also billed cumulatively for all channels recognized:
-   *     (audio_channel_count times the audio length)
-   * 
- * - * bool enable_separate_recognition_per_channel = 12; - */ - public boolean getEnableSeparateRecognitionPerChannel() { - return enableSeparateRecognitionPerChannel_; - } - public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** @@ -615,95 +533,6 @@ public java.lang.String getLanguageCode() { } } - public static final int ALTERNATIVE_LANGUAGE_CODES_FIELD_NUMBER = 18; - private com.google.protobuf.LazyStringList alternativeLanguageCodes_; - /** - *
-   * *Optional* A list of up to 3 additional
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-   * listing possible alternative languages of the supplied audio.
-   * See [Language Support](https://cloud.google.com/speech/docs/languages)
-   * for a list of the currently supported language codes.
-   * If alternative languages are listed, recognition result will contain
-   * recognition in the most likely language detected including the main
-   * language_code. The recognition result will include the language tag
-   * of the language detected in the audio.
-   * NOTE: This feature is only supported for Voice Command and Voice Search
-   * use cases and performance may vary for other use cases (e.g., phone call
-   * transcription).
-   * 
- * - * repeated string alternative_language_codes = 18; - */ - public com.google.protobuf.ProtocolStringList - getAlternativeLanguageCodesList() { - return alternativeLanguageCodes_; - } - /** - *
-   * *Optional* A list of up to 3 additional
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-   * listing possible alternative languages of the supplied audio.
-   * See [Language Support](https://cloud.google.com/speech/docs/languages)
-   * for a list of the currently supported language codes.
-   * If alternative languages are listed, recognition result will contain
-   * recognition in the most likely language detected including the main
-   * language_code. The recognition result will include the language tag
-   * of the language detected in the audio.
-   * NOTE: This feature is only supported for Voice Command and Voice Search
-   * use cases and performance may vary for other use cases (e.g., phone call
-   * transcription).
-   * 
- * - * repeated string alternative_language_codes = 18; - */ - public int getAlternativeLanguageCodesCount() { - return alternativeLanguageCodes_.size(); - } - /** - *
-   * *Optional* A list of up to 3 additional
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-   * listing possible alternative languages of the supplied audio.
-   * See [Language Support](https://cloud.google.com/speech/docs/languages)
-   * for a list of the currently supported language codes.
-   * If alternative languages are listed, recognition result will contain
-   * recognition in the most likely language detected including the main
-   * language_code. The recognition result will include the language tag
-   * of the language detected in the audio.
-   * NOTE: This feature is only supported for Voice Command and Voice Search
-   * use cases and performance may vary for other use cases (e.g., phone call
-   * transcription).
-   * 
- * - * repeated string alternative_language_codes = 18; - */ - public java.lang.String getAlternativeLanguageCodes(int index) { - return alternativeLanguageCodes_.get(index); - } - /** - *
-   * *Optional* A list of up to 3 additional
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-   * listing possible alternative languages of the supplied audio.
-   * See [Language Support](https://cloud.google.com/speech/docs/languages)
-   * for a list of the currently supported language codes.
-   * If alternative languages are listed, recognition result will contain
-   * recognition in the most likely language detected including the main
-   * language_code. The recognition result will include the language tag
-   * of the language detected in the audio.
-   * NOTE: This feature is only supported for Voice Command and Voice Search
-   * use cases and performance may vary for other use cases (e.g., phone call
-   * transcription).
-   * 
- * - * repeated string alternative_language_codes = 18; - */ - public com.google.protobuf.ByteString - getAlternativeLanguageCodesBytes(int index) { - return alternativeLanguageCodes_.getByteString(index); - } - public static final int MAX_ALTERNATIVES_FIELD_NUMBER = 4; private int maxAlternatives_; /** @@ -809,21 +638,6 @@ public boolean getEnableWordTimeOffsets() { return enableWordTimeOffsets_; } - public static final int ENABLE_WORD_CONFIDENCE_FIELD_NUMBER = 15; - private boolean enableWordConfidence_; - /** - *
-   * *Optional* If `true`, the top result includes a list of words and the
-   * confidence for those words. If `false`, no word-level confidence
-   * information is returned. The default is `false`.
-   * 
- * - * bool enable_word_confidence = 15; - */ - public boolean getEnableWordConfidence() { - return enableWordConfidence_; - } - public static final int ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER = 11; private boolean enableAutomaticPunctuation_; /** @@ -843,41 +657,6 @@ public boolean getEnableAutomaticPunctuation() { return enableAutomaticPunctuation_; } - public static final int ENABLE_SPEAKER_DIARIZATION_FIELD_NUMBER = 16; - private boolean enableSpeakerDiarization_; - /** - *
-   * *Optional* If 'true', enables speaker detection for each recognized word in
-   * the top alternative of the recognition result using a speaker_tag provided
-   * in the WordInfo.
-   * Note: When this is true, we send all the words from the beginning of the
-   * audio for the top alternative in every consecutive responses.
-   * This is done in order to improve our speaker tags as our models learn to
-   * identify the speakers in the conversation over time.
-   * 
- * - * bool enable_speaker_diarization = 16; - */ - public boolean getEnableSpeakerDiarization() { - return enableSpeakerDiarization_; - } - - public static final int DIARIZATION_SPEAKER_COUNT_FIELD_NUMBER = 17; - private int diarizationSpeakerCount_; - /** - *
-   * *Optional*
-   * If set, specifies the estimated number of speakers in the conversation.
-   * If not set, defaults to '2'.
-   * Ignored unless enable_speaker_diarization is set to true."
-   * 
- * - * int32 diarization_speaker_count = 17; - */ - public int getDiarizationSpeakerCount() { - return diarizationSpeakerCount_; - } - public static final int METADATA_FIELD_NUMBER = 9; private com.google.cloud.speech.v1p1beta1.RecognitionMetadata metadata_; /** @@ -1067,9 +846,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < speechContexts_.size(); i++) { output.writeMessage(6, speechContexts_.get(i)); } - if (audioChannelCount_ != 0) { - output.writeInt32(7, audioChannelCount_); - } if (enableWordTimeOffsets_ != false) { output.writeBool(8, enableWordTimeOffsets_); } @@ -1079,27 +855,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (enableAutomaticPunctuation_ != false) { output.writeBool(11, enableAutomaticPunctuation_); } - if (enableSeparateRecognitionPerChannel_ != false) { - output.writeBool(12, enableSeparateRecognitionPerChannel_); - } if (!getModelBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, model_); } if (useEnhanced_ != false) { output.writeBool(14, useEnhanced_); } - if (enableWordConfidence_ != false) { - output.writeBool(15, enableWordConfidence_); - } - if (enableSpeakerDiarization_ != false) { - output.writeBool(16, enableSpeakerDiarization_); - } - if (diarizationSpeakerCount_ != 0) { - output.writeInt32(17, diarizationSpeakerCount_); - } - for (int i = 0; i < alternativeLanguageCodes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 18, alternativeLanguageCodes_.getRaw(i)); - } unknownFields.writeTo(output); } @@ -1131,10 +892,6 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, speechContexts_.get(i)); } - if (audioChannelCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, audioChannelCount_); - } if (enableWordTimeOffsets_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, enableWordTimeOffsets_); @@ -1147,10 +904,6 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, enableAutomaticPunctuation_); } - if (enableSeparateRecognitionPerChannel_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(12, enableSeparateRecognitionPerChannel_); - } if (!getModelBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, model_); } @@ -1158,26 +911,6 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, useEnhanced_); } - if (enableWordConfidence_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(15, enableWordConfidence_); - } - if (enableSpeakerDiarization_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, enableSpeakerDiarization_); - } - if (diarizationSpeakerCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(17, diarizationSpeakerCount_); - } - { - int dataSize = 0; - for (int i = 0; i < alternativeLanguageCodes_.size(); i++) { - dataSize += computeStringSizeNoTag(alternativeLanguageCodes_.getRaw(i)); - } - size += dataSize; - size += 2 * getAlternativeLanguageCodesList().size(); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1197,14 +930,8 @@ public boolean equals(final java.lang.Object obj) { result = result && encoding_ == other.encoding_; result = result && (getSampleRateHertz() == other.getSampleRateHertz()); - result = result && (getAudioChannelCount() - == other.getAudioChannelCount()); - result = result && (getEnableSeparateRecognitionPerChannel() - == other.getEnableSeparateRecognitionPerChannel()); result = result && getLanguageCode() .equals(other.getLanguageCode()); - result = result && getAlternativeLanguageCodesList() - .equals(other.getAlternativeLanguageCodesList()); result = result && (getMaxAlternatives() == other.getMaxAlternatives()); result = result && (getProfanityFilter() @@ -1213,14 +940,8 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getSpeechContextsList()); result = result && (getEnableWordTimeOffsets() == other.getEnableWordTimeOffsets()); - result = result && (getEnableWordConfidence() - == other.getEnableWordConfidence()); result = result && (getEnableAutomaticPunctuation() == other.getEnableAutomaticPunctuation()); - result = result && (getEnableSpeakerDiarization() - == other.getEnableSpeakerDiarization()); - result = result && (getDiarizationSpeakerCount() - == other.getDiarizationSpeakerCount()); result = result && (hasMetadata() == other.hasMetadata()); if (hasMetadata()) { result = result && getMetadata() @@ -1245,17 +966,8 @@ public int hashCode() { hash = (53 * hash) + encoding_; hash = (37 * hash) + SAMPLE_RATE_HERTZ_FIELD_NUMBER; hash = (53 * hash) + getSampleRateHertz(); - hash = (37 * hash) + AUDIO_CHANNEL_COUNT_FIELD_NUMBER; - hash = (53 * hash) + getAudioChannelCount(); - hash = (37 * hash) + ENABLE_SEPARATE_RECOGNITION_PER_CHANNEL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableSeparateRecognitionPerChannel()); hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER; hash = (53 * hash) + getLanguageCode().hashCode(); - if (getAlternativeLanguageCodesCount() > 0) { - hash = (37 * hash) + ALTERNATIVE_LANGUAGE_CODES_FIELD_NUMBER; - hash = (53 * hash) + getAlternativeLanguageCodesList().hashCode(); - } hash = (37 * hash) + MAX_ALTERNATIVES_FIELD_NUMBER; hash = (53 * hash) + getMaxAlternatives(); hash = (37 * hash) + PROFANITY_FILTER_FIELD_NUMBER; @@ -1268,17 +980,9 @@ public int hashCode() { hash = (37 * hash) + ENABLE_WORD_TIME_OFFSETS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnableWordTimeOffsets()); - hash = (37 * hash) + ENABLE_WORD_CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableWordConfidence()); hash = (37 * hash) + ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnableAutomaticPunctuation()); - hash = (37 * hash) + ENABLE_SPEAKER_DIARIZATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableSpeakerDiarization()); - hash = (37 * hash) + DIARIZATION_SPEAKER_COUNT_FIELD_NUMBER; - hash = (53 * hash) + getDiarizationSpeakerCount(); if (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); @@ -1427,34 +1131,22 @@ public Builder clear() { sampleRateHertz_ = 0; - audioChannelCount_ = 0; - - enableSeparateRecognitionPerChannel_ = false; - languageCode_ = ""; - alternativeLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); maxAlternatives_ = 0; profanityFilter_ = false; if (speechContextsBuilder_ == null) { speechContexts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000020); } else { speechContextsBuilder_.clear(); } enableWordTimeOffsets_ = false; - enableWordConfidence_ = false; - enableAutomaticPunctuation_ = false; - enableSpeakerDiarization_ = false; - - diarizationSpeakerCount_ = 0; - if (metadataBuilder_ == null) { metadata_ = null; } else { @@ -1491,30 +1183,20 @@ public com.google.cloud.speech.v1p1beta1.RecognitionConfig buildPartial() { int to_bitField0_ = 0; result.encoding_ = encoding_; result.sampleRateHertz_ = sampleRateHertz_; - result.audioChannelCount_ = audioChannelCount_; - result.enableSeparateRecognitionPerChannel_ = enableSeparateRecognitionPerChannel_; result.languageCode_ = languageCode_; - if (((bitField0_ & 0x00000020) == 0x00000020)) { - alternativeLanguageCodes_ = alternativeLanguageCodes_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.alternativeLanguageCodes_ = alternativeLanguageCodes_; result.maxAlternatives_ = maxAlternatives_; result.profanityFilter_ = profanityFilter_; if (speechContextsBuilder_ == null) { - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000020) == 0x00000020)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000020); } result.speechContexts_ = speechContexts_; } else { result.speechContexts_ = speechContextsBuilder_.build(); } result.enableWordTimeOffsets_ = enableWordTimeOffsets_; - result.enableWordConfidence_ = enableWordConfidence_; result.enableAutomaticPunctuation_ = enableAutomaticPunctuation_; - result.enableSpeakerDiarization_ = enableSpeakerDiarization_; - result.diarizationSpeakerCount_ = diarizationSpeakerCount_; if (metadataBuilder_ == null) { result.metadata_ = metadata_; } else { @@ -1570,26 +1252,10 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.RecognitionConfig oth if (other.getSampleRateHertz() != 0) { setSampleRateHertz(other.getSampleRateHertz()); } - if (other.getAudioChannelCount() != 0) { - setAudioChannelCount(other.getAudioChannelCount()); - } - if (other.getEnableSeparateRecognitionPerChannel() != false) { - setEnableSeparateRecognitionPerChannel(other.getEnableSeparateRecognitionPerChannel()); - } if (!other.getLanguageCode().isEmpty()) { languageCode_ = other.languageCode_; onChanged(); } - if (!other.alternativeLanguageCodes_.isEmpty()) { - if (alternativeLanguageCodes_.isEmpty()) { - alternativeLanguageCodes_ = other.alternativeLanguageCodes_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureAlternativeLanguageCodesIsMutable(); - alternativeLanguageCodes_.addAll(other.alternativeLanguageCodes_); - } - onChanged(); - } if (other.getMaxAlternatives() != 0) { setMaxAlternatives(other.getMaxAlternatives()); } @@ -1600,7 +1266,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.RecognitionConfig oth if (!other.speechContexts_.isEmpty()) { if (speechContexts_.isEmpty()) { speechContexts_ = other.speechContexts_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000020); } else { ensureSpeechContextsIsMutable(); speechContexts_.addAll(other.speechContexts_); @@ -1613,7 +1279,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.RecognitionConfig oth speechContextsBuilder_.dispose(); speechContextsBuilder_ = null; speechContexts_ = other.speechContexts_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000020); speechContextsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSpeechContextsFieldBuilder() : null; @@ -1625,18 +1291,9 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.RecognitionConfig oth if (other.getEnableWordTimeOffsets() != false) { setEnableWordTimeOffsets(other.getEnableWordTimeOffsets()); } - if (other.getEnableWordConfidence() != false) { - setEnableWordConfidence(other.getEnableWordConfidence()); - } if (other.getEnableAutomaticPunctuation() != false) { setEnableAutomaticPunctuation(other.getEnableAutomaticPunctuation()); } - if (other.getEnableSpeakerDiarization() != false) { - setEnableSpeakerDiarization(other.getEnableSpeakerDiarization()); - } - if (other.getDiarizationSpeakerCount() != 0) { - setDiarizationSpeakerCount(other.getDiarizationSpeakerCount()); - } if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } @@ -1805,121 +1462,6 @@ public Builder clearSampleRateHertz() { return this; } - private int audioChannelCount_ ; - /** - *
-     * *Optional* The number of channels in the input audio data.
-     * ONLY set this for MULTI-CHANNEL recognition.
-     * Valid values for LINEAR16 and FLAC are `1`-`8`.
-     * Valid values for OGG_OPUS are '1'-'254'.
-     * Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`.
-     * If `0` or omitted, defaults to one channel (mono).
-     * NOTE: We only recognize the first channel by default.
-     * To perform independent recognition on each channel set
-     * enable_separate_recognition_per_channel to 'true'.
-     * 
- * - * int32 audio_channel_count = 7; - */ - public int getAudioChannelCount() { - return audioChannelCount_; - } - /** - *
-     * *Optional* The number of channels in the input audio data.
-     * ONLY set this for MULTI-CHANNEL recognition.
-     * Valid values for LINEAR16 and FLAC are `1`-`8`.
-     * Valid values for OGG_OPUS are '1'-'254'.
-     * Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`.
-     * If `0` or omitted, defaults to one channel (mono).
-     * NOTE: We only recognize the first channel by default.
-     * To perform independent recognition on each channel set
-     * enable_separate_recognition_per_channel to 'true'.
-     * 
- * - * int32 audio_channel_count = 7; - */ - public Builder setAudioChannelCount(int value) { - - audioChannelCount_ = value; - onChanged(); - return this; - } - /** - *
-     * *Optional* The number of channels in the input audio data.
-     * ONLY set this for MULTI-CHANNEL recognition.
-     * Valid values for LINEAR16 and FLAC are `1`-`8`.
-     * Valid values for OGG_OPUS are '1'-'254'.
-     * Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`.
-     * If `0` or omitted, defaults to one channel (mono).
-     * NOTE: We only recognize the first channel by default.
-     * To perform independent recognition on each channel set
-     * enable_separate_recognition_per_channel to 'true'.
-     * 
- * - * int32 audio_channel_count = 7; - */ - public Builder clearAudioChannelCount() { - - audioChannelCount_ = 0; - onChanged(); - return this; - } - - private boolean enableSeparateRecognitionPerChannel_ ; - /** - *
-     * This needs to be set to ‘true’ explicitly and audio_channel_count > 1
-     * to get each channel recognized separately. The recognition result will
-     * contain a channel_tag field to state which channel that result belongs to.
-     * If this is not ‘true’, we will only recognize the first channel.
-     * NOTE: The request is also billed cumulatively for all channels recognized:
-     *     (audio_channel_count times the audio length)
-     * 
- * - * bool enable_separate_recognition_per_channel = 12; - */ - public boolean getEnableSeparateRecognitionPerChannel() { - return enableSeparateRecognitionPerChannel_; - } - /** - *
-     * This needs to be set to ‘true’ explicitly and audio_channel_count > 1
-     * to get each channel recognized separately. The recognition result will
-     * contain a channel_tag field to state which channel that result belongs to.
-     * If this is not ‘true’, we will only recognize the first channel.
-     * NOTE: The request is also billed cumulatively for all channels recognized:
-     *     (audio_channel_count times the audio length)
-     * 
- * - * bool enable_separate_recognition_per_channel = 12; - */ - public Builder setEnableSeparateRecognitionPerChannel(boolean value) { - - enableSeparateRecognitionPerChannel_ = value; - onChanged(); - return this; - } - /** - *
-     * This needs to be set to ‘true’ explicitly and audio_channel_count > 1
-     * to get each channel recognized separately. The recognition result will
-     * contain a channel_tag field to state which channel that result belongs to.
-     * If this is not ‘true’, we will only recognize the first channel.
-     * NOTE: The request is also billed cumulatively for all channels recognized:
-     *     (audio_channel_count times the audio length)
-     * 
- * - * bool enable_separate_recognition_per_channel = 12; - */ - public Builder clearEnableSeparateRecognitionPerChannel() { - - enableSeparateRecognitionPerChannel_ = false; - onChanged(); - return this; - } - private java.lang.Object languageCode_ = ""; /** *
@@ -2029,235 +1571,6 @@ public Builder setLanguageCodeBytes(
       return this;
     }
 
-    private com.google.protobuf.LazyStringList alternativeLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-    private void ensureAlternativeLanguageCodesIsMutable() {
-      if (!((bitField0_ & 0x00000020) == 0x00000020)) {
-        alternativeLanguageCodes_ = new com.google.protobuf.LazyStringArrayList(alternativeLanguageCodes_);
-        bitField0_ |= 0x00000020;
-       }
-    }
-    /**
-     * 
-     * *Optional* A list of up to 3 additional
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-     * listing possible alternative languages of the supplied audio.
-     * See [Language Support](https://cloud.google.com/speech/docs/languages)
-     * for a list of the currently supported language codes.
-     * If alternative languages are listed, recognition result will contain
-     * recognition in the most likely language detected including the main
-     * language_code. The recognition result will include the language tag
-     * of the language detected in the audio.
-     * NOTE: This feature is only supported for Voice Command and Voice Search
-     * use cases and performance may vary for other use cases (e.g., phone call
-     * transcription).
-     * 
- * - * repeated string alternative_language_codes = 18; - */ - public com.google.protobuf.ProtocolStringList - getAlternativeLanguageCodesList() { - return alternativeLanguageCodes_.getUnmodifiableView(); - } - /** - *
-     * *Optional* A list of up to 3 additional
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-     * listing possible alternative languages of the supplied audio.
-     * See [Language Support](https://cloud.google.com/speech/docs/languages)
-     * for a list of the currently supported language codes.
-     * If alternative languages are listed, recognition result will contain
-     * recognition in the most likely language detected including the main
-     * language_code. The recognition result will include the language tag
-     * of the language detected in the audio.
-     * NOTE: This feature is only supported for Voice Command and Voice Search
-     * use cases and performance may vary for other use cases (e.g., phone call
-     * transcription).
-     * 
- * - * repeated string alternative_language_codes = 18; - */ - public int getAlternativeLanguageCodesCount() { - return alternativeLanguageCodes_.size(); - } - /** - *
-     * *Optional* A list of up to 3 additional
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-     * listing possible alternative languages of the supplied audio.
-     * See [Language Support](https://cloud.google.com/speech/docs/languages)
-     * for a list of the currently supported language codes.
-     * If alternative languages are listed, recognition result will contain
-     * recognition in the most likely language detected including the main
-     * language_code. The recognition result will include the language tag
-     * of the language detected in the audio.
-     * NOTE: This feature is only supported for Voice Command and Voice Search
-     * use cases and performance may vary for other use cases (e.g., phone call
-     * transcription).
-     * 
- * - * repeated string alternative_language_codes = 18; - */ - public java.lang.String getAlternativeLanguageCodes(int index) { - return alternativeLanguageCodes_.get(index); - } - /** - *
-     * *Optional* A list of up to 3 additional
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-     * listing possible alternative languages of the supplied audio.
-     * See [Language Support](https://cloud.google.com/speech/docs/languages)
-     * for a list of the currently supported language codes.
-     * If alternative languages are listed, recognition result will contain
-     * recognition in the most likely language detected including the main
-     * language_code. The recognition result will include the language tag
-     * of the language detected in the audio.
-     * NOTE: This feature is only supported for Voice Command and Voice Search
-     * use cases and performance may vary for other use cases (e.g., phone call
-     * transcription).
-     * 
- * - * repeated string alternative_language_codes = 18; - */ - public com.google.protobuf.ByteString - getAlternativeLanguageCodesBytes(int index) { - return alternativeLanguageCodes_.getByteString(index); - } - /** - *
-     * *Optional* A list of up to 3 additional
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-     * listing possible alternative languages of the supplied audio.
-     * See [Language Support](https://cloud.google.com/speech/docs/languages)
-     * for a list of the currently supported language codes.
-     * If alternative languages are listed, recognition result will contain
-     * recognition in the most likely language detected including the main
-     * language_code. The recognition result will include the language tag
-     * of the language detected in the audio.
-     * NOTE: This feature is only supported for Voice Command and Voice Search
-     * use cases and performance may vary for other use cases (e.g., phone call
-     * transcription).
-     * 
- * - * repeated string alternative_language_codes = 18; - */ - public Builder setAlternativeLanguageCodes( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAlternativeLanguageCodesIsMutable(); - alternativeLanguageCodes_.set(index, value); - onChanged(); - return this; - } - /** - *
-     * *Optional* A list of up to 3 additional
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-     * listing possible alternative languages of the supplied audio.
-     * See [Language Support](https://cloud.google.com/speech/docs/languages)
-     * for a list of the currently supported language codes.
-     * If alternative languages are listed, recognition result will contain
-     * recognition in the most likely language detected including the main
-     * language_code. The recognition result will include the language tag
-     * of the language detected in the audio.
-     * NOTE: This feature is only supported for Voice Command and Voice Search
-     * use cases and performance may vary for other use cases (e.g., phone call
-     * transcription).
-     * 
- * - * repeated string alternative_language_codes = 18; - */ - public Builder addAlternativeLanguageCodes( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAlternativeLanguageCodesIsMutable(); - alternativeLanguageCodes_.add(value); - onChanged(); - return this; - } - /** - *
-     * *Optional* A list of up to 3 additional
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-     * listing possible alternative languages of the supplied audio.
-     * See [Language Support](https://cloud.google.com/speech/docs/languages)
-     * for a list of the currently supported language codes.
-     * If alternative languages are listed, recognition result will contain
-     * recognition in the most likely language detected including the main
-     * language_code. The recognition result will include the language tag
-     * of the language detected in the audio.
-     * NOTE: This feature is only supported for Voice Command and Voice Search
-     * use cases and performance may vary for other use cases (e.g., phone call
-     * transcription).
-     * 
- * - * repeated string alternative_language_codes = 18; - */ - public Builder addAllAlternativeLanguageCodes( - java.lang.Iterable values) { - ensureAlternativeLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, alternativeLanguageCodes_); - onChanged(); - return this; - } - /** - *
-     * *Optional* A list of up to 3 additional
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-     * listing possible alternative languages of the supplied audio.
-     * See [Language Support](https://cloud.google.com/speech/docs/languages)
-     * for a list of the currently supported language codes.
-     * If alternative languages are listed, recognition result will contain
-     * recognition in the most likely language detected including the main
-     * language_code. The recognition result will include the language tag
-     * of the language detected in the audio.
-     * NOTE: This feature is only supported for Voice Command and Voice Search
-     * use cases and performance may vary for other use cases (e.g., phone call
-     * transcription).
-     * 
- * - * repeated string alternative_language_codes = 18; - */ - public Builder clearAlternativeLanguageCodes() { - alternativeLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - return this; - } - /** - *
-     * *Optional* A list of up to 3 additional
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-     * listing possible alternative languages of the supplied audio.
-     * See [Language Support](https://cloud.google.com/speech/docs/languages)
-     * for a list of the currently supported language codes.
-     * If alternative languages are listed, recognition result will contain
-     * recognition in the most likely language detected including the main
-     * language_code. The recognition result will include the language tag
-     * of the language detected in the audio.
-     * NOTE: This feature is only supported for Voice Command and Voice Search
-     * use cases and performance may vary for other use cases (e.g., phone call
-     * transcription).
-     * 
- * - * repeated string alternative_language_codes = 18; - */ - public Builder addAlternativeLanguageCodesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureAlternativeLanguageCodesIsMutable(); - alternativeLanguageCodes_.add(value); - onChanged(); - return this; - } - private int maxAlternatives_ ; /** *
@@ -2361,9 +1674,9 @@ public Builder clearProfanityFilter() {
     private java.util.List speechContexts_ =
       java.util.Collections.emptyList();
     private void ensureSpeechContextsIsMutable() {
-      if (!((bitField0_ & 0x00000100) == 0x00000100)) {
+      if (!((bitField0_ & 0x00000020) == 0x00000020)) {
         speechContexts_ = new java.util.ArrayList(speechContexts_);
-        bitField0_ |= 0x00000100;
+        bitField0_ |= 0x00000020;
        }
     }
 
@@ -2557,7 +1870,7 @@ public Builder addAllSpeechContexts(
     public Builder clearSpeechContexts() {
       if (speechContextsBuilder_ == null) {
         speechContexts_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000100);
+        bitField0_ = (bitField0_ & ~0x00000020);
         onChanged();
       } else {
         speechContextsBuilder_.clear();
@@ -2662,7 +1975,7 @@ public com.google.cloud.speech.v1p1beta1.SpeechContext.Builder addSpeechContexts
         speechContextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
             com.google.cloud.speech.v1p1beta1.SpeechContext, com.google.cloud.speech.v1p1beta1.SpeechContext.Builder, com.google.cloud.speech.v1p1beta1.SpeechContextOrBuilder>(
                 speechContexts_,
-                ((bitField0_ & 0x00000100) == 0x00000100),
+                ((bitField0_ & 0x00000020) == 0x00000020),
                 getParentForChildren(),
                 isClean());
         speechContexts_ = null;
@@ -2717,50 +2030,6 @@ public Builder clearEnableWordTimeOffsets() {
       return this;
     }
 
-    private boolean enableWordConfidence_ ;
-    /**
-     * 
-     * *Optional* If `true`, the top result includes a list of words and the
-     * confidence for those words. If `false`, no word-level confidence
-     * information is returned. The default is `false`.
-     * 
- * - * bool enable_word_confidence = 15; - */ - public boolean getEnableWordConfidence() { - return enableWordConfidence_; - } - /** - *
-     * *Optional* If `true`, the top result includes a list of words and the
-     * confidence for those words. If `false`, no word-level confidence
-     * information is returned. The default is `false`.
-     * 
- * - * bool enable_word_confidence = 15; - */ - public Builder setEnableWordConfidence(boolean value) { - - enableWordConfidence_ = value; - onChanged(); - return this; - } - /** - *
-     * *Optional* If `true`, the top result includes a list of words and the
-     * confidence for those words. If `false`, no word-level confidence
-     * information is returned. The default is `false`.
-     * 
- * - * bool enable_word_confidence = 15; - */ - public Builder clearEnableWordConfidence() { - - enableWordConfidence_ = false; - onChanged(); - return this; - } - private boolean enableAutomaticPunctuation_ ; /** *
@@ -2817,109 +2086,6 @@ public Builder clearEnableAutomaticPunctuation() {
       return this;
     }
 
-    private boolean enableSpeakerDiarization_ ;
-    /**
-     * 
-     * *Optional* If 'true', enables speaker detection for each recognized word in
-     * the top alternative of the recognition result using a speaker_tag provided
-     * in the WordInfo.
-     * Note: When this is true, we send all the words from the beginning of the
-     * audio for the top alternative in every consecutive responses.
-     * This is done in order to improve our speaker tags as our models learn to
-     * identify the speakers in the conversation over time.
-     * 
- * - * bool enable_speaker_diarization = 16; - */ - public boolean getEnableSpeakerDiarization() { - return enableSpeakerDiarization_; - } - /** - *
-     * *Optional* If 'true', enables speaker detection for each recognized word in
-     * the top alternative of the recognition result using a speaker_tag provided
-     * in the WordInfo.
-     * Note: When this is true, we send all the words from the beginning of the
-     * audio for the top alternative in every consecutive responses.
-     * This is done in order to improve our speaker tags as our models learn to
-     * identify the speakers in the conversation over time.
-     * 
- * - * bool enable_speaker_diarization = 16; - */ - public Builder setEnableSpeakerDiarization(boolean value) { - - enableSpeakerDiarization_ = value; - onChanged(); - return this; - } - /** - *
-     * *Optional* If 'true', enables speaker detection for each recognized word in
-     * the top alternative of the recognition result using a speaker_tag provided
-     * in the WordInfo.
-     * Note: When this is true, we send all the words from the beginning of the
-     * audio for the top alternative in every consecutive responses.
-     * This is done in order to improve our speaker tags as our models learn to
-     * identify the speakers in the conversation over time.
-     * 
- * - * bool enable_speaker_diarization = 16; - */ - public Builder clearEnableSpeakerDiarization() { - - enableSpeakerDiarization_ = false; - onChanged(); - return this; - } - - private int diarizationSpeakerCount_ ; - /** - *
-     * *Optional*
-     * If set, specifies the estimated number of speakers in the conversation.
-     * If not set, defaults to '2'.
-     * Ignored unless enable_speaker_diarization is set to true."
-     * 
- * - * int32 diarization_speaker_count = 17; - */ - public int getDiarizationSpeakerCount() { - return diarizationSpeakerCount_; - } - /** - *
-     * *Optional*
-     * If set, specifies the estimated number of speakers in the conversation.
-     * If not set, defaults to '2'.
-     * Ignored unless enable_speaker_diarization is set to true."
-     * 
- * - * int32 diarization_speaker_count = 17; - */ - public Builder setDiarizationSpeakerCount(int value) { - - diarizationSpeakerCount_ = value; - onChanged(); - return this; - } - /** - *
-     * *Optional*
-     * If set, specifies the estimated number of speakers in the conversation.
-     * If not set, defaults to '2'.
-     * Ignored unless enable_speaker_diarization is set to true."
-     * 
- * - * int32 diarization_speaker_count = 17; - */ - public Builder clearDiarizationSpeakerCount() { - - diarizationSpeakerCount_ = 0; - onChanged(); - return this; - } - private com.google.cloud.speech.v1p1beta1.RecognitionMetadata metadata_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.speech.v1p1beta1.RecognitionMetadata, com.google.cloud.speech.v1p1beta1.RecognitionMetadata.Builder, com.google.cloud.speech.v1p1beta1.RecognitionMetadataOrBuilder> metadataBuilder_; diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfigOrBuilder.java index 31216fcceb26..91c355cfa3fc 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfigOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfigOrBuilder.java @@ -43,37 +43,6 @@ public interface RecognitionConfigOrBuilder extends */ int getSampleRateHertz(); - /** - *
-   * *Optional* The number of channels in the input audio data.
-   * ONLY set this for MULTI-CHANNEL recognition.
-   * Valid values for LINEAR16 and FLAC are `1`-`8`.
-   * Valid values for OGG_OPUS are '1'-'254'.
-   * Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`.
-   * If `0` or omitted, defaults to one channel (mono).
-   * NOTE: We only recognize the first channel by default.
-   * To perform independent recognition on each channel set
-   * enable_separate_recognition_per_channel to 'true'.
-   * 
- * - * int32 audio_channel_count = 7; - */ - int getAudioChannelCount(); - - /** - *
-   * This needs to be set to ‘true’ explicitly and audio_channel_count > 1
-   * to get each channel recognized separately. The recognition result will
-   * contain a channel_tag field to state which channel that result belongs to.
-   * If this is not ‘true’, we will only recognize the first channel.
-   * NOTE: The request is also billed cumulatively for all channels recognized:
-   *     (audio_channel_count times the audio length)
-   * 
- * - * bool enable_separate_recognition_per_channel = 12; - */ - boolean getEnableSeparateRecognitionPerChannel(); - /** *
    * *Required* The language of the supplied audio as a
@@ -100,85 +69,6 @@ public interface RecognitionConfigOrBuilder extends
   com.google.protobuf.ByteString
       getLanguageCodeBytes();
 
-  /**
-   * 
-   * *Optional* A list of up to 3 additional
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-   * listing possible alternative languages of the supplied audio.
-   * See [Language Support](https://cloud.google.com/speech/docs/languages)
-   * for a list of the currently supported language codes.
-   * If alternative languages are listed, recognition result will contain
-   * recognition in the most likely language detected including the main
-   * language_code. The recognition result will include the language tag
-   * of the language detected in the audio.
-   * NOTE: This feature is only supported for Voice Command and Voice Search
-   * use cases and performance may vary for other use cases (e.g., phone call
-   * transcription).
-   * 
- * - * repeated string alternative_language_codes = 18; - */ - java.util.List - getAlternativeLanguageCodesList(); - /** - *
-   * *Optional* A list of up to 3 additional
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-   * listing possible alternative languages of the supplied audio.
-   * See [Language Support](https://cloud.google.com/speech/docs/languages)
-   * for a list of the currently supported language codes.
-   * If alternative languages are listed, recognition result will contain
-   * recognition in the most likely language detected including the main
-   * language_code. The recognition result will include the language tag
-   * of the language detected in the audio.
-   * NOTE: This feature is only supported for Voice Command and Voice Search
-   * use cases and performance may vary for other use cases (e.g., phone call
-   * transcription).
-   * 
- * - * repeated string alternative_language_codes = 18; - */ - int getAlternativeLanguageCodesCount(); - /** - *
-   * *Optional* A list of up to 3 additional
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-   * listing possible alternative languages of the supplied audio.
-   * See [Language Support](https://cloud.google.com/speech/docs/languages)
-   * for a list of the currently supported language codes.
-   * If alternative languages are listed, recognition result will contain
-   * recognition in the most likely language detected including the main
-   * language_code. The recognition result will include the language tag
-   * of the language detected in the audio.
-   * NOTE: This feature is only supported for Voice Command and Voice Search
-   * use cases and performance may vary for other use cases (e.g., phone call
-   * transcription).
-   * 
- * - * repeated string alternative_language_codes = 18; - */ - java.lang.String getAlternativeLanguageCodes(int index); - /** - *
-   * *Optional* A list of up to 3 additional
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
-   * listing possible alternative languages of the supplied audio.
-   * See [Language Support](https://cloud.google.com/speech/docs/languages)
-   * for a list of the currently supported language codes.
-   * If alternative languages are listed, recognition result will contain
-   * recognition in the most likely language detected including the main
-   * language_code. The recognition result will include the language tag
-   * of the language detected in the audio.
-   * NOTE: This feature is only supported for Voice Command and Voice Search
-   * use cases and performance may vary for other use cases (e.g., phone call
-   * transcription).
-   * 
- * - * repeated string alternative_language_codes = 18; - */ - com.google.protobuf.ByteString - getAlternativeLanguageCodesBytes(int index); - /** *
    * *Optional* Maximum number of recognition hypotheses to be returned.
@@ -261,17 +151,6 @@ com.google.cloud.speech.v1p1beta1.SpeechContextOrBuilder getSpeechContextsOrBuil
    */
   boolean getEnableWordTimeOffsets();
 
-  /**
-   * 
-   * *Optional* If `true`, the top result includes a list of words and the
-   * confidence for those words. If `false`, no word-level confidence
-   * information is returned. The default is `false`.
-   * 
- * - * bool enable_word_confidence = 15; - */ - boolean getEnableWordConfidence(); - /** *
    * *Optional* If 'true', adds punctuation to recognition result hypotheses.
@@ -287,33 +166,6 @@ com.google.cloud.speech.v1p1beta1.SpeechContextOrBuilder getSpeechContextsOrBuil
    */
   boolean getEnableAutomaticPunctuation();
 
-  /**
-   * 
-   * *Optional* If 'true', enables speaker detection for each recognized word in
-   * the top alternative of the recognition result using a speaker_tag provided
-   * in the WordInfo.
-   * Note: When this is true, we send all the words from the beginning of the
-   * audio for the top alternative in every consecutive responses.
-   * This is done in order to improve our speaker tags as our models learn to
-   * identify the speakers in the conversation over time.
-   * 
- * - * bool enable_speaker_diarization = 16; - */ - boolean getEnableSpeakerDiarization(); - - /** - *
-   * *Optional*
-   * If set, specifies the estimated number of speakers in the conversation.
-   * If not set, defaults to '2'.
-   * Ignored unless enable_speaker_diarization is set to true."
-   * 
- * - * int32 diarization_speaker_count = 17; - */ - int getDiarizationSpeakerCount(); - /** *
    * *Optional* Metadata regarding this request.
diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java
index f64d1ab6b196..2b7a093fd995 100644
--- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java
+++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java
@@ -125,106 +125,97 @@ public static void registerAllExtensions(
       "nitionConfig\022@\n\006config\030\001 \001(\01320.google.cl" +
       "oud.speech.v1p1beta1.RecognitionConfig\022\030" +
       "\n\020single_utterance\030\002 \001(\010\022\027\n\017interim_resu" +
-      "lts\030\003 \001(\010\"\254\006\n\021RecognitionConfig\022P\n\010encod" +
+      "lts\030\003 \001(\010\"\323\004\n\021RecognitionConfig\022P\n\010encod" +
       "ing\030\001 \001(\0162>.google.cloud.speech.v1p1beta" +
       "1.RecognitionConfig.AudioEncoding\022\031\n\021sam" +
-      "ple_rate_hertz\030\002 \001(\005\022\033\n\023audio_channel_co" +
-      "unt\030\007 \001(\005\022/\n\'enable_separate_recognition" +
-      "_per_channel\030\014 \001(\010\022\025\n\rlanguage_code\030\003 \001(" +
-      "\t\022\"\n\032alternative_language_codes\030\022 \003(\t\022\030\n" +
-      "\020max_alternatives\030\004 \001(\005\022\030\n\020profanity_fil" +
-      "ter\030\005 \001(\010\022E\n\017speech_contexts\030\006 \003(\0132,.goo" +
-      "gle.cloud.speech.v1p1beta1.SpeechContext" +
-      "\022 \n\030enable_word_time_offsets\030\010 \001(\010\022\036\n\026en" +
-      "able_word_confidence\030\017 \001(\010\022$\n\034enable_aut" +
-      "omatic_punctuation\030\013 \001(\010\022\"\n\032enable_speak" +
-      "er_diarization\030\020 \001(\010\022!\n\031diarization_spea" +
-      "ker_count\030\021 \001(\005\022D\n\010metadata\030\t \001(\01322.goog" +
+      "ple_rate_hertz\030\002 \001(\005\022\025\n\rlanguage_code\030\003 " +
+      "\001(\t\022\030\n\020max_alternatives\030\004 \001(\005\022\030\n\020profani" +
+      "ty_filter\030\005 \001(\010\022E\n\017speech_contexts\030\006 \003(\013" +
+      "2,.google.cloud.speech.v1p1beta1.SpeechC" +
+      "ontext\022 \n\030enable_word_time_offsets\030\010 \001(\010" +
+      "\022$\n\034enable_automatic_punctuation\030\013 \001(\010\022D" +
+      "\n\010metadata\030\t \001(\01322.google.cloud.speech.v" +
+      "1p1beta1.RecognitionMetadata\022\r\n\005model\030\r " +
+      "\001(\t\022\024\n\014use_enhanced\030\016 \001(\010\"\213\001\n\rAudioEncod" +
+      "ing\022\030\n\024ENCODING_UNSPECIFIED\020\000\022\014\n\010LINEAR1" +
+      "6\020\001\022\010\n\004FLAC\020\002\022\t\n\005MULAW\020\003\022\007\n\003AMR\020\004\022\n\n\006AMR" +
+      "_WB\020\005\022\014\n\010OGG_OPUS\020\006\022\032\n\026SPEEX_WITH_HEADER" +
+      "_BYTE\020\007\"\323\010\n\023RecognitionMetadata\022\\\n\020inter" +
+      "action_type\030\001 \001(\0162B.google.cloud.speech." +
+      "v1p1beta1.RecognitionMetadata.Interactio" +
+      "nType\022$\n\034industry_naics_code_of_audio\030\003 " +
+      "\001(\r\022b\n\023microphone_distance\030\004 \001(\0162E.googl" +
+      "e.cloud.speech.v1p1beta1.RecognitionMeta" +
+      "data.MicrophoneDistance\022a\n\023original_medi" +
+      "a_type\030\005 \001(\0162D.google.cloud.speech.v1p1b" +
+      "eta1.RecognitionMetadata.OriginalMediaTy" +
+      "pe\022e\n\025recording_device_type\030\006 \001(\0162F.goog" +
       "le.cloud.speech.v1p1beta1.RecognitionMet" +
-      "adata\022\r\n\005model\030\r \001(\t\022\024\n\014use_enhanced\030\016 \001" +
-      "(\010\"\213\001\n\rAudioEncoding\022\030\n\024ENCODING_UNSPECI" +
-      "FIED\020\000\022\014\n\010LINEAR16\020\001\022\010\n\004FLAC\020\002\022\t\n\005MULAW\020" +
-      "\003\022\007\n\003AMR\020\004\022\n\n\006AMR_WB\020\005\022\014\n\010OGG_OPUS\020\006\022\032\n\026" +
-      "SPEEX_WITH_HEADER_BYTE\020\007\"\323\010\n\023Recognition" +
-      "Metadata\022\\\n\020interaction_type\030\001 \001(\0162B.goo" +
-      "gle.cloud.speech.v1p1beta1.RecognitionMe" +
-      "tadata.InteractionType\022$\n\034industry_naics" +
-      "_code_of_audio\030\003 \001(\r\022b\n\023microphone_dista" +
-      "nce\030\004 \001(\0162E.google.cloud.speech.v1p1beta" +
-      "1.RecognitionMetadata.MicrophoneDistance" +
-      "\022a\n\023original_media_type\030\005 \001(\0162D.google.c" +
-      "loud.speech.v1p1beta1.RecognitionMetadat" +
-      "a.OriginalMediaType\022e\n\025recording_device_" +
-      "type\030\006 \001(\0162F.google.cloud.speech.v1p1bet" +
-      "a1.RecognitionMetadata.RecordingDeviceTy" +
-      "pe\022\035\n\025recording_device_name\030\007 \001(\t\022\032\n\022ori" +
-      "ginal_mime_type\030\010 \001(\t\022\025\n\robfuscated_id\030\t" +
-      " \001(\003\022\023\n\013audio_topic\030\n \001(\t\"\305\001\n\017Interactio" +
-      "nType\022 \n\034INTERACTION_TYPE_UNSPECIFIED\020\000\022" +
-      "\016\n\nDISCUSSION\020\001\022\020\n\014PRESENTATION\020\002\022\016\n\nPHO" +
-      "NE_CALL\020\003\022\r\n\tVOICEMAIL\020\004\022\033\n\027PROFESSIONAL" +
-      "LY_PRODUCED\020\005\022\020\n\014VOICE_SEARCH\020\006\022\021\n\rVOICE" +
-      "_COMMAND\020\007\022\r\n\tDICTATION\020\010\"d\n\022MicrophoneD" +
-      "istance\022#\n\037MICROPHONE_DISTANCE_UNSPECIFI" +
-      "ED\020\000\022\r\n\tNEARFIELD\020\001\022\014\n\010MIDFIELD\020\002\022\014\n\010FAR" +
-      "FIELD\020\003\"N\n\021OriginalMediaType\022#\n\037ORIGINAL" +
-      "_MEDIA_TYPE_UNSPECIFIED\020\000\022\t\n\005AUDIO\020\001\022\t\n\005" +
-      "VIDEO\020\002\"\244\001\n\023RecordingDeviceType\022%\n!RECOR" +
-      "DING_DEVICE_TYPE_UNSPECIFIED\020\000\022\016\n\nSMARTP" +
-      "HONE\020\001\022\006\n\002PC\020\002\022\016\n\nPHONE_LINE\020\003\022\013\n\007VEHICL" +
-      "E\020\004\022\030\n\024OTHER_OUTDOOR_DEVICE\020\005\022\027\n\023OTHER_I" +
-      "NDOOR_DEVICE\020\006\" \n\rSpeechContext\022\017\n\007phras" +
-      "es\030\001 \003(\t\"D\n\020RecognitionAudio\022\021\n\007content\030" +
-      "\001 \001(\014H\000\022\r\n\003uri\030\002 \001(\tH\000B\016\n\014audio_source\"\\" +
-      "\n\021RecognizeResponse\022G\n\007results\030\002 \003(\01326.g" +
+      "adata.RecordingDeviceType\022\035\n\025recording_d" +
+      "evice_name\030\007 \001(\t\022\032\n\022original_mime_type\030\010" +
+      " \001(\t\022\025\n\robfuscated_id\030\t \001(\003\022\023\n\013audio_top" +
+      "ic\030\n \001(\t\"\305\001\n\017InteractionType\022 \n\034INTERACT" +
+      "ION_TYPE_UNSPECIFIED\020\000\022\016\n\nDISCUSSION\020\001\022\020" +
+      "\n\014PRESENTATION\020\002\022\016\n\nPHONE_CALL\020\003\022\r\n\tVOIC" +
+      "EMAIL\020\004\022\033\n\027PROFESSIONALLY_PRODUCED\020\005\022\020\n\014" +
+      "VOICE_SEARCH\020\006\022\021\n\rVOICE_COMMAND\020\007\022\r\n\tDIC" +
+      "TATION\020\010\"d\n\022MicrophoneDistance\022#\n\037MICROP" +
+      "HONE_DISTANCE_UNSPECIFIED\020\000\022\r\n\tNEARFIELD" +
+      "\020\001\022\014\n\010MIDFIELD\020\002\022\014\n\010FARFIELD\020\003\"N\n\021Origin" +
+      "alMediaType\022#\n\037ORIGINAL_MEDIA_TYPE_UNSPE" +
+      "CIFIED\020\000\022\t\n\005AUDIO\020\001\022\t\n\005VIDEO\020\002\"\244\001\n\023Recor" +
+      "dingDeviceType\022%\n!RECORDING_DEVICE_TYPE_" +
+      "UNSPECIFIED\020\000\022\016\n\nSMARTPHONE\020\001\022\006\n\002PC\020\002\022\016\n" +
+      "\nPHONE_LINE\020\003\022\013\n\007VEHICLE\020\004\022\030\n\024OTHER_OUTD" +
+      "OOR_DEVICE\020\005\022\027\n\023OTHER_INDOOR_DEVICE\020\006\" \n" +
+      "\rSpeechContext\022\017\n\007phrases\030\001 \003(\t\"D\n\020Recog" +
+      "nitionAudio\022\021\n\007content\030\001 \001(\014H\000\022\r\n\003uri\030\002 " +
+      "\001(\tH\000B\016\n\014audio_source\"\\\n\021RecognizeRespon" +
+      "se\022G\n\007results\030\002 \003(\01326.google.cloud.speec" +
+      "h.v1p1beta1.SpeechRecognitionResult\"g\n\034L" +
+      "ongRunningRecognizeResponse\022G\n\007results\030\002" +
+      " \003(\01326.google.cloud.speech.v1p1beta1.Spe" +
+      "echRecognitionResult\"\236\001\n\034LongRunningReco" +
+      "gnizeMetadata\022\030\n\020progress_percent\030\001 \001(\005\022" +
+      ".\n\nstart_time\030\002 \001(\0132\032.google.protobuf.Ti" +
+      "mestamp\0224\n\020last_update_time\030\003 \001(\0132\032.goog" +
+      "le.protobuf.Timestamp\"\277\002\n\032StreamingRecog" +
+      "nizeResponse\022!\n\005error\030\001 \001(\0132\022.google.rpc" +
+      ".Status\022J\n\007results\030\002 \003(\01329.google.cloud." +
+      "speech.v1p1beta1.StreamingRecognitionRes" +
+      "ult\022d\n\021speech_event_type\030\004 \001(\0162I.google." +
+      "cloud.speech.v1p1beta1.StreamingRecogniz" +
+      "eResponse.SpeechEventType\"L\n\017SpeechEvent" +
+      "Type\022\034\n\030SPEECH_EVENT_UNSPECIFIED\020\000\022\033\n\027EN" +
+      "D_OF_SINGLE_UTTERANCE\020\001\"\224\001\n\032StreamingRec" +
+      "ognitionResult\022Q\n\014alternatives\030\001 \003(\0132;.g" +
       "oogle.cloud.speech.v1p1beta1.SpeechRecog" +
-      "nitionResult\"g\n\034LongRunningRecognizeResp" +
-      "onse\022G\n\007results\030\002 \003(\01326.google.cloud.spe" +
-      "ech.v1p1beta1.SpeechRecognitionResult\"\236\001" +
-      "\n\034LongRunningRecognizeMetadata\022\030\n\020progre" +
-      "ss_percent\030\001 \001(\005\022.\n\nstart_time\030\002 \001(\0132\032.g" +
-      "oogle.protobuf.Timestamp\0224\n\020last_update_" +
-      "time\030\003 \001(\0132\032.google.protobuf.Timestamp\"\277" +
-      "\002\n\032StreamingRecognizeResponse\022!\n\005error\030\001" +
-      " \001(\0132\022.google.rpc.Status\022J\n\007results\030\002 \003(" +
-      "\01329.google.cloud.speech.v1p1beta1.Stream" +
-      "ingRecognitionResult\022d\n\021speech_event_typ" +
-      "e\030\004 \001(\0162I.google.cloud.speech.v1p1beta1." +
-      "StreamingRecognizeResponse.SpeechEventTy" +
-      "pe\"L\n\017SpeechEventType\022\034\n\030SPEECH_EVENT_UN" +
-      "SPECIFIED\020\000\022\033\n\027END_OF_SINGLE_UTTERANCE\020\001" +
-      "\"\300\001\n\032StreamingRecognitionResult\022Q\n\014alter" +
-      "natives\030\001 \003(\0132;.google.cloud.speech.v1p1" +
-      "beta1.SpeechRecognitionAlternative\022\020\n\010is" +
-      "_final\030\002 \001(\010\022\021\n\tstability\030\003 \001(\002\022\023\n\013chann" +
-      "el_tag\030\005 \001(\005\022\025\n\rlanguage_code\030\006 \001(\t\"\230\001\n\027" +
-      "SpeechRecognitionResult\022Q\n\014alternatives\030" +
-      "\001 \003(\0132;.google.cloud.speech.v1p1beta1.Sp" +
-      "eechRecognitionAlternative\022\023\n\013channel_ta" +
-      "g\030\002 \001(\005\022\025\n\rlanguage_code\030\005 \001(\t\"~\n\034Speech" +
-      "RecognitionAlternative\022\022\n\ntranscript\030\001 \001" +
-      "(\t\022\022\n\nconfidence\030\002 \001(\002\0226\n\005words\030\003 \003(\0132\'." +
-      "google.cloud.speech.v1p1beta1.WordInfo\"\235" +
-      "\001\n\010WordInfo\022-\n\nstart_time\030\001 \001(\0132\031.google" +
-      ".protobuf.Duration\022+\n\010end_time\030\002 \001(\0132\031.g" +
-      "oogle.protobuf.Duration\022\014\n\004word\030\003 \001(\t\022\022\n" +
-      "\nconfidence\030\004 \001(\002\022\023\n\013speaker_tag\030\005 \001(\0052\330" +
-      "\003\n\006Speech\022\226\001\n\tRecognize\022/.google.cloud.s" +
-      "peech.v1p1beta1.RecognizeRequest\0320.googl" +
-      "e.cloud.speech.v1p1beta1.RecognizeRespon" +
-      "se\"&\202\323\344\223\002 \"\033/v1p1beta1/speech:recognize:" +
-      "\001*\022\244\001\n\024LongRunningRecognize\022:.google.clo" +
-      "ud.speech.v1p1beta1.LongRunningRecognize" +
-      "Request\032\035.google.longrunning.Operation\"1" +
-      "\202\323\344\223\002+\"&/v1p1beta1/speech:longrunningrec" +
-      "ognize:\001*\022\215\001\n\022StreamingRecognize\0228.googl" +
-      "e.cloud.speech.v1p1beta1.StreamingRecogn" +
-      "izeRequest\0329.google.cloud.speech.v1p1bet" +
-      "a1.StreamingRecognizeResponse(\0010\001Bz\n!com" +
-      ".google.cloud.speech.v1p1beta1B\013SpeechPr" +
-      "otoP\001ZCgoogle.golang.org/genproto/google" +
-      "apis/cloud/speech/v1p1beta1;speech\370\001\001b\006p" +
-      "roto3"
+      "nitionAlternative\022\020\n\010is_final\030\002 \001(\010\022\021\n\ts" +
+      "tability\030\003 \001(\002\"l\n\027SpeechRecognitionResul" +
+      "t\022Q\n\014alternatives\030\001 \003(\0132;.google.cloud.s" +
+      "peech.v1p1beta1.SpeechRecognitionAlterna" +
+      "tive\"~\n\034SpeechRecognitionAlternative\022\022\n\n" +
+      "transcript\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\0226\n\005" +
+      "words\030\003 \003(\0132\'.google.cloud.speech.v1p1be" +
+      "ta1.WordInfo\"t\n\010WordInfo\022-\n\nstart_time\030\001" +
+      " \001(\0132\031.google.protobuf.Duration\022+\n\010end_t" +
+      "ime\030\002 \001(\0132\031.google.protobuf.Duration\022\014\n\004" +
+      "word\030\003 \001(\t2\330\003\n\006Speech\022\226\001\n\tRecognize\022/.go" +
+      "ogle.cloud.speech.v1p1beta1.RecognizeReq" +
+      "uest\0320.google.cloud.speech.v1p1beta1.Rec" +
+      "ognizeResponse\"&\202\323\344\223\002 \"\033/v1p1beta1/speec" +
+      "h:recognize:\001*\022\244\001\n\024LongRunningRecognize\022" +
+      ":.google.cloud.speech.v1p1beta1.LongRunn" +
+      "ingRecognizeRequest\032\035.google.longrunning" +
+      ".Operation\"1\202\323\344\223\002+\"&/v1p1beta1/speech:lo" +
+      "ngrunningrecognize:\001*\022\215\001\n\022StreamingRecog" +
+      "nize\0228.google.cloud.speech.v1p1beta1.Str" +
+      "eamingRecognizeRequest\0329.google.cloud.sp" +
+      "eech.v1p1beta1.StreamingRecognizeRespons" +
+      "e(\0010\001Bz\n!com.google.cloud.speech.v1p1bet" +
+      "a1B\013SpeechProtoP\001ZCgoogle.golang.org/gen" +
+      "proto/googleapis/cloud/speech/v1p1beta1;" +
+      "speech\370\001\001b\006proto3"
     };
     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
         new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
@@ -273,7 +264,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
     internal_static_google_cloud_speech_v1p1beta1_RecognitionConfig_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_google_cloud_speech_v1p1beta1_RecognitionConfig_descriptor,
-        new java.lang.String[] { "Encoding", "SampleRateHertz", "AudioChannelCount", "EnableSeparateRecognitionPerChannel", "LanguageCode", "AlternativeLanguageCodes", "MaxAlternatives", "ProfanityFilter", "SpeechContexts", "EnableWordTimeOffsets", "EnableWordConfidence", "EnableAutomaticPunctuation", "EnableSpeakerDiarization", "DiarizationSpeakerCount", "Metadata", "Model", "UseEnhanced", });
+        new java.lang.String[] { "Encoding", "SampleRateHertz", "LanguageCode", "MaxAlternatives", "ProfanityFilter", "SpeechContexts", "EnableWordTimeOffsets", "EnableAutomaticPunctuation", "Metadata", "Model", "UseEnhanced", });
     internal_static_google_cloud_speech_v1p1beta1_RecognitionMetadata_descriptor =
       getDescriptor().getMessageTypes().get(5);
     internal_static_google_cloud_speech_v1p1beta1_RecognitionMetadata_fieldAccessorTable = new
@@ -321,13 +312,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
     internal_static_google_cloud_speech_v1p1beta1_StreamingRecognitionResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_google_cloud_speech_v1p1beta1_StreamingRecognitionResult_descriptor,
-        new java.lang.String[] { "Alternatives", "IsFinal", "Stability", "ChannelTag", "LanguageCode", });
+        new java.lang.String[] { "Alternatives", "IsFinal", "Stability", });
     internal_static_google_cloud_speech_v1p1beta1_SpeechRecognitionResult_descriptor =
       getDescriptor().getMessageTypes().get(13);
     internal_static_google_cloud_speech_v1p1beta1_SpeechRecognitionResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_google_cloud_speech_v1p1beta1_SpeechRecognitionResult_descriptor,
-        new java.lang.String[] { "Alternatives", "ChannelTag", "LanguageCode", });
+        new java.lang.String[] { "Alternatives", });
     internal_static_google_cloud_speech_v1p1beta1_SpeechRecognitionAlternative_descriptor =
       getDescriptor().getMessageTypes().get(14);
     internal_static_google_cloud_speech_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable = new
@@ -339,7 +330,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
     internal_static_google_cloud_speech_v1p1beta1_WordInfo_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_google_cloud_speech_v1p1beta1_WordInfo_descriptor,
-        new java.lang.String[] { "StartTime", "EndTime", "Word", "Confidence", "SpeakerTag", });
+        new java.lang.String[] { "StartTime", "EndTime", "Word", });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.AnnotationsProto.http);
diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResult.java b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResult.java
index 6d356b420a88..25cba65956ec 100644
--- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResult.java
+++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResult.java
@@ -21,8 +21,6 @@ private SpeechRecognitionResult(com.google.protobuf.GeneratedMessageV3.Builder alternatives_;
   /**
@@ -174,69 +160,6 @@ public com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder g
     return alternatives_.get(index);
   }
 
-  public static final int CHANNEL_TAG_FIELD_NUMBER = 2;
-  private int channelTag_;
-  /**
-   * 
-   * For multi-channel audio, this is the channel number corresponding to the
-   * recognized result for the audio from that channel.
-   * For audio_channel_count = N, its output values can range from '1' to 'N'.
-   * 
- * - * int32 channel_tag = 2; - */ - public int getChannelTag() { - return channelTag_; - } - - public static final int LANGUAGE_CODE_FIELD_NUMBER = 5; - private volatile java.lang.Object languageCode_; - /** - *
-   * Output only. The
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-   * language in this result. This language code was detected to have the most
-   * likelihood of being spoken in the audio.
-   * 
- * - * string language_code = 5; - */ - public java.lang.String getLanguageCode() { - java.lang.Object ref = languageCode_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - languageCode_ = s; - return s; - } - } - /** - *
-   * Output only. The
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-   * language in this result. This language code was detected to have the most
-   * likelihood of being spoken in the audio.
-   * 
- * - * string language_code = 5; - */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { - java.lang.Object ref = languageCode_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - languageCode_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,12 +175,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < alternatives_.size(); i++) { output.writeMessage(1, alternatives_.get(i)); } - if (channelTag_ != 0) { - output.writeInt32(2, channelTag_); - } - if (!getLanguageCodeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, languageCode_); - } unknownFields.writeTo(output); } @@ -270,13 +187,6 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, alternatives_.get(i)); } - if (channelTag_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, channelTag_); - } - if (!getLanguageCodeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, languageCode_); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -295,10 +205,6 @@ public boolean equals(final java.lang.Object obj) { boolean result = true; result = result && getAlternativesList() .equals(other.getAlternativesList()); - result = result && (getChannelTag() - == other.getChannelTag()); - result = result && getLanguageCode() - .equals(other.getLanguageCode()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -314,10 +220,6 @@ public int hashCode() { hash = (37 * hash) + ALTERNATIVES_FIELD_NUMBER; hash = (53 * hash) + getAlternativesList().hashCode(); } - hash = (37 * hash) + CHANNEL_TAG_FIELD_NUMBER; - hash = (53 * hash) + getChannelTag(); - hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER; - hash = (53 * hash) + getLanguageCode().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -458,10 +360,6 @@ public Builder clear() { } else { alternativesBuilder_.clear(); } - channelTag_ = 0; - - languageCode_ = ""; - return this; } @@ -485,7 +383,6 @@ public com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult build() { public com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult buildPartial() { com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult result = new com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -495,9 +392,6 @@ public com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult buildPartial() } else { result.alternatives_ = alternativesBuilder_.build(); } - result.channelTag_ = channelTag_; - result.languageCode_ = languageCode_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -565,13 +459,6 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.SpeechRecognitionResu } } } - if (other.getChannelTag() != 0) { - setChannelTag(other.getChannelTag()); - } - if (!other.getLanguageCode().isEmpty()) { - languageCode_ = other.languageCode_; - onChanged(); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -965,154 +852,6 @@ public com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative.Builder ad } return alternativesBuilder_; } - - private int channelTag_ ; - /** - *
-     * For multi-channel audio, this is the channel number corresponding to the
-     * recognized result for the audio from that channel.
-     * For audio_channel_count = N, its output values can range from '1' to 'N'.
-     * 
- * - * int32 channel_tag = 2; - */ - public int getChannelTag() { - return channelTag_; - } - /** - *
-     * For multi-channel audio, this is the channel number corresponding to the
-     * recognized result for the audio from that channel.
-     * For audio_channel_count = N, its output values can range from '1' to 'N'.
-     * 
- * - * int32 channel_tag = 2; - */ - public Builder setChannelTag(int value) { - - channelTag_ = value; - onChanged(); - return this; - } - /** - *
-     * For multi-channel audio, this is the channel number corresponding to the
-     * recognized result for the audio from that channel.
-     * For audio_channel_count = N, its output values can range from '1' to 'N'.
-     * 
- * - * int32 channel_tag = 2; - */ - public Builder clearChannelTag() { - - channelTag_ = 0; - onChanged(); - return this; - } - - private java.lang.Object languageCode_ = ""; - /** - *
-     * Output only. The
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-     * language in this result. This language code was detected to have the most
-     * likelihood of being spoken in the audio.
-     * 
- * - * string language_code = 5; - */ - public java.lang.String getLanguageCode() { - java.lang.Object ref = languageCode_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - languageCode_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-     * Output only. The
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-     * language in this result. This language code was detected to have the most
-     * likelihood of being spoken in the audio.
-     * 
- * - * string language_code = 5; - */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { - java.lang.Object ref = languageCode_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - languageCode_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-     * Output only. The
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-     * language in this result. This language code was detected to have the most
-     * likelihood of being spoken in the audio.
-     * 
- * - * string language_code = 5; - */ - public Builder setLanguageCode( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - languageCode_ = value; - onChanged(); - return this; - } - /** - *
-     * Output only. The
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-     * language in this result. This language code was detected to have the most
-     * likelihood of being spoken in the audio.
-     * 
- * - * string language_code = 5; - */ - public Builder clearLanguageCode() { - - languageCode_ = getDefaultInstance().getLanguageCode(); - onChanged(); - return this; - } - /** - *
-     * Output only. The
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-     * language in this result. This language code was detected to have the most
-     * likelihood of being spoken in the audio.
-     * 
- * - * string language_code = 5; - */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - languageCode_ = value; - onChanged(); - return this; - } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResultOrBuilder.java b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResultOrBuilder.java index e7c9474105cd..5544ddc22475 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResultOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResultOrBuilder.java @@ -65,39 +65,4 @@ public interface SpeechRecognitionResultOrBuilder extends */ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( int index); - - /** - *
-   * For multi-channel audio, this is the channel number corresponding to the
-   * recognized result for the audio from that channel.
-   * For audio_channel_count = N, its output values can range from '1' to 'N'.
-   * 
- * - * int32 channel_tag = 2; - */ - int getChannelTag(); - - /** - *
-   * Output only. The
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-   * language in this result. This language code was detected to have the most
-   * likelihood of being spoken in the audio.
-   * 
- * - * string language_code = 5; - */ - java.lang.String getLanguageCode(); - /** - *
-   * Output only. The
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-   * language in this result. This language code was detected to have the most
-   * likelihood of being spoken in the audio.
-   * 
- * - * string language_code = 5; - */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); } diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResult.java b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResult.java index fd563d43977a..7e188addda7f 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResult.java +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResult.java @@ -24,8 +24,6 @@ private StreamingRecognitionResult() { alternatives_ = java.util.Collections.emptyList(); isFinal_ = false; stability_ = 0F; - channelTag_ = 0; - languageCode_ = ""; } @java.lang.Override @@ -78,17 +76,6 @@ private StreamingRecognitionResult( stability_ = input.readFloat(); break; } - case 40: { - - channelTag_ = input.readInt32(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - languageCode_ = s; - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -221,69 +208,6 @@ public float getStability() { return stability_; } - public static final int CHANNEL_TAG_FIELD_NUMBER = 5; - private int channelTag_; - /** - *
-   * For multi-channel audio, this is the channel number corresponding to the
-   * recognized result for the audio from that channel.
-   * For audio_channel_count = N, its output values can range from '1' to 'N'.
-   * 
- * - * int32 channel_tag = 5; - */ - public int getChannelTag() { - return channelTag_; - } - - public static final int LANGUAGE_CODE_FIELD_NUMBER = 6; - private volatile java.lang.Object languageCode_; - /** - *
-   * Output only. The
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-   * language in this result. This language code was detected to have the most
-   * likelihood of being spoken in the audio.
-   * 
- * - * string language_code = 6; - */ - public java.lang.String getLanguageCode() { - java.lang.Object ref = languageCode_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - languageCode_ = s; - return s; - } - } - /** - *
-   * Output only. The
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-   * language in this result. This language code was detected to have the most
-   * likelihood of being spoken in the audio.
-   * 
- * - * string language_code = 6; - */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { - java.lang.Object ref = languageCode_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - languageCode_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,12 +229,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (stability_ != 0F) { output.writeFloat(3, stability_); } - if (channelTag_ != 0) { - output.writeInt32(5, channelTag_); - } - if (!getLanguageCodeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, languageCode_); - } unknownFields.writeTo(output); } @@ -331,13 +249,6 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeFloatSize(3, stability_); } - if (channelTag_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, channelTag_); - } - if (!getLanguageCodeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, languageCode_); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -362,10 +273,6 @@ public boolean equals(final java.lang.Object obj) { java.lang.Float.floatToIntBits(getStability()) == java.lang.Float.floatToIntBits( other.getStability())); - result = result && (getChannelTag() - == other.getChannelTag()); - result = result && getLanguageCode() - .equals(other.getLanguageCode()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -387,10 +294,6 @@ public int hashCode() { hash = (37 * hash) + STABILITY_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getStability()); - hash = (37 * hash) + CHANNEL_TAG_FIELD_NUMBER; - hash = (53 * hash) + getChannelTag(); - hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER; - hash = (53 * hash) + getLanguageCode().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -536,10 +439,6 @@ public Builder clear() { stability_ = 0F; - channelTag_ = 0; - - languageCode_ = ""; - return this; } @@ -575,8 +474,6 @@ public com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult buildPartial } result.isFinal_ = isFinal_; result.stability_ = stability_; - result.channelTag_ = channelTag_; - result.languageCode_ = languageCode_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -651,13 +548,6 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.StreamingRecognitionR if (other.getStability() != 0F) { setStability(other.getStability()); } - if (other.getChannelTag() != 0) { - setChannelTag(other.getChannelTag()); - } - if (!other.getLanguageCode().isEmpty()) { - languageCode_ = other.languageCode_; - onChanged(); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1151,154 +1041,6 @@ public Builder clearStability() { onChanged(); return this; } - - private int channelTag_ ; - /** - *
-     * For multi-channel audio, this is the channel number corresponding to the
-     * recognized result for the audio from that channel.
-     * For audio_channel_count = N, its output values can range from '1' to 'N'.
-     * 
- * - * int32 channel_tag = 5; - */ - public int getChannelTag() { - return channelTag_; - } - /** - *
-     * For multi-channel audio, this is the channel number corresponding to the
-     * recognized result for the audio from that channel.
-     * For audio_channel_count = N, its output values can range from '1' to 'N'.
-     * 
- * - * int32 channel_tag = 5; - */ - public Builder setChannelTag(int value) { - - channelTag_ = value; - onChanged(); - return this; - } - /** - *
-     * For multi-channel audio, this is the channel number corresponding to the
-     * recognized result for the audio from that channel.
-     * For audio_channel_count = N, its output values can range from '1' to 'N'.
-     * 
- * - * int32 channel_tag = 5; - */ - public Builder clearChannelTag() { - - channelTag_ = 0; - onChanged(); - return this; - } - - private java.lang.Object languageCode_ = ""; - /** - *
-     * Output only. The
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-     * language in this result. This language code was detected to have the most
-     * likelihood of being spoken in the audio.
-     * 
- * - * string language_code = 6; - */ - public java.lang.String getLanguageCode() { - java.lang.Object ref = languageCode_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - languageCode_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-     * Output only. The
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-     * language in this result. This language code was detected to have the most
-     * likelihood of being spoken in the audio.
-     * 
- * - * string language_code = 6; - */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { - java.lang.Object ref = languageCode_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - languageCode_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-     * Output only. The
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-     * language in this result. This language code was detected to have the most
-     * likelihood of being spoken in the audio.
-     * 
- * - * string language_code = 6; - */ - public Builder setLanguageCode( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - languageCode_ = value; - onChanged(); - return this; - } - /** - *
-     * Output only. The
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-     * language in this result. This language code was detected to have the most
-     * likelihood of being spoken in the audio.
-     * 
- * - * string language_code = 6; - */ - public Builder clearLanguageCode() { - - languageCode_ = getDefaultInstance().getLanguageCode(); - onChanged(); - return this; - } - /** - *
-     * Output only. The
-     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-     * language in this result. This language code was detected to have the most
-     * likelihood of being spoken in the audio.
-     * 
- * - * string language_code = 6; - */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - languageCode_ = value; - onChanged(); - return this; - } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResultOrBuilder.java b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResultOrBuilder.java index 445015b286b7..76a508fd71a1 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResultOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResultOrBuilder.java @@ -91,39 +91,4 @@ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlter * float stability = 3; */ float getStability(); - - /** - *
-   * For multi-channel audio, this is the channel number corresponding to the
-   * recognized result for the audio from that channel.
-   * For audio_channel_count = N, its output values can range from '1' to 'N'.
-   * 
- * - * int32 channel_tag = 5; - */ - int getChannelTag(); - - /** - *
-   * Output only. The
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-   * language in this result. This language code was detected to have the most
-   * likelihood of being spoken in the audio.
-   * 
- * - * string language_code = 6; - */ - java.lang.String getLanguageCode(); - /** - *
-   * Output only. The
-   * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
-   * language in this result. This language code was detected to have the most
-   * likelihood of being spoken in the audio.
-   * 
- * - * string language_code = 6; - */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); } diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfo.java b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfo.java index 0eddd9c6e8bd..9bef41cdfbf7 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfo.java +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfo.java @@ -21,8 +21,6 @@ private WordInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { } private WordInfo() { word_ = ""; - confidence_ = 0F; - speakerTag_ = 0; } @java.lang.Override @@ -88,16 +86,6 @@ private WordInfo( word_ = s; break; } - case 37: { - - confidence_ = input.readFloat(); - break; - } - case 40: { - - speakerTag_ = input.readInt32(); - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -260,42 +248,6 @@ public java.lang.String getWord() { } } - public static final int CONFIDENCE_FIELD_NUMBER = 4; - private float confidence_; - /** - *
-   * Output only. The confidence estimate between 0.0 and 1.0. A higher number
-   * indicates an estimated greater likelihood that the recognized words are
-   * correct. This field is set only for the top alternative of a non-streaming
-   * result or, of a streaming result where `is_final=true`.
-   * This field is not guaranteed to be accurate and users should not rely on it
-   * to be always provided.
-   * The default of 0.0 is a sentinel value indicating `confidence` was not set.
-   * 
- * - * float confidence = 4; - */ - public float getConfidence() { - return confidence_; - } - - public static final int SPEAKER_TAG_FIELD_NUMBER = 5; - private int speakerTag_; - /** - *
-   * Output only. A distinct integer value is assigned for every speaker within
-   * the audio. This field specifies which one of those speakers was detected to
-   * have spoken this word. Value ranges from '1' to diarization_speaker_count.
-   * speaker_tag is set if enable_speaker_diarization = 'true' and only in the
-   * top alternative.
-   * 
- * - * int32 speaker_tag = 5; - */ - public int getSpeakerTag() { - return speakerTag_; - } - private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -317,12 +269,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getWordBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, word_); } - if (confidence_ != 0F) { - output.writeFloat(4, confidence_); - } - if (speakerTag_ != 0) { - output.writeInt32(5, speakerTag_); - } unknownFields.writeTo(output); } @@ -342,14 +288,6 @@ public int getSerializedSize() { if (!getWordBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, word_); } - if (confidence_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, confidence_); - } - if (speakerTag_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, speakerTag_); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -378,12 +316,6 @@ public boolean equals(final java.lang.Object obj) { } result = result && getWord() .equals(other.getWord()); - result = result && ( - java.lang.Float.floatToIntBits(getConfidence()) - == java.lang.Float.floatToIntBits( - other.getConfidence())); - result = result && (getSpeakerTag() - == other.getSpeakerTag()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -405,11 +337,6 @@ public int hashCode() { } hash = (37 * hash) + WORD_FIELD_NUMBER; hash = (53 * hash) + getWord().hashCode(); - hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); - hash = (37 * hash) + SPEAKER_TAG_FIELD_NUMBER; - hash = (53 * hash) + getSpeakerTag(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -557,10 +484,6 @@ public Builder clear() { } word_ = ""; - confidence_ = 0F; - - speakerTag_ = 0; - return this; } @@ -594,8 +517,6 @@ public com.google.cloud.speech.v1p1beta1.WordInfo buildPartial() { result.endTime_ = endTimeBuilder_.build(); } result.word_ = word_; - result.confidence_ = confidence_; - result.speakerTag_ = speakerTag_; onBuilt(); return result; } @@ -647,12 +568,6 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.WordInfo other) { word_ = other.word_; onChanged(); } - if (other.getConfidence() != 0F) { - setConfidence(other.getConfidence()); - } - if (other.getSpeakerTag() != 0) { - setSpeakerTag(other.getSpeakerTag()); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1164,112 +1079,6 @@ public Builder setWordBytes( onChanged(); return this; } - - private float confidence_ ; - /** - *
-     * Output only. The confidence estimate between 0.0 and 1.0. A higher number
-     * indicates an estimated greater likelihood that the recognized words are
-     * correct. This field is set only for the top alternative of a non-streaming
-     * result or, of a streaming result where `is_final=true`.
-     * This field is not guaranteed to be accurate and users should not rely on it
-     * to be always provided.
-     * The default of 0.0 is a sentinel value indicating `confidence` was not set.
-     * 
- * - * float confidence = 4; - */ - public float getConfidence() { - return confidence_; - } - /** - *
-     * Output only. The confidence estimate between 0.0 and 1.0. A higher number
-     * indicates an estimated greater likelihood that the recognized words are
-     * correct. This field is set only for the top alternative of a non-streaming
-     * result or, of a streaming result where `is_final=true`.
-     * This field is not guaranteed to be accurate and users should not rely on it
-     * to be always provided.
-     * The default of 0.0 is a sentinel value indicating `confidence` was not set.
-     * 
- * - * float confidence = 4; - */ - public Builder setConfidence(float value) { - - confidence_ = value; - onChanged(); - return this; - } - /** - *
-     * Output only. The confidence estimate between 0.0 and 1.0. A higher number
-     * indicates an estimated greater likelihood that the recognized words are
-     * correct. This field is set only for the top alternative of a non-streaming
-     * result or, of a streaming result where `is_final=true`.
-     * This field is not guaranteed to be accurate and users should not rely on it
-     * to be always provided.
-     * The default of 0.0 is a sentinel value indicating `confidence` was not set.
-     * 
- * - * float confidence = 4; - */ - public Builder clearConfidence() { - - confidence_ = 0F; - onChanged(); - return this; - } - - private int speakerTag_ ; - /** - *
-     * Output only. A distinct integer value is assigned for every speaker within
-     * the audio. This field specifies which one of those speakers was detected to
-     * have spoken this word. Value ranges from '1' to diarization_speaker_count.
-     * speaker_tag is set if enable_speaker_diarization = 'true' and only in the
-     * top alternative.
-     * 
- * - * int32 speaker_tag = 5; - */ - public int getSpeakerTag() { - return speakerTag_; - } - /** - *
-     * Output only. A distinct integer value is assigned for every speaker within
-     * the audio. This field specifies which one of those speakers was detected to
-     * have spoken this word. Value ranges from '1' to diarization_speaker_count.
-     * speaker_tag is set if enable_speaker_diarization = 'true' and only in the
-     * top alternative.
-     * 
- * - * int32 speaker_tag = 5; - */ - public Builder setSpeakerTag(int value) { - - speakerTag_ = value; - onChanged(); - return this; - } - /** - *
-     * Output only. A distinct integer value is assigned for every speaker within
-     * the audio. This field specifies which one of those speakers was detected to
-     * have spoken this word. Value ranges from '1' to diarization_speaker_count.
-     * speaker_tag is set if enable_speaker_diarization = 'true' and only in the
-     * top alternative.
-     * 
- * - * int32 speaker_tag = 5; - */ - public Builder clearSpeakerTag() { - - speakerTag_ = 0; - onChanged(); - return this; - } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfoOrBuilder.java b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfoOrBuilder.java index c47302b64c6c..c6d2e8478d81 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfoOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfoOrBuilder.java @@ -104,32 +104,4 @@ public interface WordInfoOrBuilder extends */ com.google.protobuf.ByteString getWordBytes(); - - /** - *
-   * Output only. The confidence estimate between 0.0 and 1.0. A higher number
-   * indicates an estimated greater likelihood that the recognized words are
-   * correct. This field is set only for the top alternative of a non-streaming
-   * result or, of a streaming result where `is_final=true`.
-   * This field is not guaranteed to be accurate and users should not rely on it
-   * to be always provided.
-   * The default of 0.0 is a sentinel value indicating `confidence` was not set.
-   * 
- * - * float confidence = 4; - */ - float getConfidence(); - - /** - *
-   * Output only. A distinct integer value is assigned for every speaker within
-   * the audio. This field specifies which one of those speakers was detected to
-   * have spoken this word. Value ranges from '1' to diarization_speaker_count.
-   * speaker_tag is set if enable_speaker_diarization = 'true' and only in the
-   * top alternative.
-   * 
- * - * int32 speaker_tag = 5; - */ - int getSpeakerTag(); } diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech.proto b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech.proto index 208f53633e02..77e4e1081662 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech.proto +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech.proto @@ -212,25 +212,6 @@ message RecognitionConfig { // for all other audio formats. For details, see [AudioEncoding][google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding]. int32 sample_rate_hertz = 2; - // *Optional* The number of channels in the input audio data. - // ONLY set this for MULTI-CHANNEL recognition. - // Valid values for LINEAR16 and FLAC are `1`-`8`. - // Valid values for OGG_OPUS are '1'-'254'. - // Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`. - // If `0` or omitted, defaults to one channel (mono). - // NOTE: We only recognize the first channel by default. - // To perform independent recognition on each channel set - // enable_separate_recognition_per_channel to 'true'. - int32 audio_channel_count = 7; - - // This needs to be set to ‘true’ explicitly and audio_channel_count > 1 - // to get each channel recognized separately. The recognition result will - // contain a channel_tag field to state which channel that result belongs to. - // If this is not ‘true’, we will only recognize the first channel. - // NOTE: The request is also billed cumulatively for all channels recognized: - // (audio_channel_count times the audio length) - bool enable_separate_recognition_per_channel = 12; - // *Required* The language of the supplied audio as a // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. // Example: "en-US". @@ -238,20 +219,6 @@ message RecognitionConfig { // for a list of the currently supported language codes. string language_code = 3; - // *Optional* A list of up to 3 additional - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags, - // listing possible alternative languages of the supplied audio. - // See [Language Support](https://cloud.google.com/speech/docs/languages) - // for a list of the currently supported language codes. - // If alternative languages are listed, recognition result will contain - // recognition in the most likely language detected including the main - // language_code. The recognition result will include the language tag - // of the language detected in the audio. - // NOTE: This feature is only supported for Voice Command and Voice Search - // use cases and performance may vary for other use cases (e.g., phone call - // transcription). - repeated string alternative_language_codes = 18; - // *Optional* Maximum number of recognition hypotheses to be returned. // Specifically, the maximum number of `SpeechRecognitionAlternative` messages // within each `SpeechRecognitionResult`. @@ -275,11 +242,6 @@ message RecognitionConfig { // `false`. bool enable_word_time_offsets = 8; - // *Optional* If `true`, the top result includes a list of words and the - // confidence for those words. If `false`, no word-level confidence - // information is returned. The default is `false`. - bool enable_word_confidence = 15; - // *Optional* If 'true', adds punctuation to recognition result hypotheses. // This feature is only available in select languages. Setting this for // requests in other languages has no effect at all. @@ -289,21 +251,6 @@ message RecognitionConfig { // premium feature." bool enable_automatic_punctuation = 11; - // *Optional* If 'true', enables speaker detection for each recognized word in - // the top alternative of the recognition result using a speaker_tag provided - // in the WordInfo. - // Note: When this is true, we send all the words from the beginning of the - // audio for the top alternative in every consecutive responses. - // This is done in order to improve our speaker tags as our models learn to - // identify the speakers in the conversation over time. - bool enable_speaker_diarization = 16; - - // *Optional* - // If set, specifies the estimated number of speakers in the conversation. - // If not set, defaults to '2'. - // Ignored unless enable_speaker_diarization is set to true." - int32 diarization_speaker_count = 17; - // *Optional* Metadata regarding this request. RecognitionMetadata metadata = 9; @@ -657,17 +604,6 @@ message StreamingRecognitionResult { // This field is only provided for interim results (`is_final=false`). // The default of 0.0 is a sentinel value indicating `stability` was not set. float stability = 3; - - // For multi-channel audio, this is the channel number corresponding to the - // recognized result for the audio from that channel. - // For audio_channel_count = N, its output values can range from '1' to 'N'. - int32 channel_tag = 5; - - // Output only. The - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the - // language in this result. This language code was detected to have the most - // likelihood of being spoken in the audio. - string language_code = 6; } // A speech recognition result corresponding to a portion of the audio. @@ -677,17 +613,6 @@ message SpeechRecognitionResult { // These alternatives are ordered in terms of accuracy, with the top (first) // alternative being the most probable, as ranked by the recognizer. repeated SpeechRecognitionAlternative alternatives = 1; - - // For multi-channel audio, this is the channel number corresponding to the - // recognized result for the audio from that channel. - // For audio_channel_count = N, its output values can range from '1' to 'N'. - int32 channel_tag = 2; - - // Output only. The - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the - // language in this result. This language code was detected to have the most - // likelihood of being spoken in the audio. - string language_code = 5; } // Alternative hypotheses (a.k.a. n-best list). @@ -730,21 +655,4 @@ message WordInfo { // Output only. The word corresponding to this set of information. string word = 3; - - // Output only. The confidence estimate between 0.0 and 1.0. A higher number - // indicates an estimated greater likelihood that the recognized words are - // correct. This field is set only for the top alternative of a non-streaming - // result or, of a streaming result where `is_final=true`. - // This field is not guaranteed to be accurate and users should not rely on it - // to be always provided. - // The default of 0.0 is a sentinel value indicating `confidence` was not set. - float confidence = 4; - - // Output only. A distinct integer value is assigned for every speaker within - // the audio. This field specifies which one of those speakers was detected to - // have spoken this word. Value ranges from '1' to diarization_speaker_count. - // speaker_tag is set if enable_speaker_diarization = 'true' and only in the - // top alternative. - int32 speaker_tag = 5; - } diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfig.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfig.java index 39f5f589a4ed..321ef1b3ea24 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfig.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfig.java @@ -37,6 +37,9 @@ private AudioConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -857,7 +860,7 @@ public AudioConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioConfig(input, extensionRegistry); + return new AudioConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesRequest.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesRequest.java index 1a75939a17b2..c76ded93fa8f 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesRequest.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesRequest.java @@ -33,6 +33,9 @@ private ListVoicesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -577,7 +580,7 @@ public ListVoicesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVoicesRequest(input, extensionRegistry); + return new ListVoicesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesResponse.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesResponse.java index 8a3973592ee0..cecca6db7d9b 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesResponse.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/ListVoicesResponse.java @@ -33,6 +33,9 @@ private ListVoicesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public ListVoicesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVoicesResponse(input, extensionRegistry); + return new ListVoicesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInput.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInput.java index 10200a5411c8..7096500138b4 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInput.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesisInput.java @@ -35,6 +35,9 @@ private SynthesisInput( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -832,7 +835,7 @@ public SynthesisInput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SynthesisInput(input, extensionRegistry); + return new SynthesisInput(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesizeSpeechRequest.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesizeSpeechRequest.java index e00b67b862d1..bd0b1c6f228d 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesizeSpeechRequest.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesizeSpeechRequest.java @@ -32,6 +32,9 @@ private SynthesizeSpeechRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1060,7 +1063,7 @@ public SynthesizeSpeechRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SynthesizeSpeechRequest(input, extensionRegistry); + return new SynthesizeSpeechRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesizeSpeechResponse.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesizeSpeechResponse.java index c553352af295..19ea28eb872b 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesizeSpeechResponse.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/SynthesizeSpeechResponse.java @@ -33,6 +33,9 @@ private SynthesizeSpeechResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -462,7 +465,7 @@ public SynthesizeSpeechResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SynthesizeSpeechResponse(input, extensionRegistry); + return new SynthesizeSpeechResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java index 842a6eb1a0b1..b06155ef6cd8 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java @@ -72,7 +72,7 @@ public static void registerAllExtensions( "anguage_codes\030\001 \003(\t\022\014\n\004name\030\002 \001(\t\022B\n\013ssm" + "l_gender\030\003 \001(\0162-.google.cloud.texttospee" + "ch.v1.SsmlVoiceGender\022!\n\031natural_sample_" + - "rate_hertz\030\004 \001(\005\"\332\001\n\027SynthesizeSpeechReq", + "rate_hertz\030\004 \001(\005\"\332\001\n\027SynthesizeSpeechReq" + "uest\022;\n\005input\030\001 \001(\0132,.google.cloud.textt" + "ospeech.v1.SynthesisInput\022A\n\005voice\030\002 \001(\013" + "22.google.cloud.texttospeech.v1.VoiceSel" + @@ -82,7 +82,7 @@ public static void registerAllExtensions( "\002 \001(\tH\000B\016\n\014input_source\"\177\n\024VoiceSelectio" + "nParams\022\025\n\rlanguage_code\030\001 \001(\t\022\014\n\004name\030\002" + " \001(\t\022B\n\013ssml_gender\030\003 \001(\0162-.google.cloud" + - ".texttospeech.v1.SsmlVoiceGender\"\253\001\n\013Aud", + ".texttospeech.v1.SsmlVoiceGender\"\253\001\n\013Aud" + "ioConfig\022C\n\016audio_encoding\030\001 \001(\0162+.googl" + "e.cloud.texttospeech.v1.AudioEncoding\022\025\n" + "\rspeaking_rate\030\002 \001(\001\022\r\n\005pitch\030\003 \001(\001\022\026\n\016v" + @@ -92,7 +92,7 @@ public static void registerAllExtensions( "SSML_VOICE_GENDER_UNSPECIFIED\020\000\022\010\n\004MALE\020" + "\001\022\n\n\006FEMALE\020\002\022\013\n\007NEUTRAL\020\003*T\n\rAudioEncod" + "ing\022\036\n\032AUDIO_ENCODING_UNSPECIFIED\020\000\022\014\n\010L" + - "INEAR16\020\001\022\007\n\003MP3\020\002\022\014\n\010OGG_OPUS\020\0032\270\002\n\014Tex", + "INEAR16\020\001\022\007\n\003MP3\020\002\022\014\n\010OGG_OPUS\020\0032\270\002\n\014Tex" + "tToSpeech\022\203\001\n\nListVoices\022/.google.cloud." + "texttospeech.v1.ListVoicesRequest\0320.goog" + "le.cloud.texttospeech.v1.ListVoicesRespo" + @@ -100,11 +100,12 @@ public static void registerAllExtensions( "eech\0225.google.cloud.texttospeech.v1.Synt" + "hesizeSpeechRequest\0326.google.cloud.textt" + "ospeech.v1.SynthesizeSpeechResponse\"\036\202\323\344" + - "\223\002\030\"\023/v1/text:synthesize:\001*B\204\001\n com.goog" + + "\223\002\030\"\023/v1/text:synthesize:\001*B\302\001\n com.goog" + "le.cloud.texttospeech.v1B\021TextToSpeechPr" + - "otoP\001ZHgoogle.golang.org/genproto/google", + "otoP\001ZHgoogle.golang.org/genproto/google" + "apis/cloud/texttospeech/v1;texttospeech\370" + - "\001\001b\006proto3" + "\001\001\252\002\034Google.Cloud.TextToSpeech.V1\312\002\034Goog" + + "le\\Cloud\\TextToSpeech\\V1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/Voice.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/Voice.java index 40d09f9fbc7c..63b486b6e0d4 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/Voice.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/Voice.java @@ -36,6 +36,9 @@ private Voice( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -966,7 +969,7 @@ public Voice parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Voice(input, extensionRegistry); + return new Voice(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/VoiceSelectionParams.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/VoiceSelectionParams.java index 94e5efda6535..27475c7dfbfc 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/VoiceSelectionParams.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/VoiceSelectionParams.java @@ -35,6 +35,9 @@ private VoiceSelectionParams( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -899,7 +902,7 @@ public VoiceSelectionParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VoiceSelectionParams(input, extensionRegistry); + return new VoiceSelectionParams(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto index 102ff37e9d9a..0ccbde389214 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto @@ -19,10 +19,12 @@ package google.cloud.texttospeech.v1; import "google/api/annotations.proto"; option cc_enable_arenas = true; +option csharp_namespace = "Google.Cloud.TextToSpeech.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1;texttospeech"; option java_multiple_files = true; option java_outer_classname = "TextToSpeechProto"; option java_package = "com.google.cloud.texttospeech.v1"; +option php_namespace = "Google\\Cloud\\TextToSpeech\\V1"; // Service that implements Google Cloud Text-to-Speech API. diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioConfig.java b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioConfig.java index ba402d361f61..0c91c5ef5b78 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioConfig.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioConfig.java @@ -25,6 +25,7 @@ private AudioConfig() { pitch_ = 0D; volumeGainDb_ = 0D; sampleRateHertz_ = 0; + effectsProfileId_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @@ -37,6 +38,9 @@ private AudioConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -81,6 +85,15 @@ private AudioConfig( sampleRateHertz_ = input.readInt32(); break; } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + effectsProfileId_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000020; + } + effectsProfileId_.add(s); + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -89,6 +102,9 @@ private AudioConfig( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + effectsProfileId_ = effectsProfileId_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -105,6 +121,7 @@ private AudioConfig( com.google.cloud.texttospeech.v1beta1.AudioConfig.class, com.google.cloud.texttospeech.v1beta1.AudioConfig.Builder.class); } + private int bitField0_; public static final int AUDIO_ENCODING_FIELD_NUMBER = 1; private int audioEncoding_; /** @@ -198,6 +215,59 @@ public int getSampleRateHertz() { return sampleRateHertz_; } + public static final int EFFECTS_PROFILE_ID_FIELD_NUMBER = 6; + private com.google.protobuf.LazyStringList effectsProfileId_; + /** + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + public com.google.protobuf.ProtocolStringList + getEffectsProfileIdList() { + return effectsProfileId_; + } + /** + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + public int getEffectsProfileIdCount() { + return effectsProfileId_.size(); + } + /** + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + public java.lang.String getEffectsProfileId(int index) { + return effectsProfileId_.get(index); + } + /** + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + public com.google.protobuf.ByteString + getEffectsProfileIdBytes(int index) { + return effectsProfileId_.getByteString(index); + } + private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,6 +295,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (sampleRateHertz_ != 0) { output.writeInt32(5, sampleRateHertz_); } + for (int i = 0; i < effectsProfileId_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, effectsProfileId_.getRaw(i)); + } unknownFields.writeTo(output); } @@ -253,6 +326,14 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, sampleRateHertz_); } + { + int dataSize = 0; + for (int i = 0; i < effectsProfileId_.size(); i++) { + dataSize += computeStringSizeNoTag(effectsProfileId_.getRaw(i)); + } + size += dataSize; + size += 1 * getEffectsProfileIdList().size(); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -284,6 +365,8 @@ public boolean equals(final java.lang.Object obj) { other.getVolumeGainDb())); result = result && (getSampleRateHertz() == other.getSampleRateHertz()); + result = result && getEffectsProfileIdList() + .equals(other.getEffectsProfileIdList()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -308,6 +391,10 @@ public int hashCode() { java.lang.Double.doubleToLongBits(getVolumeGainDb())); hash = (37 * hash) + SAMPLE_RATE_HERTZ_FIELD_NUMBER; hash = (53 * hash) + getSampleRateHertz(); + if (getEffectsProfileIdCount() > 0) { + hash = (37 * hash) + EFFECTS_PROFILE_ID_FIELD_NUMBER; + hash = (53 * hash) + getEffectsProfileIdList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -451,6 +538,8 @@ public Builder clear() { sampleRateHertz_ = 0; + effectsProfileId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000020); return this; } @@ -473,11 +562,19 @@ public com.google.cloud.texttospeech.v1beta1.AudioConfig build() { public com.google.cloud.texttospeech.v1beta1.AudioConfig buildPartial() { com.google.cloud.texttospeech.v1beta1.AudioConfig result = new com.google.cloud.texttospeech.v1beta1.AudioConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; result.audioEncoding_ = audioEncoding_; result.speakingRate_ = speakingRate_; result.pitch_ = pitch_; result.volumeGainDb_ = volumeGainDb_; result.sampleRateHertz_ = sampleRateHertz_; + if (((bitField0_ & 0x00000020) == 0x00000020)) { + effectsProfileId_ = effectsProfileId_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.effectsProfileId_ = effectsProfileId_; + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -534,6 +631,16 @@ public Builder mergeFrom(com.google.cloud.texttospeech.v1beta1.AudioConfig other if (other.getSampleRateHertz() != 0) { setSampleRateHertz(other.getSampleRateHertz()); } + if (!other.effectsProfileId_.isEmpty()) { + if (effectsProfileId_.isEmpty()) { + effectsProfileId_ = other.effectsProfileId_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureEffectsProfileIdIsMutable(); + effectsProfileId_.addAll(other.effectsProfileId_); + } + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -560,6 +667,7 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private int audioEncoding_ = 0; /** @@ -827,6 +935,154 @@ public Builder clearSampleRateHertz() { onChanged(); return this; } + + private com.google.protobuf.LazyStringList effectsProfileId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureEffectsProfileIdIsMutable() { + if (!((bitField0_ & 0x00000020) == 0x00000020)) { + effectsProfileId_ = new com.google.protobuf.LazyStringArrayList(effectsProfileId_); + bitField0_ |= 0x00000020; + } + } + /** + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public com.google.protobuf.ProtocolStringList + getEffectsProfileIdList() { + return effectsProfileId_.getUnmodifiableView(); + } + /** + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public int getEffectsProfileIdCount() { + return effectsProfileId_.size(); + } + /** + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public java.lang.String getEffectsProfileId(int index) { + return effectsProfileId_.get(index); + } + /** + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public com.google.protobuf.ByteString + getEffectsProfileIdBytes(int index) { + return effectsProfileId_.getByteString(index); + } + /** + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public Builder setEffectsProfileId( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEffectsProfileIdIsMutable(); + effectsProfileId_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public Builder addEffectsProfileId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEffectsProfileIdIsMutable(); + effectsProfileId_.add(value); + onChanged(); + return this; + } + /** + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public Builder addAllEffectsProfileId( + java.lang.Iterable values) { + ensureEffectsProfileIdIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, effectsProfileId_); + onChanged(); + return this; + } + /** + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public Builder clearEffectsProfileId() { + effectsProfileId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public Builder addEffectsProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureEffectsProfileIdIsMutable(); + effectsProfileId_.add(value); + onChanged(); + return this; + } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); @@ -857,7 +1113,7 @@ public AudioConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioConfig(input, extensionRegistry); + return new AudioConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioConfigOrBuilder.java index 41065be978cb..41166a1d4c68 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioConfigOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/AudioConfigOrBuilder.java @@ -76,4 +76,47 @@ public interface AudioConfigOrBuilder extends * int32 sample_rate_hertz = 5; */ int getSampleRateHertz(); + + /** + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + java.util.List + getEffectsProfileIdList(); + /** + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + int getEffectsProfileIdCount(); + /** + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + java.lang.String getEffectsProfileId(int index); + /** + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + com.google.protobuf.ByteString + getEffectsProfileIdBytes(int index); } diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequest.java b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequest.java index f4ec95410551..41c463103f1d 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequest.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesRequest.java @@ -33,6 +33,9 @@ private ListVoicesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -577,7 +580,7 @@ public ListVoicesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVoicesRequest(input, extensionRegistry); + return new ListVoicesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesResponse.java b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesResponse.java index b93c97ad1fb5..a34acd05af56 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesResponse.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/ListVoicesResponse.java @@ -33,6 +33,9 @@ private ListVoicesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public ListVoicesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVoicesResponse(input, extensionRegistry); + return new ListVoicesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInput.java b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInput.java index ada5664d9a58..b457d15bf4fe 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInput.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesisInput.java @@ -35,6 +35,9 @@ private SynthesisInput( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -832,7 +835,7 @@ public SynthesisInput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SynthesisInput(input, extensionRegistry); + return new SynthesisInput(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequest.java b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequest.java index 56255e34aec1..42a6d8b765c7 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequest.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechRequest.java @@ -32,6 +32,9 @@ private SynthesizeSpeechRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1060,7 +1063,7 @@ public SynthesizeSpeechRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SynthesizeSpeechRequest(input, extensionRegistry); + return new SynthesizeSpeechRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechResponse.java b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechResponse.java index 1e6e92790212..245480f2f391 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechResponse.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeSpeechResponse.java @@ -33,6 +33,9 @@ private SynthesizeSpeechResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -462,7 +465,7 @@ public SynthesizeSpeechResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SynthesizeSpeechResponse(input, extensionRegistry); + return new SynthesizeSpeechResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java index adb30db18b8d..caa0e6f9c4d4 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java @@ -72,7 +72,7 @@ public static void registerAllExtensions( "\"\231\001\n\005Voice\022\026\n\016language_codes\030\001 \003(\t\022\014\n\004na" + "me\030\002 \001(\t\022G\n\013ssml_gender\030\003 \001(\01622.google.c" + "loud.texttospeech.v1beta1.SsmlVoiceGende" + - "r\022!\n\031natural_sample_rate_hertz\030\004 \001(\005\"\351\001\n", + "r\022!\n\031natural_sample_rate_hertz\030\004 \001(\005\"\351\001\n" + "\027SynthesizeSpeechRequest\022@\n\005input\030\001 \001(\0132" + "1.google.cloud.texttospeech.v1beta1.Synt" + "hesisInput\022F\n\005voice\030\002 \001(\01327.google.cloud" + @@ -82,31 +82,32 @@ public static void registerAllExtensions( "hesisInput\022\016\n\004text\030\001 \001(\tH\000\022\016\n\004ssml\030\002 \001(\t" + "H\000B\016\n\014input_source\"\204\001\n\024VoiceSelectionPar" + "ams\022\025\n\rlanguage_code\030\001 \001(\t\022\014\n\004name\030\002 \001(\t" + - "\022G\n\013ssml_gender\030\003 \001(\01622.google.cloud.tex", - "ttospeech.v1beta1.SsmlVoiceGender\"\260\001\n\013Au" + + "\022G\n\013ssml_gender\030\003 \001(\01622.google.cloud.tex" + + "ttospeech.v1beta1.SsmlVoiceGender\"\314\001\n\013Au" + "dioConfig\022H\n\016audio_encoding\030\001 \001(\01620.goog" + "le.cloud.texttospeech.v1beta1.AudioEncod" + "ing\022\025\n\rspeaking_rate\030\002 \001(\001\022\r\n\005pitch\030\003 \001(" + "\001\022\026\n\016volume_gain_db\030\004 \001(\001\022\031\n\021sample_rate" + - "_hertz\030\005 \001(\005\"1\n\030SynthesizeSpeechResponse" + - "\022\025\n\raudio_content\030\001 \001(\014*W\n\017SsmlVoiceGend" + - "er\022!\n\035SSML_VOICE_GENDER_UNSPECIFIED\020\000\022\010\n" + - "\004MALE\020\001\022\n\n\006FEMALE\020\002\022\013\n\007NEUTRAL\020\003*T\n\rAudi" + - "oEncoding\022\036\n\032AUDIO_ENCODING_UNSPECIFIED\020", - "\000\022\014\n\010LINEAR16\020\001\022\007\n\003MP3\020\002\022\014\n\010OGG_OPUS\020\0032\326" + - "\002\n\014TextToSpeech\022\222\001\n\nListVoices\0224.google." + - "cloud.texttospeech.v1beta1.ListVoicesReq" + - "uest\0325.google.cloud.texttospeech.v1beta1" + - ".ListVoicesResponse\"\027\202\323\344\223\002\021\022\017/v1beta1/vo" + - "ices\022\260\001\n\020SynthesizeSpeech\022:.google.cloud" + - ".texttospeech.v1beta1.SynthesizeSpeechRe" + - "quest\032;.google.cloud.texttospeech.v1beta" + - "1.SynthesizeSpeechResponse\"#\202\323\344\223\002\035\"\030/v1b" + - "eta1/text:synthesize:\001*B\216\001\n%com.google.c", - "loud.texttospeech.v1beta1B\021TextToSpeechP" + - "rotoP\001ZMgoogle.golang.org/genproto/googl" + - "eapis/cloud/texttospeech/v1beta1;texttos" + - "peech\370\001\001b\006proto3" + "_hertz\030\005 \001(\005\022\032\n\022effects_profile_id\030\006 \003(\t" + + "\"1\n\030SynthesizeSpeechResponse\022\025\n\raudio_co" + + "ntent\030\001 \001(\014*W\n\017SsmlVoiceGender\022!\n\035SSML_V" + + "OICE_GENDER_UNSPECIFIED\020\000\022\010\n\004MALE\020\001\022\n\n\006F" + + "EMALE\020\002\022\013\n\007NEUTRAL\020\003*T\n\rAudioEncoding\022\036\n" + + "\032AUDIO_ENCODING_UNSPECIFIED\020\000\022\014\n\010LINEAR1" + + "6\020\001\022\007\n\003MP3\020\002\022\014\n\010OGG_OPUS\020\0032\326\002\n\014TextToSpe" + + "ech\022\222\001\n\nListVoices\0224.google.cloud.textto" + + "speech.v1beta1.ListVoicesRequest\0325.googl" + + "e.cloud.texttospeech.v1beta1.ListVoicesR" + + "esponse\"\027\202\323\344\223\002\021\022\017/v1beta1/voices\022\260\001\n\020Syn" + + "thesizeSpeech\022:.google.cloud.texttospeec" + + "h.v1beta1.SynthesizeSpeechRequest\032;.goog" + + "le.cloud.texttospeech.v1beta1.Synthesize" + + "SpeechResponse\"#\202\323\344\223\002\035\"\030/v1beta1/text:sy" + + "nthesize:\001*B\216\001\n%com.google.cloud.texttos" + + "peech.v1beta1B\021TextToSpeechProtoP\001ZMgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "texttospeech/v1beta1;texttospeech\370\001\001b\006pr" + + "oto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -162,7 +163,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_google_cloud_texttospeech_v1beta1_AudioConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_AudioConfig_descriptor, - new java.lang.String[] { "AudioEncoding", "SpeakingRate", "Pitch", "VolumeGainDb", "SampleRateHertz", }); + new java.lang.String[] { "AudioEncoding", "SpeakingRate", "Pitch", "VolumeGainDb", "SampleRateHertz", "EffectsProfileId", }); internal_static_google_cloud_texttospeech_v1beta1_SynthesizeSpeechResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_google_cloud_texttospeech_v1beta1_SynthesizeSpeechResponse_fieldAccessorTable = new diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/Voice.java b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/Voice.java index 03968d5b2517..7862b304f73e 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/Voice.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/Voice.java @@ -36,6 +36,9 @@ private Voice( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -966,7 +969,7 @@ public Voice parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Voice(input, extensionRegistry); + return new Voice(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParams.java b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParams.java index 71896f3c5051..fc5af02ab7fa 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParams.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParams.java @@ -35,6 +35,9 @@ private VoiceSelectionParams( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -899,7 +902,7 @@ public VoiceSelectionParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VoiceSelectionParams(input, extensionRegistry); + return new VoiceSelectionParams(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto index bf4726b8e428..2afe1a8b7dee 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto @@ -171,6 +171,11 @@ message AudioConfig { // supported for the encoding chosen, in which case it will fail the request // and return [google.rpc.Code.INVALID_ARGUMENT][]. int32 sample_rate_hertz = 5; + + // An identifier which selects 'audio effects' profiles that are applied on + // (post synthesized) text to speech. + // Effects are applied on top of each other in the order they are given. + repeated string effects_profile_id = 6; } // The message returned to the client by the `SynthesizeSpeech` method. diff --git a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequest.java b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequest.java index eefecbfbeb05..c0caaff345ed 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequest.java +++ b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequest.java @@ -34,6 +34,9 @@ private GetTraceRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -683,7 +686,7 @@ public GetTraceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTraceRequest(input, extensionRegistry); + return new GetTraceRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequest.java b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequest.java index 4fce4b9f7e85..e577a0c5cf5d 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequest.java +++ b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequest.java @@ -39,6 +39,9 @@ private ListTracesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2096,7 +2099,7 @@ public ListTracesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTracesRequest(input, extensionRegistry); + return new ListTracesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponse.java b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponse.java index e6ef12a182dc..0dee9c7000ae 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponse.java +++ b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponse.java @@ -34,6 +34,9 @@ private ListTracesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -982,7 +985,7 @@ public ListTracesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTracesResponse(input, extensionRegistry); + return new ListTracesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequest.java b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequest.java index dbfc6835cdfd..25bbee5684d1 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequest.java +++ b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequest.java @@ -33,6 +33,9 @@ private PatchTracesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -757,7 +760,7 @@ public PatchTracesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchTracesRequest(input, extensionRegistry); + return new PatchTracesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Trace.java b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Trace.java index e4a4d6c53791..6e075bc0ce1f 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Trace.java +++ b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Trace.java @@ -37,6 +37,9 @@ private Trace( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1134,7 +1137,7 @@ public Trace parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Trace(input, extensionRegistry); + return new Trace(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceProto.java b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceProto.java index 1fe323cb09c9..cb92a042494a 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceProto.java +++ b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceProto.java @@ -72,7 +72,7 @@ public static void registerAllExtensions( "vtools.cloudtrace.v1.TraceSpan\">\n\006Traces" + "\0224\n\006traces\030\001 \003(\0132$.google.devtools.cloud" + "trace.v1.Trace\"\235\003\n\tTraceSpan\022\017\n\007span_id\030" + - "\001 \001(\006\022?\n\004kind\030\002 \001(\01621.google.devtools.cl", + "\001 \001(\006\022?\n\004kind\030\002 \001(\01621.google.devtools.cl" + "oudtrace.v1.TraceSpan.SpanKind\022\014\n\004name\030\003" + " \001(\t\022.\n\nstart_time\030\004 \001(\0132\032.google.protob" + "uf.Timestamp\022,\n\010end_time\030\005 \001(\0132\032.google." + @@ -82,7 +82,7 @@ public static void registerAllExtensions( "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + "E\n\010SpanKind\022\031\n\025SPAN_KIND_UNSPECIFIED\020\000\022\016" + "\n\nRPC_SERVER\020\001\022\016\n\nRPC_CLIENT\020\002\"\347\002\n\021ListT" + - "racesRequest\022\022\n\nproject_id\030\001 \001(\t\022G\n\004view", + "racesRequest\022\022\n\nproject_id\030\001 \001(\t\022G\n\004view" + "\030\002 \001(\01629.google.devtools.cloudtrace.v1.L" + "istTracesRequest.ViewType\022\021\n\tpage_size\030\003" + " \001(\005\022\022\n\npage_token\030\004 \001(\t\022.\n\nstart_time\030\005" + @@ -92,7 +92,7 @@ public static void registerAllExtensions( "Type\022\031\n\025VIEW_TYPE_UNSPECIFIED\020\000\022\013\n\007MINIM" + "AL\020\001\022\014\n\010ROOTSPAN\020\002\022\014\n\010COMPLETE\020\003\"c\n\022List" + "TracesResponse\0224\n\006traces\030\001 \003(\0132$.google." + - "devtools.cloudtrace.v1.Trace\022\027\n\017next_pag", + "devtools.cloudtrace.v1.Trace\022\027\n\017next_pag" + "e_token\030\002 \001(\t\"7\n\017GetTraceRequest\022\022\n\nproj" + "ect_id\030\001 \001(\t\022\020\n\010trace_id\030\002 \001(\t\"_\n\022PatchT" + "racesRequest\022\022\n\nproject_id\030\001 \001(\t\0225\n\006trac" + @@ -102,7 +102,7 @@ public static void registerAllExtensions( "esRequest\0321.google.devtools.cloudtrace.v" + "1.ListTracesResponse\"(\202\323\344\223\002\"\022 /v1/projec" + "ts/{project_id}/traces\022\225\001\n\010GetTrace\022..go" + - "ogle.devtools.cloudtrace.v1.GetTraceRequ", + "ogle.devtools.cloudtrace.v1.GetTraceRequ" + "est\032$.google.devtools.cloudtrace.v1.Trac" + "e\"3\202\323\344\223\002-\022+/v1/projects/{project_id}/tra" + "ces/{trace_id}\022\212\001\n\013PatchTraces\0221.google." + @@ -112,7 +112,7 @@ public static void registerAllExtensions( "com.google.devtools.cloudtrace.v1B\nTrace" + "ProtoP\001ZGgoogle.golang.org/genproto/goog" + "leapis/devtools/cloudtrace/v1;cloudtrace" + - "\252\002\025Google.Cloud.Trace.V1\312\002\025Google\\Cloud\\", + "\252\002\025Google.Cloud.Trace.V1\312\002\025Google\\Cloud\\" + "Trace\\V1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = diff --git a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpan.java b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpan.java index e49e2b97d491..bf8923384b3d 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpan.java +++ b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpan.java @@ -40,6 +40,9 @@ private TraceSpan( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2106,7 +2109,7 @@ public TraceSpan parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TraceSpan(input, extensionRegistry); + return new TraceSpan(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Traces.java b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Traces.java index f92c76216cd1..71a3a9cbb62d 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Traces.java +++ b/google-api-grpc/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Traces.java @@ -33,6 +33,9 @@ private Traces( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public Traces parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Traces(input, extensionRegistry); + return new Traces(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/AttributeValue.java b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/AttributeValue.java index 48999883a7fe..4de1db58d869 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/AttributeValue.java +++ b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/AttributeValue.java @@ -32,6 +32,9 @@ private AttributeValue( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -871,7 +874,7 @@ public AttributeValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AttributeValue(input, extensionRegistry); + return new AttributeValue(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java index 93acca79ebdf..d9ae03deba46 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java +++ b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java @@ -34,6 +34,9 @@ private BatchWriteSpansRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -998,7 +1001,7 @@ public BatchWriteSpansRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchWriteSpansRequest(input, extensionRegistry); + return new BatchWriteSpansRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Module.java b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Module.java index b3ff38736d52..c09a2bed6fb6 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Module.java +++ b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Module.java @@ -32,6 +32,9 @@ private Module( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -855,7 +858,7 @@ public Module parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Module(input, extensionRegistry); + return new Module(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java index b148d271b600..c1b4cdd088da 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java +++ b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java @@ -40,6 +40,9 @@ private Span( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -359,6 +362,9 @@ private Attributes( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1168,7 +1174,7 @@ public Attributes parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Attributes(input, extensionRegistry); + return new Attributes(input, extensionRegistry); } }; @@ -1297,6 +1303,9 @@ private TimeEvent( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1469,6 +1478,9 @@ private Annotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2292,7 +2304,7 @@ public Annotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Annotation(input, extensionRegistry); + return new Annotation(input, extensionRegistry); } }; @@ -2397,6 +2409,9 @@ private MessageEvent( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3224,7 +3239,7 @@ public MessageEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MessageEvent(input, extensionRegistry); + return new MessageEvent(input, extensionRegistry); } }; @@ -4302,7 +4317,7 @@ public TimeEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeEvent(input, extensionRegistry); + return new TimeEvent(input, extensionRegistry); } }; @@ -4423,6 +4438,9 @@ private TimeEvents( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5359,7 +5377,7 @@ public TimeEvents parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeEvents(input, extensionRegistry); + return new TimeEvents(input, extensionRegistry); } }; @@ -5498,6 +5516,9 @@ private Link( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6637,7 +6658,7 @@ public Link parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Link(input, extensionRegistry); + return new Link(input, extensionRegistry); } }; @@ -6746,6 +6767,9 @@ private Links( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -7604,7 +7628,7 @@ public Links parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Links(input, extensionRegistry); + return new Links(input, extensionRegistry); } }; @@ -10765,7 +10789,7 @@ public Span parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Span(input, extensionRegistry); + return new Span(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/StackTrace.java b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/StackTrace.java index 23c489249cdd..f9867282def5 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/StackTrace.java +++ b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/StackTrace.java @@ -33,6 +33,9 @@ private StackTrace( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -284,6 +287,9 @@ private StackFrame( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1970,7 +1976,7 @@ public StackFrame parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StackFrame(input, extensionRegistry); + return new StackFrame(input, extensionRegistry); } }; @@ -2079,6 +2085,9 @@ private StackFrames( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2940,7 +2949,7 @@ public StackFrames parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StackFrames(input, extensionRegistry); + return new StackFrames(input, extensionRegistry); } }; @@ -3567,7 +3576,7 @@ public StackTrace parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StackTrace(input, extensionRegistry); + return new StackTrace(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceProto.java b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceProto.java index 119e7fa5766b..6082924361a2 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceProto.java +++ b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceProto.java @@ -107,7 +107,7 @@ public static void registerAllExtensions( "rent_span_id\030\003 \001(\t\022F\n\014display_name\030\004 \001(\013" + "20.google.devtools.cloudtrace.v2.Truncat" + "ableString\022.\n\nstart_time\030\005 \001(\0132\032.google." + - "protobuf.Timestamp\022,\n\010end_time\030\006 \001(\0132\032.g", + "protobuf.Timestamp\022,\n\010end_time\030\006 \001(\0132\032.g" + "oogle.protobuf.Timestamp\022B\n\nattributes\030\007" + " \001(\0132..google.devtools.cloudtrace.v2.Spa" + "n.Attributes\022>\n\013stack_trace\030\010 \001(\0132).goog" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "2).google.devtools.cloudtrace.v2.Span.Li" + "nks\022\"\n\006status\030\013 \001(\0132\022.google.rpc.Status\022" + "?\n\033same_process_as_parent_span\030\014 \001(\0132\032.g" + - "oogle.protobuf.BoolValue\0225\n\020child_span_c", + "oogle.protobuf.BoolValue\0225\n\020child_span_c" + "ount\030\r \001(\0132\033.google.protobuf.Int32Value\032" + "\353\001\n\nAttributes\022W\n\rattribute_map\030\001 \003(\0132@." + "google.devtools.cloudtrace.v2.Span.Attri" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "ools.cloudtrace.v2.AttributeValue:\0028\001\032\337\004" + "\n\tTimeEvent\022(\n\004time\030\001 \001(\0132\032.google.proto" + "buf.Timestamp\022N\n\nannotation\030\002 \001(\01328.goog" + - "le.devtools.cloudtrace.v2.Span.TimeEvent", + "le.devtools.cloudtrace.v2.Span.TimeEvent" + ".AnnotationH\000\022S\n\rmessage_event\030\003 \001(\0132:.g" + "oogle.devtools.cloudtrace.v2.Span.TimeEv" + "ent.MessageEventH\000\032\227\001\n\nAnnotation\022E\n\013des" + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "n.Attributes\032\337\001\n\014MessageEvent\022M\n\004type\030\001 " + "\001(\0162?.google.devtools.cloudtrace.v2.Span" + ".TimeEvent.MessageEvent.Type\022\n\n\002id\030\002 \001(\003" + - "\022\037\n\027uncompressed_size_bytes\030\003 \001(\003\022\035\n\025com", + "\022\037\n\027uncompressed_size_bytes\030\003 \001(\003\022\035\n\025com" + "pressed_size_bytes\030\004 \001(\003\"4\n\004Type\022\024\n\020TYPE" + "_UNSPECIFIED\020\000\022\010\n\004SENT\020\001\022\014\n\010RECEIVED\020\002B\007" + "\n\005value\032\230\001\n\nTimeEvents\022A\n\ntime_event\030\001 \003" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "(\005\032\367\001\n\004Link\022\020\n\010trace_id\030\001 \001(\t\022\017\n\007span_id" + "\030\002 \001(\t\022;\n\004type\030\003 \001(\0162-.google.devtools.c" + "loudtrace.v2.Span.Link.Type\022B\n\nattribute" + - "s\030\004 \001(\0132..google.devtools.cloudtrace.v2.", + "s\030\004 \001(\0132..google.devtools.cloudtrace.v2." + "Span.Attributes\"K\n\004Type\022\024\n\020TYPE_UNSPECIF" + "IED\020\000\022\025\n\021CHILD_LINKED_SPAN\020\001\022\026\n\022PARENT_L" + "INKED_SPAN\020\002\032\\\n\005Links\0226\n\004link\030\001 \003(\0132(.go" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "tools.cloudtrace.v2.TruncatableStringH\000\022" + "\023\n\tint_value\030\002 \001(\003H\000\022\024\n\nbool_value\030\003 \001(\010" + "H\000B\007\n\005value\"\211\005\n\nStackTrace\022K\n\014stack_fram" + - "es\030\001 \001(\01325.google.devtools.cloudtrace.v2", + "es\030\001 \001(\01325.google.devtools.cloudtrace.v2" + ".StackTrace.StackFrames\022\033\n\023stack_trace_h" + "ash_id\030\002 \001(\003\032\236\003\n\nStackFrame\022G\n\rfunction_" + "name\030\001 \001(\01320.google.devtools.cloudtrace." + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "\01320.google.devtools.cloudtrace.v2.Trunca" + "tableString\022\023\n\013line_number\030\004 \001(\003\022\025\n\rcolu" + "mn_number\030\005 \001(\003\022:\n\013load_module\030\006 \001(\0132%.g" + - "oogle.devtools.cloudtrace.v2.Module\022H\n\016s", + "oogle.devtools.cloudtrace.v2.Module\022H\n\016s" + "ource_version\030\007 \001(\01320.google.devtools.cl" + "oudtrace.v2.TruncatableString\032p\n\013StackFr" + "ames\022C\n\005frame\030\001 \003(\01324.google.devtools.cl" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "v2.TruncatableString\022B\n\010build_id\030\002 \001(\01320" + ".google.devtools.cloudtrace.v2.Truncatab" + "leString\"@\n\021TruncatableString\022\r\n\005value\030\001" + - " \001(\t\022\034\n\024truncated_byte_count\030\002 \001(\005B\252\001\n!c", + " \001(\t\022\034\n\024truncated_byte_count\030\002 \001(\005B\252\001\n!c" + "om.google.devtools.cloudtrace.v2B\nTraceP" + "rotoP\001ZGgoogle.golang.org/genproto/googl" + "eapis/devtools/cloudtrace/v2;cloudtrace\252" + diff --git a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TracingProto.java b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TracingProto.java index 0035c5cdaae0..8d8c12f0f4af 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TracingProto.java +++ b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TracingProto.java @@ -37,7 +37,7 @@ public static void registerAllExtensions( "\004name\030\001 \001(\t\0222\n\005spans\030\002 \003(\0132#.google.devt" + "ools.cloudtrace.v2.Span2\257\002\n\014TraceService" + "\022\224\001\n\017BatchWriteSpans\0225.google.devtools.c" + - "loudtrace.v2.BatchWriteSpansRequest\032\026.go", + "loudtrace.v2.BatchWriteSpansRequest\032\026.go" + "ogle.protobuf.Empty\"2\202\323\344\223\002,\"\'/v2/{name=p" + "rojects/*}/traces:batchWrite:\001*\022\207\001\n\nCrea" + "teSpan\022#.google.devtools.cloudtrace.v2.S" + diff --git a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TruncatableString.java b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TruncatableString.java index 67922d39350e..064ded91cc9a 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TruncatableString.java +++ b/google-api-grpc/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TruncatableString.java @@ -34,6 +34,9 @@ private TruncatableString( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -641,7 +644,7 @@ public TruncatableString parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TruncatableString(input, extensionRegistry); + return new TruncatableString(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java index 2a5ae39caa2d..c7849be2a6a5 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java @@ -35,6 +35,9 @@ private AnnotateVideoProgress( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public AnnotateVideoProgress parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); + return new AnnotateVideoProgress(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java index 125353fdb312..cd318c671059 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java @@ -37,6 +37,9 @@ private AnnotateVideoRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1569,7 +1572,7 @@ public AnnotateVideoRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); + return new AnnotateVideoRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java index bcf7a3df6d4e..851335748a1a 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java @@ -35,6 +35,9 @@ private AnnotateVideoResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public AnnotateVideoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); + return new AnnotateVideoResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java index aa48a86b39de..34e8cf28d2ea 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java @@ -35,6 +35,9 @@ private Entity( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -852,7 +855,7 @@ public Entity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); + return new Entity(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java index e4c5aeaac040..a8c6a09b0a9c 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java @@ -35,6 +35,9 @@ private ExplicitContentAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public ExplicitContentAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); + return new ExplicitContentAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java index 1b2e77d826e2..2d6e3c8d5341 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java @@ -33,6 +33,9 @@ private ExplicitContentDetectionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public ExplicitContentDetectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); + return new ExplicitContentDetectionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java index f32515a24bc6..a874f4ee696b 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java @@ -33,6 +33,9 @@ private ExplicitContentFrame( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -725,7 +728,7 @@ public ExplicitContentFrame parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); + return new ExplicitContentFrame(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java index 267fda2b6e36..a42cd9434800 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java @@ -35,6 +35,9 @@ private FaceAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1325,7 +1328,7 @@ public FaceAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceAnnotation(input, extensionRegistry); + return new FaceAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java index cc057326f5b4..41bbdc0b2843 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java @@ -34,6 +34,9 @@ private FaceDetectionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -617,7 +620,7 @@ public FaceDetectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionConfig(input, extensionRegistry); + return new FaceDetectionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java index fc8b3345fc1c..d3d9bdbf5d6c 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java @@ -33,6 +33,9 @@ private FaceFrame( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1100,7 +1103,7 @@ public FaceFrame parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceFrame(input, extensionRegistry); + return new FaceFrame(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java index 8aab63729591..6505566955a9 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java @@ -32,6 +32,9 @@ private FaceSegment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public FaceSegment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceSegment(input, extensionRegistry); + return new FaceSegment(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java index a8227df47c84..f6819f78a37f 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java @@ -35,6 +35,9 @@ private LabelAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1981,7 +1984,7 @@ public LabelAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); + return new LabelAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java index 99a65c824943..d60e2e042979 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java @@ -35,6 +35,9 @@ private LabelDetectionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -750,7 +753,7 @@ public LabelDetectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); + return new LabelDetectionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java index 7a89b7e7fd24..af015fd1edb6 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java @@ -33,6 +33,9 @@ private LabelFrame( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -691,7 +694,7 @@ public LabelFrame parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); + return new LabelFrame(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java index 355570125b33..45f8319ec6c1 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java @@ -33,6 +33,9 @@ private LabelSegment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -679,7 +682,7 @@ public LabelSegment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); + return new LabelSegment(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java index 39e6f6303d66..2054c4a382e9 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java @@ -38,6 +38,9 @@ private NormalizedBoundingBox( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -685,7 +688,7 @@ public NormalizedBoundingBox parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingBox(input, extensionRegistry); + return new NormalizedBoundingBox(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java index 894a90436dc3..3fffe7730ea4 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java @@ -33,6 +33,9 @@ private ShotChangeDetectionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public ShotChangeDetectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); + return new ShotChangeDetectionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java index c15ce718939f..b04416eeb9e2 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java @@ -34,6 +34,9 @@ private VideoAnnotationProgress( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1071,7 +1074,7 @@ public VideoAnnotationProgress parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationProgress(input, extensionRegistry); + return new VideoAnnotationProgress(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java index 39967c55ae4b..db4bfb96659f 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java @@ -38,6 +38,9 @@ private VideoAnnotationResults( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3254,7 +3257,7 @@ public VideoAnnotationResults parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationResults(input, extensionRegistry); + return new VideoAnnotationResults(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java index 5f11200b4fca..d375362d4ec0 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java @@ -33,6 +33,9 @@ private VideoContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1775,7 +1778,7 @@ public VideoContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); + return new VideoContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java index c407e4a7bf55..8f1c0530c092 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java @@ -137,7 +137,7 @@ public static void registerAllExtensions( "status.proto\"\357\001\n\024AnnotateVideoRequest\022\021\n" + "\tinput_uri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022" + "<\n\010features\030\002 \003(\0162*.google.cloud.videoin" + - "telligence.v1.Feature\022F\n\rvideo_context\030\003", + "telligence.v1.Feature\022F\n\rvideo_context\030\003" + " \001(\0132/.google.cloud.videointelligence.v1" + ".VideoContext\022\022\n\noutput_uri\030\004 \001(\t\022\023\n\013loc" + "ation_id\030\005 \001(\t\"\323\003\n\014VideoContext\022A\n\010segme" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "nce.v1.LabelDetectionConfig\022b\n\034shot_chan" + "ge_detection_config\030\003 \001(\0132<.google.cloud" + ".videointelligence.v1.ShotChangeDetectio" + - "nConfig\022l\n!explicit_content_detection_co", + "nConfig\022l\n!explicit_content_detection_co" + "nfig\030\004 \001(\0132A.google.cloud.videointellige" + "nce.v1.ExplicitContentDetectionConfig\022U\n" + "\025face_detection_config\030\005 \001(\01326.google.cl" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "intelligence.v1.LabelDetectionMode\022\031\n\021st" + "ationary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\"*\n\031" + "ShotChangeDetectionConfig\022\r\n\005model\030\001 \001(\t" + - "\"/\n\036ExplicitContentDetectionConfig\022\r\n\005mo", + "\"/\n\036ExplicitContentDetectionConfig\022\r\n\005mo" + "del\030\001 \001(\t\"D\n\023FaceDetectionConfig\022\r\n\005mode" + "l\030\001 \001(\t\022\036\n\026include_bounding_boxes\030\002 \001(\010\"" + "x\n\014VideoSegment\0224\n\021start_time_offset\030\001 \001" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "gle.cloud.videointelligence.v1.VideoSegm" + "ent\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabelFrame\022.\n" + "\013time_offset\030\001 \001(\0132\031.google.protobuf.Dur" + - "ation\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Entity\022\021\n\te", + "ation\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Entity\022\021\n\te" + "ntity_id\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\025\n\rl" + "anguage_code\030\003 \001(\t\"\224\002\n\017LabelAnnotation\0229" + "\n\006entity\030\001 \001(\0132).google.cloud.videointel" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( ".videointelligence.v1.LabelSegment\022=\n\006fr" + "ames\030\004 \003(\0132-.google.cloud.videointellige" + "nce.v1.LabelFrame\"\225\001\n\024ExplicitContentFra" + - "me\022.\n\013time_offset\030\001 \001(\0132\031.google.protobu", + "me\022.\n\013time_offset\030\001 \001(\0132\031.google.protobu" + "f.Duration\022M\n\026pornography_likelihood\030\002 \001" + "(\0162-.google.cloud.videointelligence.v1.L" + "ikelihood\"d\n\031ExplicitContentAnnotation\022G" + @@ -187,7 +187,7 @@ public static void registerAllExtensions( "\001(\002\022\r\n\005right\030\003 \001(\002\022\016\n\006bottom\030\004 \001(\002\"O\n\013Fa" + "ceSegment\022@\n\007segment\030\001 \001(\0132/.google.clou" + "d.videointelligence.v1.VideoSegment\"\230\001\n\t" + - "FaceFrame\022[\n\031normalized_bounding_boxes\030\001", + "FaceFrame\022[\n\031normalized_bounding_boxes\030\001" + " \003(\01328.google.cloud.videointelligence.v1" + ".NormalizedBoundingBox\022.\n\013time_offset\030\002 " + "\001(\0132\031.google.protobuf.Duration\"\243\001\n\016FaceA" + @@ -197,7 +197,7 @@ public static void registerAllExtensions( "cloud.videointelligence.v1.FaceFrame\"\301\004\n" + "\026VideoAnnotationResults\022\021\n\tinput_uri\030\001 \001" + "(\t\022U\n\031segment_label_annotations\030\002 \003(\01322." + - "google.cloud.videointelligence.v1.LabelA", + "google.cloud.videointelligence.v1.LabelA" + "nnotation\022R\n\026shot_label_annotations\030\003 \003(" + "\01322.google.cloud.videointelligence.v1.La" + "belAnnotation\022S\n\027frame_label_annotations" + @@ -207,7 +207,7 @@ public static void registerAllExtensions( ".FaceAnnotation\022I\n\020shot_annotations\030\006 \003(" + "\0132/.google.cloud.videointelligence.v1.Vi" + "deoSegment\022Y\n\023explicit_annotation\030\007 \001(\0132" + - "<.google.cloud.videointelligence.v1.Expl", + "<.google.cloud.videointelligence.v1.Expl" + "icitContentAnnotation\022!\n\005error\030\t \001(\0132\022.g" + "oogle.rpc.Status\"n\n\025AnnotateVideoRespons" + "e\022U\n\022annotation_results\030\001 \003(\01329.google.c" + @@ -217,7 +217,7 @@ public static void registerAllExtensions( "\005\022.\n\nstart_time\030\003 \001(\0132\032.google.protobuf." + "Timestamp\022/\n\013update_time\030\004 \001(\0132\032.google." + "protobuf.Timestamp\"p\n\025AnnotateVideoProgr" + - "ess\022W\n\023annotation_progress\030\001 \003(\0132:.googl", + "ess\022W\n\023annotation_progress\030\001 \003(\0132:.googl" + "e.cloud.videointelligence.v1.VideoAnnota" + "tionProgress*\206\001\n\007Feature\022\027\n\023FEATURE_UNSP" + "ECIFIED\020\000\022\023\n\017LABEL_DETECTION\020\001\022\031\n\025SHOT_C" + @@ -227,7 +227,7 @@ public static void registerAllExtensions( "ECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAME_MODE\020\002" + "\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLikelihood\022" + "\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UNLI" + - "KELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LI", + "KELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LI" + "KELY\020\004\022\017\n\013VERY_LIKELY\020\0052\244\001\n\030VideoIntelli" + "genceService\022\207\001\n\rAnnotateVideo\0227.google." + "cloud.videointelligence.v1.AnnotateVideo" + @@ -237,7 +237,7 @@ public static void registerAllExtensions( "ntelligenceServiceProtoP\001ZRgoogle.golang" + ".org/genproto/googleapis/cloud/videointe" + "lligence/v1;videointelligence\252\002!Google.C" + - "loud.VideoIntelligence.V1\312\002!Google\\Cloud", + "loud.VideoIntelligence.V1\312\002!Google\\Cloud" + "\\VideoIntelligence\\V1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java index 6d52ff692c66..6fd0bc480b42 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java @@ -32,6 +32,9 @@ private VideoSegment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -855,7 +858,7 @@ public VideoSegment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoSegment(input, extensionRegistry); + return new VideoSegment(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoProgress.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoProgress.java index b5db845c5bb7..afff8c254be9 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoProgress.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoProgress.java @@ -35,6 +35,9 @@ private AnnotateVideoProgress( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public AnnotateVideoProgress parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); + return new AnnotateVideoProgress(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoRequest.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoRequest.java index 3b91c30b7fe6..5d5564c6ed8d 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoRequest.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoRequest.java @@ -37,6 +37,9 @@ private AnnotateVideoRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1646,7 +1649,7 @@ public AnnotateVideoRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); + return new AnnotateVideoRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoResponse.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoResponse.java index ac38e7c55d61..969bee9991bf 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoResponse.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/AnnotateVideoResponse.java @@ -35,6 +35,9 @@ private AnnotateVideoResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public AnnotateVideoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); + return new AnnotateVideoResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/BoundingBox.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/BoundingBox.java index 355c5be6f465..d95452621c0f 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/BoundingBox.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/BoundingBox.java @@ -36,6 +36,9 @@ private BoundingBox( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -669,7 +672,7 @@ public BoundingBox parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BoundingBox(input, extensionRegistry); + return new BoundingBox(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/FaceAnnotation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/FaceAnnotation.java index a01242dac9f3..7bf277a0e090 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/FaceAnnotation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/FaceAnnotation.java @@ -35,6 +35,9 @@ private FaceAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1449,7 +1452,7 @@ public FaceAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceAnnotation(input, extensionRegistry); + return new FaceAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/FaceLocation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/FaceLocation.java index 72263f6c7898..0a16e6be4138 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/FaceLocation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/FaceLocation.java @@ -33,6 +33,9 @@ private FaceLocation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -677,7 +680,7 @@ public FaceLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceLocation(input, extensionRegistry); + return new FaceLocation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/LabelAnnotation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/LabelAnnotation.java index 7e67d5ee5b48..af90c5cd43f7 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/LabelAnnotation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/LabelAnnotation.java @@ -35,6 +35,9 @@ private LabelAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1123,7 +1126,7 @@ public LabelAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); + return new LabelAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/LabelLocation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/LabelLocation.java index 5809618cf496..93c37b5c0a1b 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/LabelLocation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/LabelLocation.java @@ -34,6 +34,9 @@ private LabelLocation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -826,7 +829,7 @@ public LabelLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelLocation(input, extensionRegistry); + return new LabelLocation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/SafeSearchAnnotation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/SafeSearchAnnotation.java index cfd747c36969..cd2de3ff31f6 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/SafeSearchAnnotation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/SafeSearchAnnotation.java @@ -42,6 +42,9 @@ private SafeSearchAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1018,7 +1021,7 @@ public SafeSearchAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SafeSearchAnnotation(input, extensionRegistry); + return new SafeSearchAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoAnnotationProgress.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoAnnotationProgress.java index b254846e0cd6..8fb006345c52 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoAnnotationProgress.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoAnnotationProgress.java @@ -34,6 +34,9 @@ private VideoAnnotationProgress( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1071,7 +1074,7 @@ public VideoAnnotationProgress parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationProgress(input, extensionRegistry); + return new VideoAnnotationProgress(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoAnnotationResults.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoAnnotationResults.java index acbc8fb44f77..97d3a3532aa3 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoAnnotationResults.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoAnnotationResults.java @@ -37,6 +37,9 @@ private VideoAnnotationResults( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2521,7 +2524,7 @@ public VideoAnnotationResults parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationResults(input, extensionRegistry); + return new VideoAnnotationResults(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoContext.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoContext.java index e3c6b3c9e625..4fca9f5179bc 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoContext.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoContext.java @@ -39,6 +39,9 @@ private VideoContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1711,7 +1714,7 @@ public VideoContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); + return new VideoContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceProto.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceProto.java index c11823b89f06..445cded9cc75 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceProto.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceProto.java @@ -97,7 +97,7 @@ public static void registerAllExtensions( "ateVideoRequest\022\021\n\tinput_uri\030\001 \001(\t\022\025\n\rin" + "put_content\030\006 \001(\t\022A\n\010features\030\002 \003(\0162/.go" + "ogle.cloud.videointelligence.v1beta1.Fea" + - "ture\022K\n\rvideo_context\030\003 \001(\01324.google.clo", + "ture\022K\n\rvideo_context\030\003 \001(\01324.google.clo" + "ud.videointelligence.v1beta1.VideoContex" + "t\022\022\n\noutput_uri\030\004 \001(\t\022\023\n\013location_id\030\005 \001" + "(\t\"\322\002\n\014VideoContext\022F\n\010segments\030\001 \003(\01324." + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "a1.LabelDetectionMode\022\031\n\021stationary_came" + "ra\030\003 \001(\010\022\035\n\025label_detection_model\030\004 \001(\t\022" + "\034\n\024face_detection_model\030\005 \001(\t\022#\n\033shot_ch" + - "ange_detection_model\030\006 \001(\t\022#\n\033safe_searc", + "ange_detection_model\030\006 \001(\t\022#\n\033safe_searc" + "h_detection_model\030\007 \001(\t\"B\n\014VideoSegment\022" + "\031\n\021start_time_offset\030\001 \001(\003\022\027\n\017end_time_o" + "ffset\030\002 \001(\003\"\255\001\n\rLabelLocation\022E\n\007segment" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "lligence.v1beta1.LabelLevel\"\207\001\n\017LabelAnn" + "otation\022\023\n\013description\030\001 \001(\t\022\025\n\rlanguage" + "_code\030\002 \001(\t\022H\n\tlocations\030\003 \003(\01325.google." + - "cloud.videointelligence.v1beta1.LabelLoc", + "cloud.videointelligence.v1beta1.LabelLoc" + "ation\"\375\002\n\024SafeSearchAnnotation\022A\n\005adult\030" + "\001 \001(\01622.google.cloud.videointelligence.v" + "1beta1.Likelihood\022A\n\005spoof\030\002 \001(\01622.googl" + @@ -127,7 +127,7 @@ public static void registerAllExtensions( "lent\030\004 \001(\01622.google.cloud.videointellige" + "nce.v1beta1.Likelihood\022@\n\004racy\030\005 \001(\01622.g" + "oogle.cloud.videointelligence.v1beta1.Li" + - "kelihood\022\023\n\013time_offset\030\006 \001(\003\"G\n\013Boundin", + "kelihood\022\023\n\013time_offset\030\006 \001(\003\"G\n\013Boundin" + "gBox\022\014\n\004left\030\001 \001(\005\022\r\n\005right\030\002 \001(\005\022\016\n\006bot" + "tom\030\003 \001(\005\022\013\n\003top\030\004 \001(\005\"n\n\014FaceLocation\022I" + "\n\014bounding_box\030\001 \001(\01323.google.cloud.vide" + @@ -137,7 +137,7 @@ public static void registerAllExtensions( "cloud.videointelligence.v1beta1.VideoSeg" + "ment\022G\n\tlocations\030\003 \003(\01324.google.cloud.v" + "ideointelligence.v1beta1.FaceLocation\"\243\003" + - "\n\026VideoAnnotationResults\022\021\n\tinput_uri\030\001 ", + "\n\026VideoAnnotationResults\022\021\n\tinput_uri\030\001 " + "\001(\t\022R\n\021label_annotations\030\002 \003(\01327.google." + "cloud.videointelligence.v1beta1.LabelAnn" + "otation\022P\n\020face_annotations\030\003 \003(\01326.goog" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "eoSegment\022]\n\027safe_search_annotations\030\006 \003" + "(\0132<.google.cloud.videointelligence.v1be" + "ta1.SafeSearchAnnotation\022!\n\005error\030\005 \001(\0132" + - "\022.google.rpc.Status\"s\n\025AnnotateVideoResp", + "\022.google.rpc.Status\"s\n\025AnnotateVideoResp" + "onse\022Z\n\022annotation_results\030\001 \003(\0132>.googl" + "e.cloud.videointelligence.v1beta1.VideoA" + "nnotationResults\"\247\001\n\027VideoAnnotationProg" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( ".google.protobuf.Timestamp\"u\n\025AnnotateVi" + "deoProgress\022\\\n\023annotation_progress\030\001 \003(\013" + "2?.google.cloud.videointelligence.v1beta" + - "1.VideoAnnotationProgress*\201\001\n\007Feature\022\027\n", + "1.VideoAnnotationProgress*\201\001\n\007Feature\022\027\n" + "\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECTIO" + "N\020\001\022\022\n\016FACE_DETECTION\020\002\022\031\n\025SHOT_CHANGE_D" + "ETECTION\020\003\022\031\n\025SAFE_SEARCH_DETECTION\020\004*n\n" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "tectionMode\022$\n LABEL_DETECTION_MODE_UNSP" + "ECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAME_MODE\020\002" + "\022\027\n\023SHOT_AND_FRAME_MODE\020\003*e\n\nLikelihood\022" + - "\013\n\007UNKNOWN\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIK", + "\013\n\007UNKNOWN\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIK" + "ELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_" + "LIKELY\020\0052\256\001\n\030VideoIntelligenceService\022\221\001" + "\n\rAnnotateVideo\022<.google.cloud.videointe" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( ".cloud.videointelligence.v1beta1B\035VideoI" + "ntelligenceServiceProtoP\001ZWgoogle.golang" + ".org/genproto/googleapis/cloud/videointe" + - "lligence/v1beta1;videointelligence\252\002&Goo", + "lligence/v1beta1;videointelligence\252\002&Goo" + "gle.Cloud.VideoIntelligence.V1Beta1\312\002&Go" + "ogle\\Cloud\\VideoIntelligence\\V1beta1b\006pr" + "oto3" diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoSegment.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoSegment.java index 81f8355f4f6a..481c3754a419 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoSegment.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoSegment.java @@ -34,6 +34,9 @@ private VideoSegment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -523,7 +526,7 @@ public VideoSegment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoSegment(input, extensionRegistry); + return new VideoSegment(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java index 65c4e26a91d4..77e386aa13d3 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java @@ -35,6 +35,9 @@ private AnnotateVideoProgress( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public AnnotateVideoProgress parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); + return new AnnotateVideoProgress(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java index e4d7dc7195d1..64996dd51f81 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java @@ -37,6 +37,9 @@ private AnnotateVideoRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1569,7 +1572,7 @@ public AnnotateVideoRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); + return new AnnotateVideoRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java index e4a0777e6c74..0c619b09952d 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java @@ -35,6 +35,9 @@ private AnnotateVideoResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public AnnotateVideoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); + return new AnnotateVideoResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java index d630fd56f843..4e1af076c4fb 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java @@ -35,6 +35,9 @@ private Entity( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -852,7 +855,7 @@ public Entity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); + return new Entity(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java index 9f6c8af61abf..afac45d5a41b 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java @@ -35,6 +35,9 @@ private ExplicitContentAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public ExplicitContentAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); + return new ExplicitContentAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java index 73ce34ef268d..1cd32f48e34b 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java @@ -33,6 +33,9 @@ private ExplicitContentDetectionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public ExplicitContentDetectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); + return new ExplicitContentDetectionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java index 20bde768f1e2..9eaa719c067b 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java @@ -33,6 +33,9 @@ private ExplicitContentFrame( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -725,7 +728,7 @@ public ExplicitContentFrame parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); + return new ExplicitContentFrame(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java index 322add054250..2757704da715 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java @@ -35,6 +35,9 @@ private FaceAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1325,7 +1328,7 @@ public FaceAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceAnnotation(input, extensionRegistry); + return new FaceAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java index 360cdd968096..aa27bc56c7c8 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java @@ -34,6 +34,9 @@ private FaceDetectionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -617,7 +620,7 @@ public FaceDetectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionConfig(input, extensionRegistry); + return new FaceDetectionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java index 3d561ebdb346..d9d0cee07281 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java @@ -33,6 +33,9 @@ private FaceFrame( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1100,7 +1103,7 @@ public FaceFrame parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceFrame(input, extensionRegistry); + return new FaceFrame(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java index 9cb84f3759f0..0a66f2f689cc 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java @@ -32,6 +32,9 @@ private FaceSegment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public FaceSegment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceSegment(input, extensionRegistry); + return new FaceSegment(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java index d7ad4b4d8561..b628e9c194b6 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java @@ -35,6 +35,9 @@ private LabelAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1981,7 +1984,7 @@ public LabelAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); + return new LabelAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java index 2326c9b4bbe2..8aff8f1e057f 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java @@ -35,6 +35,9 @@ private LabelDetectionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -750,7 +753,7 @@ public LabelDetectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); + return new LabelDetectionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java index 644883f78ef7..bfd7a7fdde80 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java @@ -33,6 +33,9 @@ private LabelFrame( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -691,7 +694,7 @@ public LabelFrame parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); + return new LabelFrame(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java index ef205323489b..da63d18238a9 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java @@ -33,6 +33,9 @@ private LabelSegment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -679,7 +682,7 @@ public LabelSegment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); + return new LabelSegment(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java index d66f9bff9f79..235209ad57d1 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java @@ -38,6 +38,9 @@ private NormalizedBoundingBox( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -685,7 +688,7 @@ public NormalizedBoundingBox parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingBox(input, extensionRegistry); + return new NormalizedBoundingBox(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java index 316475e0a84f..6b2a19cde250 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java @@ -33,6 +33,9 @@ private ShotChangeDetectionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public ShotChangeDetectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); + return new ShotChangeDetectionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java index 9ff8fe127114..837076bbfc92 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java @@ -34,6 +34,9 @@ private VideoAnnotationProgress( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1071,7 +1074,7 @@ public VideoAnnotationProgress parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationProgress(input, extensionRegistry); + return new VideoAnnotationProgress(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java index 4b2b67c936b1..75fc326b43c5 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java @@ -38,6 +38,9 @@ private VideoAnnotationResults( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3254,7 +3257,7 @@ public VideoAnnotationResults parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationResults(input, extensionRegistry); + return new VideoAnnotationResults(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java index afc3dec3a9ab..8512be0b7773 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java @@ -33,6 +33,9 @@ private VideoContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1775,7 +1778,7 @@ public VideoContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); + return new VideoContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java index 170d6593630d..30b0c58e3805 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java @@ -137,7 +137,7 @@ public static void registerAllExtensions( "oogle/rpc/status.proto\"\371\001\n\024AnnotateVideo" + "Request\022\021\n\tinput_uri\030\001 \001(\t\022\025\n\rinput_cont" + "ent\030\006 \001(\014\022A\n\010features\030\002 \003(\0162/.google.clo" + - "ud.videointelligence.v1beta2.Feature\022K\n\r", + "ud.videointelligence.v1beta2.Feature\022K\n\r" + "video_context\030\003 \001(\01324.google.cloud.video" + "intelligence.v1beta2.VideoContext\022\022\n\nout" + "put_uri\030\004 \001(\t\022\023\n\013location_id\030\005 \001(\t\"\354\003\n\014V" + @@ -147,7 +147,7 @@ public static void registerAllExtensions( "ogle.cloud.videointelligence.v1beta2.Lab" + "elDetectionConfig\022g\n\034shot_change_detecti" + "on_config\030\003 \001(\0132A.google.cloud.videointe" + - "lligence.v1beta2.ShotChangeDetectionConf", + "lligence.v1beta2.ShotChangeDetectionConf" + "ig\022q\n!explicit_content_detection_config\030" + "\004 \001(\0132F.google.cloud.videointelligence.v" + "1beta2.ExplicitContentDetectionConfig\022Z\n" + @@ -157,7 +157,7 @@ public static void registerAllExtensions( "bel_detection_mode\030\001 \001(\0162:.google.cloud." + "videointelligence.v1beta2.LabelDetection" + "Mode\022\031\n\021stationary_camera\030\002 \001(\010\022\r\n\005model" + - "\030\003 \001(\t\"*\n\031ShotChangeDetectionConfig\022\r\n\005m", + "\030\003 \001(\t\"*\n\031ShotChangeDetectionConfig\022\r\n\005m" + "odel\030\001 \001(\t\"/\n\036ExplicitContentDetectionCo" + "nfig\022\r\n\005model\030\001 \001(\t\"D\n\023FaceDetectionConf" + "ig\022\r\n\005model\030\001 \001(\t\022\036\n\026include_bounding_bo" + @@ -167,7 +167,7 @@ public static void registerAllExtensions( "uf.Duration\"i\n\014LabelSegment\022E\n\007segment\030\001" + " \001(\01324.google.cloud.videointelligence.v1" + "beta2.VideoSegment\022\022\n\nconfidence\030\002 \001(\002\"P" + - "\n\nLabelFrame\022.\n\013time_offset\030\001 \001(\0132\031.goog", + "\n\nLabelFrame\022.\n\013time_offset\030\001 \001(\0132\031.goog" + "le.protobuf.Duration\022\022\n\nconfidence\030\002 \001(\002" + "\"G\n\006Entity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013descrip" + "tion\030\002 \001(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\250\002\n\017La" + @@ -177,7 +177,7 @@ public static void registerAllExtensions( "videointelligence.v1beta2.Entity\022F\n\010segm" + "ents\030\003 \003(\01324.google.cloud.videointellige" + "nce.v1beta2.LabelSegment\022B\n\006frames\030\004 \003(\013" + - "22.google.cloud.videointelligence.v1beta", + "22.google.cloud.videointelligence.v1beta" + "2.LabelFrame\"\232\001\n\024ExplicitContentFrame\022.\n" + "\013time_offset\030\001 \001(\0132\031.google.protobuf.Dur" + "ation\022R\n\026pornography_likelihood\030\002 \001(\01622." + @@ -187,7 +187,7 @@ public static void registerAllExtensions( "ligence.v1beta2.ExplicitContentFrame\"Q\n\025" + "NormalizedBoundingBox\022\014\n\004left\030\001 \001(\002\022\013\n\003t" + "op\030\002 \001(\002\022\r\n\005right\030\003 \001(\002\022\016\n\006bottom\030\004 \001(\002\"" + - "T\n\013FaceSegment\022E\n\007segment\030\001 \001(\01324.google", + "T\n\013FaceSegment\022E\n\007segment\030\001 \001(\01324.google" + ".cloud.videointelligence.v1beta2.VideoSe" + "gment\"\235\001\n\tFaceFrame\022`\n\031normalized_boundi" + "ng_boxes\030\001 \003(\0132=.google.cloud.videointel" + @@ -197,7 +197,7 @@ public static void registerAllExtensions( "\001(\014\022E\n\010segments\030\002 \003(\01323.google.cloud.vid" + "eointelligence.v1beta2.FaceSegment\022A\n\006fr" + "ames\030\003 \003(\01321.google.cloud.videointellige" + - "nce.v1beta2.FaceFrame\"\337\004\n\026VideoAnnotatio", + "nce.v1beta2.FaceFrame\"\337\004\n\026VideoAnnotatio" + "nResults\022\021\n\tinput_uri\030\001 \001(\t\022Z\n\031segment_l" + "abel_annotations\030\002 \003(\01327.google.cloud.vi" + "deointelligence.v1beta2.LabelAnnotation\022" + @@ -207,7 +207,7 @@ public static void registerAllExtensions( "\01327.google.cloud.videointelligence.v1bet" + "a2.LabelAnnotation\022P\n\020face_annotations\030\005" + " \003(\01326.google.cloud.videointelligence.v1" + - "beta2.FaceAnnotation\022N\n\020shot_annotations", + "beta2.FaceAnnotation\022N\n\020shot_annotations" + "\030\006 \003(\01324.google.cloud.videointelligence." + "v1beta2.VideoSegment\022^\n\023explicit_annotat" + "ion\030\007 \001(\0132A.google.cloud.videointelligen" + @@ -217,7 +217,7 @@ public static void registerAllExtensions( " \003(\0132>.google.cloud.videointelligence.v1" + "beta2.VideoAnnotationResults\"\247\001\n\027VideoAn" + "notationProgress\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020p" + - "rogress_percent\030\002 \001(\005\022.\n\nstart_time\030\003 \001(", + "rogress_percent\030\002 \001(\005\022.\n\nstart_time\030\003 \001(" + "\0132\032.google.protobuf.Timestamp\022/\n\013update_" + "time\030\004 \001(\0132\032.google.protobuf.Timestamp\"u" + "\n\025AnnotateVideoProgress\022\\\n\023annotation_pr" + @@ -227,7 +227,7 @@ public static void registerAllExtensions( "BEL_DETECTION\020\001\022\031\n\025SHOT_CHANGE_DETECTION" + "\020\002\022\036\n\032EXPLICIT_CONTENT_DETECTION\020\003\022\022\n\016FA" + "CE_DETECTION\020\004*r\n\022LabelDetectionMode\022$\n " + - "LABEL_DETECTION_MODE_UNSPECIFIED\020\000\022\r\n\tSH", + "LABEL_DETECTION_MODE_UNSPECIFIED\020\000\022\r\n\tSH" + "OT_MODE\020\001\022\016\n\nFRAME_MODE\020\002\022\027\n\023SHOT_AND_FR" + "AME_MODE\020\003*t\n\nLikelihood\022\032\n\026LIKELIHOOD_U" + "NSPECIFIED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIK" + @@ -237,7 +237,7 @@ public static void registerAllExtensions( "lligence.v1beta2.AnnotateVideoRequest\032\035." + "google.longrunning.Operation\"#\202\323\344\223\002\035\"\030/v" + "1beta2/videos:annotate:\001*B\370\001\n*com.google" + - ".cloud.videointelligence.v1beta2B\035VideoI", + ".cloud.videointelligence.v1beta2B\035VideoI" + "ntelligenceServiceProtoP\001ZWgoogle.golang" + ".org/genproto/googleapis/cloud/videointe" + "lligence/v1beta2;videointelligence\252\002&Goo" + diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java index 88e952c193d0..74d4a0605ecb 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java @@ -32,6 +32,9 @@ private VideoSegment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -855,7 +858,7 @@ public VideoSegment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoSegment(input, extensionRegistry); + return new VideoSegment(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java index b1a3acb632ce..12d6ae1a35ec 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java @@ -35,6 +35,9 @@ private AnnotateVideoProgress( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public AnnotateVideoProgress parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); + return new AnnotateVideoProgress(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java index 715fd750d022..be80bb0a4011 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java @@ -37,6 +37,9 @@ private AnnotateVideoRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1569,7 +1572,7 @@ public AnnotateVideoRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); + return new AnnotateVideoRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java index f7830bd5c092..b518c8dbc3b2 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java @@ -35,6 +35,9 @@ private AnnotateVideoResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public AnnotateVideoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); + return new AnnotateVideoResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java index 192f2a41090c..6130e90bac13 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java @@ -35,6 +35,9 @@ private Entity( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -852,7 +855,7 @@ public Entity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); + return new Entity(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java index b6d54a78c96a..c5b7534426da 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java @@ -35,6 +35,9 @@ private ExplicitContentAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -814,7 +817,7 @@ public ExplicitContentAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); + return new ExplicitContentAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java index e207b8079545..6a4c29fbaf51 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java @@ -33,6 +33,9 @@ private ExplicitContentDetectionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public ExplicitContentDetectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); + return new ExplicitContentDetectionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java index 66976f4040bc..b4cd1b429136 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java @@ -33,6 +33,9 @@ private ExplicitContentFrame( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -725,7 +728,7 @@ public ExplicitContentFrame parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); + return new ExplicitContentFrame(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java index ca28b82bdae2..1070ce2564ca 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java @@ -35,6 +35,9 @@ private LabelAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1981,7 +1984,7 @@ public LabelAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); + return new LabelAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java index 7911ddf85366..dc9b3d3550f9 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java @@ -35,6 +35,9 @@ private LabelDetectionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -750,7 +753,7 @@ public LabelDetectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); + return new LabelDetectionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java index 98601f40c42f..7f75b1e1dc43 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java @@ -33,6 +33,9 @@ private LabelFrame( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -691,7 +694,7 @@ public LabelFrame parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); + return new LabelFrame(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java index 1971b71500d3..b3699c57712e 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java @@ -33,6 +33,9 @@ private LabelSegment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -679,7 +682,7 @@ public LabelSegment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); + return new LabelSegment(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/NormalizedBoundingBox.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/NormalizedBoundingBox.java index 5e32306e943e..4415dc2c1da2 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/NormalizedBoundingBox.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/NormalizedBoundingBox.java @@ -38,6 +38,9 @@ private NormalizedBoundingBox( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -685,7 +688,7 @@ public NormalizedBoundingBox parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingBox(input, extensionRegistry); + return new NormalizedBoundingBox(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java index 892c40e31907..143338a655d2 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java @@ -33,6 +33,9 @@ private ShotChangeDetectionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public ShotChangeDetectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); + return new ShotChangeDetectionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java index 1d295005931c..4f49f38e1a77 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java @@ -34,6 +34,9 @@ private SpeechContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -664,7 +667,7 @@ public SpeechContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechContext(input, extensionRegistry); + return new SpeechContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java index 2da35c224755..df8240aa34cf 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java @@ -35,6 +35,9 @@ private SpeechRecognitionAlternative( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1065,7 +1068,7 @@ public SpeechRecognitionAlternative parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechRecognitionAlternative(input, extensionRegistry); + return new SpeechRecognitionAlternative(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java index 5d2d570d4c91..e08bf39ca161 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java @@ -33,6 +33,9 @@ private SpeechTranscription( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -879,7 +882,7 @@ public SpeechTranscription parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscription(input, extensionRegistry); + return new SpeechTranscription(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java index fc0c5c1d5233..f913dc6c3f80 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java @@ -37,6 +37,9 @@ private SpeechTranscriptionConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1382,7 +1385,7 @@ public SpeechTranscriptionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscriptionConfig(input, extensionRegistry); + return new SpeechTranscriptionConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java index 54a7358117fd..63d02624507a 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java @@ -34,6 +34,9 @@ private VideoAnnotationProgress( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1071,7 +1074,7 @@ public VideoAnnotationProgress parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationProgress(input, extensionRegistry); + return new VideoAnnotationProgress(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java index 7981de60c1aa..eeb462d5d555 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java @@ -38,6 +38,9 @@ private VideoAnnotationResults( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3254,7 +3257,7 @@ public VideoAnnotationResults parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationResults(input, extensionRegistry); + return new VideoAnnotationResults(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java index b1658ed1f16e..1bb84009830b 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java @@ -33,6 +33,9 @@ private VideoContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1775,7 +1778,7 @@ public VideoContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); + return new VideoContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java index bb383a39c926..8c4089d2e24f 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java @@ -142,7 +142,7 @@ public static void registerAllExtensions( "o\032\027google/rpc/status.proto\"\375\001\n\024AnnotateV" + "ideoRequest\022\021\n\tinput_uri\030\001 \001(\t\022\025\n\rinput_" + "content\030\006 \001(\014\022C\n\010features\030\002 \003(\01621.google" + - ".cloud.videointelligence.v1p1beta1.Featu", + ".cloud.videointelligence.v1p1beta1.Featu" + "re\022M\n\rvideo_context\030\003 \001(\01326.google.cloud" + ".videointelligence.v1p1beta1.VideoContex" + "t\022\022\n\noutput_uri\030\004 \001(\t\022\023\n\013location_id\030\005 \001" + @@ -152,7 +152,7 @@ public static void registerAllExtensions( "\002 \001(\0132>.google.cloud.videointelligence.v" + "1p1beta1.LabelDetectionConfig\022i\n\034shot_ch" + "ange_detection_config\030\003 \001(\0132C.google.clo" + - "ud.videointelligence.v1p1beta1.ShotChang", + "ud.videointelligence.v1p1beta1.ShotChang" + "eDetectionConfig\022s\n!explicit_content_det" + "ection_config\030\004 \001(\0132H.google.cloud.video" + "intelligence.v1p1beta1.ExplicitContentDe" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "\234\001\n\024LabelDetectionConfig\022Z\n\024label_detect" + "ion_mode\030\001 \001(\0162<.google.cloud.videointel" + "ligence.v1p1beta1.LabelDetectionMode\022\031\n\021" + - "stationary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\"*", + "stationary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\"*" + "\n\031ShotChangeDetectionConfig\022\r\n\005model\030\001 \001" + "(\t\"/\n\036ExplicitContentDetectionConfig\022\r\n\005" + "model\030\001 \001(\t\"x\n\014VideoSegment\0224\n\021start_tim" + @@ -172,7 +172,7 @@ public static void registerAllExtensions( "\030\001 \001(\01326.google.cloud.videointelligence." + "v1p1beta1.VideoSegment\022\022\n\nconfidence\030\002 \001" + "(\002\"P\n\nLabelFrame\022.\n\013time_offset\030\001 \001(\0132\031." + - "google.protobuf.Duration\022\022\n\nconfidence\030\002", + "google.protobuf.Duration\022\022\n\nconfidence\030\002" + " \001(\002\"G\n\006Entity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013des" + "cription\030\002 \001(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\260\002" + "\n\017LabelAnnotation\022@\n\006entity\030\001 \001(\01320.goog" + @@ -182,7 +182,7 @@ public static void registerAllExtensions( "\022H\n\010segments\030\003 \003(\01326.google.cloud.videoi" + "ntelligence.v1p1beta1.LabelSegment\022D\n\006fr" + "ames\030\004 \003(\01324.google.cloud.videointellige" + - "nce.v1p1beta1.LabelFrame\"\234\001\n\024ExplicitCon", + "nce.v1p1beta1.LabelFrame\"\234\001\n\024ExplicitCon" + "tentFrame\022.\n\013time_offset\030\001 \001(\0132\031.google." + "protobuf.Duration\022T\n\026pornography_likelih" + "ood\030\002 \001(\01624.google.cloud.videointelligen" + @@ -192,7 +192,7 @@ public static void registerAllExtensions( "ContentFrame\"Q\n\025NormalizedBoundingBox\022\014\n" + "\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(\002\022\r\n\005right\030\003 \001(\002\022" + "\016\n\006bottom\030\004 \001(\002\"\365\004\n\026VideoAnnotationResul" + - "ts\022\021\n\tinput_uri\030\001 \001(\t\022\\\n\031segment_label_a", + "ts\022\021\n\tinput_uri\030\001 \001(\t\022\\\n\031segment_label_a" + "nnotations\030\002 \003(\01329.google.cloud.videoint" + "elligence.v1p1beta1.LabelAnnotation\022Y\n\026s" + "hot_label_annotations\030\003 \003(\01329.google.clo" + @@ -202,7 +202,7 @@ public static void registerAllExtensions( "a1.LabelAnnotation\022P\n\020shot_annotations\030\006" + " \003(\01326.google.cloud.videointelligence.v1" + "p1beta1.VideoSegment\022`\n\023explicit_annotat" + - "ion\030\007 \001(\0132C.google.cloud.videointelligen", + "ion\030\007 \001(\0132C.google.cloud.videointelligen" + "ce.v1p1beta1.ExplicitContentAnnotation\022\\" + "\n\025speech_transcriptions\030\013 \003(\0132=.google.c" + "loud.videointelligence.v1p1beta1.SpeechT" + @@ -212,7 +212,7 @@ public static void registerAllExtensions( "ointelligence.v1p1beta1.VideoAnnotationR" + "esults\"\247\001\n\027VideoAnnotationProgress\022\021\n\tin" + "put_uri\030\001 \001(\t\022\030\n\020progress_percent\030\002 \001(\005\022" + - ".\n\nstart_time\030\003 \001(\0132\032.google.protobuf.Ti", + ".\n\nstart_time\030\003 \001(\0132\032.google.protobuf.Ti" + "mestamp\022/\n\013update_time\030\004 \001(\0132\032.google.pr" + "otobuf.Timestamp\"w\n\025AnnotateVideoProgres" + "s\022^\n\023annotation_progress\030\001 \003(\0132A.google." + @@ -222,7 +222,7 @@ public static void registerAllExtensions( "ternatives\030\002 \001(\005\022\030\n\020filter_profanity\030\003 \001" + "(\010\022P\n\017speech_contexts\030\004 \003(\01327.google.clo" + "ud.videointelligence.v1p1beta1.SpeechCon" + - "text\022\024\n\014audio_tracks\030\006 \003(\005\" \n\rSpeechCont", + "text\022\024\n\014audio_tracks\030\006 \003(\005\" \n\rSpeechCont" + "ext\022\017\n\007phrases\030\001 \003(\t\"s\n\023SpeechTranscript" + "ion\022\\\n\014alternatives\030\001 \003(\0132F.google.cloud" + ".videointelligence.v1p1beta1.SpeechRecog" + @@ -232,7 +232,7 @@ public static void registerAllExtensions( ".videointelligence.v1p1beta1.WordInfo\"t\n" + "\010WordInfo\022-\n\nstart_time\030\001 \001(\0132\031.google.p" + "rotobuf.Duration\022+\n\010end_time\030\002 \001(\0132\031.goo" + - "gle.protobuf.Duration\022\014\n\004word\030\003 \001(\t*\214\001\n\007", + "gle.protobuf.Duration\022\014\n\004word\030\003 \001(\t*\214\001\n\007" + "Feature\022\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABE" + "L_DETECTION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002" + "\022\036\n\032EXPLICIT_CONTENT_DETECTION\020\003\022\030\n\024SPEE" + @@ -242,7 +242,7 @@ public static void registerAllExtensions( "D_FRAME_MODE\020\003*t\n\nLikelihood\022\032\n\026LIKELIHO" + "OD_UNSPECIFIED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010U" + "NLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013V" + - "ERY_LIKELY\020\0052\262\001\n\030VideoIntelligenceServic", + "ERY_LIKELY\020\0052\262\001\n\030VideoIntelligenceServic" + "e\022\225\001\n\rAnnotateVideo\022>.google.cloud.video" + "intelligence.v1p1beta1.AnnotateVideoRequ" + "est\032\035.google.longrunning.Operation\"%\202\323\344\223" + @@ -252,7 +252,7 @@ public static void registerAllExtensions( "gle.golang.org/genproto/googleapis/cloud" + "/videointelligence/v1p1beta1;videointell" + "igence\252\002(Google.Cloud.VideoIntelligence." + - "V1P1Beta1\312\002(Google\\Cloud\\VideoIntelligen", + "V1P1Beta1\312\002(Google\\Cloud\\VideoIntelligen" + "ce\\V1p1beta1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java index 77c39cb73b55..80a24127fec6 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java @@ -32,6 +32,9 @@ private VideoSegment( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -855,7 +858,7 @@ public VideoSegment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoSegment(input, extensionRegistry); + return new VideoSegment(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java index 11d7e6ae4fee..86b0090b0e9c 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java @@ -35,6 +35,9 @@ private WordInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1062,7 +1065,7 @@ public WordInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WordInfo(input, extensionRegistry); + return new WordInfo(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateFileResponse.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateFileResponse.java index 193d22ebf171..2ac0c3be8fee 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateFileResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateFileResponse.java @@ -34,6 +34,9 @@ private AnnotateFileResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1044,7 +1047,7 @@ public AnnotateFileResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateFileResponse(input, extensionRegistry); + return new AnnotateFileResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateImageRequest.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateImageRequest.java index ec383d63a23f..81ba68bf99da 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateImageRequest.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateImageRequest.java @@ -34,6 +34,9 @@ private AnnotateImageRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1273,7 +1276,7 @@ public AnnotateImageRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateImageRequest(input, extensionRegistry); + return new AnnotateImageRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateImageResponse.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateImageResponse.java index e92b8b9dc8cf..5fd304e6d65e 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateImageResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AnnotateImageResponse.java @@ -37,6 +37,9 @@ private AnnotateImageResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4228,7 +4231,7 @@ public AnnotateImageResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateImageResponse(input, extensionRegistry); + return new AnnotateImageResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncAnnotateFileRequest.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncAnnotateFileRequest.java index 8fa41a1819c0..e2c3b337f233 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncAnnotateFileRequest.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncAnnotateFileRequest.java @@ -33,6 +33,9 @@ private AsyncAnnotateFileRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1500,7 +1503,7 @@ public AsyncAnnotateFileRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncAnnotateFileRequest(input, extensionRegistry); + return new AsyncAnnotateFileRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncAnnotateFileResponse.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncAnnotateFileResponse.java index 2fc2b07e48f3..ec0014e39824 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncAnnotateFileResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncAnnotateFileResponse.java @@ -32,6 +32,9 @@ private AsyncAnnotateFileResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public AsyncAnnotateFileResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncAnnotateFileResponse(input, extensionRegistry); + return new AsyncAnnotateFileResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncBatchAnnotateFilesRequest.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncBatchAnnotateFilesRequest.java index d4b0da2bec37..df368dd99d37 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncBatchAnnotateFilesRequest.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncBatchAnnotateFilesRequest.java @@ -34,6 +34,9 @@ private AsyncBatchAnnotateFilesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -812,7 +815,7 @@ public AsyncBatchAnnotateFilesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncBatchAnnotateFilesRequest(input, extensionRegistry); + return new AsyncBatchAnnotateFilesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncBatchAnnotateFilesResponse.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncBatchAnnotateFilesResponse.java index 496793d6fc0e..3107b23f498b 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncBatchAnnotateFilesResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/AsyncBatchAnnotateFilesResponse.java @@ -33,6 +33,9 @@ private AsyncBatchAnnotateFilesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -833,7 +836,7 @@ public AsyncBatchAnnotateFilesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncBatchAnnotateFilesResponse(input, extensionRegistry); + return new AsyncBatchAnnotateFilesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BatchAnnotateImagesRequest.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BatchAnnotateImagesRequest.java index 871c8c8da84e..b3050f19e82c 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BatchAnnotateImagesRequest.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BatchAnnotateImagesRequest.java @@ -33,6 +33,9 @@ private BatchAnnotateImagesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public BatchAnnotateImagesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchAnnotateImagesRequest(input, extensionRegistry); + return new BatchAnnotateImagesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BatchAnnotateImagesResponse.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BatchAnnotateImagesResponse.java index 172e57c7102c..38a35e07daba 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BatchAnnotateImagesResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BatchAnnotateImagesResponse.java @@ -33,6 +33,9 @@ private BatchAnnotateImagesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public BatchAnnotateImagesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchAnnotateImagesResponse(input, extensionRegistry); + return new BatchAnnotateImagesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Block.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Block.java index f3d1719fd11d..7b07b4fefff5 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Block.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Block.java @@ -35,6 +35,9 @@ private Block( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1813,7 +1816,7 @@ public Block parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Block(input, extensionRegistry); + return new Block(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BoundingPoly.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BoundingPoly.java index a7f639e698fe..25f4ec64b791 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BoundingPoly.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/BoundingPoly.java @@ -34,6 +34,9 @@ private BoundingPoly( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1245,7 +1248,7 @@ public BoundingPoly parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BoundingPoly(input, extensionRegistry); + return new BoundingPoly(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ColorInfo.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ColorInfo.java index 2997d72534be..415be71e7889 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ColorInfo.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ColorInfo.java @@ -35,6 +35,9 @@ private ColorInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -762,7 +765,7 @@ public ColorInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ColorInfo(input, extensionRegistry); + return new ColorInfo(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHint.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHint.java index 6d27f44192c1..092bd9f0ed02 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHint.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHint.java @@ -34,6 +34,9 @@ private CropHint( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -772,7 +775,7 @@ public CropHint parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CropHint(input, extensionRegistry); + return new CropHint(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHintsAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHintsAnnotation.java index fb443ec7f357..fe64db555f41 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHintsAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHintsAnnotation.java @@ -33,6 +33,9 @@ private CropHintsAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public CropHintsAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CropHintsAnnotation(input, extensionRegistry); + return new CropHintsAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHintsParams.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHintsParams.java index 44c2569fb62e..c9d08811cfff 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHintsParams.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CropHintsParams.java @@ -33,6 +33,9 @@ private CropHintsParams( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -621,7 +624,7 @@ public CropHintsParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CropHintsParams(input, extensionRegistry); + return new CropHintsParams(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/DominantColorsAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/DominantColorsAnnotation.java index c5e970506b7f..1b3dd3859166 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/DominantColorsAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/DominantColorsAnnotation.java @@ -33,6 +33,9 @@ private DominantColorsAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public DominantColorsAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DominantColorsAnnotation(input, extensionRegistry); + return new DominantColorsAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotation.java index 3a1dc2b903ab..2e94fa9391ba 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotation.java @@ -40,6 +40,9 @@ private EntityAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2353,7 +2356,7 @@ public EntityAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityAnnotation(input, extensionRegistry); + return new EntityAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/FaceAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/FaceAnnotation.java index b19e995070c1..be7b0ed370d8 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/FaceAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/FaceAnnotation.java @@ -45,6 +45,9 @@ private FaceAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -268,6 +271,9 @@ private Landmark( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1630,7 +1636,7 @@ public Landmark parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Landmark(input, extensionRegistry); + return new Landmark(input, extensionRegistry); } }; @@ -4042,7 +4048,7 @@ public FaceAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceAnnotation(input, extensionRegistry); + return new FaceAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Feature.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Feature.java index ffde7eaef358..87d958606a03 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Feature.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Feature.java @@ -37,6 +37,9 @@ private Feature( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1016,7 +1019,7 @@ public Feature parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Feature(input, extensionRegistry); + return new Feature(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GcsDestination.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GcsDestination.java index 92edcdad4409..101cf4784e3e 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GcsDestination.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GcsDestination.java @@ -33,6 +33,9 @@ private GcsDestination( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -605,7 +608,7 @@ public GcsDestination parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); + return new GcsDestination(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GcsSource.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GcsSource.java index 594e497fd726..58f68067640e 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GcsSource.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GcsSource.java @@ -33,6 +33,9 @@ private GcsSource( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GcsSource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsSource(input, extensionRegistry); + return new GcsSource(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GeometryProto.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GeometryProto.java index dd57ef5f9e08..106c89d581aa 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GeometryProto.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GeometryProto.java @@ -52,7 +52,7 @@ public static void registerAllExtensions( "le.cloud.vision.v1.NormalizedVertex\"+\n\010P" + "osition\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002" + "Bn\n\032com.google.cloud.vision.v1B\rGeometry" + - "ProtoP\001Z\n\022blu" + "rred_likelihood\030\016 \001(\0162\".google.cloud.vis" + - "ion.v1.Likelihood\022?\n\023headwear_likelihood", + "ion.v1.Likelihood\022?\n\023headwear_likelihood" + "\030\017 \001(\0162\".google.cloud.vision.v1.Likeliho" + "od\032\271\007\n\010Landmark\022B\n\004type\030\003 \001(\01624.google.c" + "loud.vision.v1.FaceAnnotation.Landmark.T" + @@ -237,7 +237,7 @@ public static void registerAllExtensions( "EFT_OF_LEFT_EYEBROW\020\003\022\031\n\025RIGHT_OF_LEFT_E" + "YEBROW\020\004\022\031\n\025LEFT_OF_RIGHT_EYEBROW\020\005\022\032\n\026R" + "IGHT_OF_RIGHT_EYEBROW\020\006\022\031\n\025MIDPOINT_BETW" + - "EEN_EYES\020\007\022\014\n\010NOSE_TIP\020\010\022\r\n\tUPPER_LIP\020\t\022", + "EEN_EYES\020\007\022\014\n\010NOSE_TIP\020\010\022\r\n\tUPPER_LIP\020\t\022" + "\r\n\tLOWER_LIP\020\n\022\016\n\nMOUTH_LEFT\020\013\022\017\n\013MOUTH_" + "RIGHT\020\014\022\020\n\014MOUTH_CENTER\020\r\022\025\n\021NOSE_BOTTOM" + "_RIGHT\020\016\022\024\n\020NOSE_BOTTOM_LEFT\020\017\022\026\n\022NOSE_B" + @@ -247,7 +247,7 @@ public static void registerAllExtensions( "ER\020\024\022\032\n\026RIGHT_EYE_TOP_BOUNDARY\020\025\022\032\n\026RIGH" + "T_EYE_RIGHT_CORNER\020\026\022\035\n\031RIGHT_EYE_BOTTOM" + "_BOUNDARY\020\027\022\031\n\025RIGHT_EYE_LEFT_CORNER\020\030\022\037" + - "\n\033LEFT_EYEBROW_UPPER_MIDPOINT\020\031\022 \n\034RIGHT", + "\n\033LEFT_EYEBROW_UPPER_MIDPOINT\020\031\022 \n\034RIGHT" + "_EYEBROW_UPPER_MIDPOINT\020\032\022\024\n\020LEFT_EAR_TR" + "AGION\020\033\022\025\n\021RIGHT_EAR_TRAGION\020\034\022\022\n\016LEFT_E" + "YE_PUPIL\020\035\022\023\n\017RIGHT_EYE_PUPIL\020\036\022\025\n\021FOREH" + @@ -257,7 +257,7 @@ public static void registerAllExtensions( ".type.LatLng\"=\n\010Property\022\014\n\004name\030\001 \001(\t\022\r" + "\n\005value\030\002 \001(\t\022\024\n\014uint64_value\030\003 \001(\004\"\247\002\n\020" + "EntityAnnotation\022\013\n\003mid\030\001 \001(\t\022\016\n\006locale\030" + - "\002 \001(\t\022\023\n\013description\030\003 \001(\t\022\r\n\005score\030\004 \001(", + "\002 \001(\t\022\023\n\013description\030\003 \001(\t\022\r\n\005score\030\004 \001(" + "\002\022\022\n\nconfidence\030\005 \001(\002\022\022\n\ntopicality\030\006 \001(" + "\002\022;\n\rbounding_poly\030\007 \001(\0132$.google.cloud." + "vision.v1.BoundingPoly\0227\n\tlocations\030\010 \003(" + @@ -267,7 +267,7 @@ public static void registerAllExtensions( "\n\005adult\030\001 \001(\0162\".google.cloud.vision.v1.L" + "ikelihood\0221\n\005spoof\030\002 \001(\0162\".google.cloud." + "vision.v1.Likelihood\0223\n\007medical\030\003 \001(\0162\"." + - "google.cloud.vision.v1.Likelihood\0224\n\010vio", + "google.cloud.vision.v1.Likelihood\0224\n\010vio" + "lence\030\004 \001(\0162\".google.cloud.vision.v1.Lik" + "elihood\0220\n\004racy\030\t \001(\0162\".google.cloud.vis" + "ion.v1.Likelihood\"a\n\013LatLongRect\022(\n\013min_" + @@ -277,7 +277,7 @@ public static void registerAllExtensions( "olor\022\r\n\005score\030\002 \001(\002\022\026\n\016pixel_fraction\030\003 " + "\001(\002\"M\n\030DominantColorsAnnotation\0221\n\006color" + "s\030\001 \003(\0132!.google.cloud.vision.v1.ColorIn" + - "fo\"\\\n\017ImageProperties\022I\n\017dominant_colors", + "fo\"\\\n\017ImageProperties\022I\n\017dominant_colors" + "\030\001 \001(\01320.google.cloud.vision.v1.Dominant" + "ColorsAnnotation\"x\n\010CropHint\022;\n\rbounding" + "_poly\030\001 \001(\0132$.google.cloud.vision.v1.Bou" + @@ -287,7 +287,7 @@ public static void registerAllExtensions( "ion.v1.CropHint\"(\n\017CropHintsParams\022\025\n\ras" + "pect_ratios\030\001 \003(\002\"1\n\022WebDetectionParams\022" + "\033\n\023include_geo_results\030\002 \001(\010\"\360\001\n\014ImageCo" + - "ntext\022:\n\rlat_long_rect\030\001 \001(\0132#.google.cl", + "ntext\022:\n\rlat_long_rect\030\001 \001(\0132#.google.cl" + "oud.vision.v1.LatLongRect\022\026\n\016language_hi" + "nts\030\002 \003(\t\022B\n\021crop_hints_params\030\004 \001(\0132\'.g" + "oogle.cloud.vision.v1.CropHintsParams\022H\n" + @@ -297,7 +297,7 @@ public static void registerAllExtensions( ".cloud.vision.v1.Image\0221\n\010features\030\002 \003(\013" + "2\037.google.cloud.vision.v1.Feature\022;\n\rima" + "ge_context\030\003 \001(\0132$.google.cloud.vision.v" + - "1.ImageContext\":\n\026ImageAnnotationContext", + "1.ImageContext\":\n\026ImageAnnotationContext" + "\022\013\n\003uri\030\001 \001(\t\022\023\n\013page_number\030\002 \001(\005\"\275\006\n\025A" + "nnotateImageResponse\022@\n\020face_annotations" + "\030\001 \003(\0132&.google.cloud.vision.v1.FaceAnno" + @@ -307,7 +307,7 @@ public static void registerAllExtensions( "vision.v1.EntityAnnotation\022C\n\021label_anno" + "tations\030\004 \003(\0132(.google.cloud.vision.v1.E" + "ntityAnnotation\022B\n\020text_annotations\030\005 \003(" + - "\0132(.google.cloud.vision.v1.EntityAnnotat", + "\0132(.google.cloud.vision.v1.EntityAnnotat" + "ion\022D\n\024full_text_annotation\030\014 \001(\0132&.goog" + "le.cloud.vision.v1.TextAnnotation\022L\n\026saf" + "e_search_annotation\030\006 \001(\0132,.google.cloud" + @@ -317,7 +317,7 @@ public static void registerAllExtensions( "nts_annotation\030\013 \001(\0132+.google.cloud.visi" + "on.v1.CropHintsAnnotation\022;\n\rweb_detecti" + "on\030\r \001(\0132$.google.cloud.vision.v1.WebDet" + - "ection\022!\n\005error\030\t \001(\0132\022.google.rpc.Statu", + "ection\022!\n\005error\030\t \001(\0132\022.google.rpc.Statu" + "s\022?\n\007context\030\025 \001(\0132..google.cloud.vision" + ".v1.ImageAnnotationContext\"\223\001\n\024AnnotateF" + "ileResponse\0229\n\014input_config\030\001 \001(\0132#.goog" + @@ -327,7 +327,7 @@ public static void registerAllExtensions( "equest\022>\n\010requests\030\001 \003(\0132,.google.cloud." + "vision.v1.AnnotateImageRequest\"_\n\033BatchA" + "nnotateImagesResponse\022@\n\tresponses\030\001 \003(\013" + - "2-.google.cloud.vision.v1.AnnotateImageR", + "2-.google.cloud.vision.v1.AnnotateImageR" + "esponse\"\202\002\n\030AsyncAnnotateFileRequest\0229\n\014" + "input_config\030\001 \001(\0132#.google.cloud.vision" + ".v1.InputConfig\0221\n\010features\030\002 \003(\0132\037.goog" + @@ -337,7 +337,7 @@ public static void registerAllExtensions( "cloud.vision.v1.OutputConfig\"X\n\031AsyncAnn" + "otateFileResponse\022;\n\routput_config\030\001 \001(\013" + "2$.google.cloud.vision.v1.OutputConfig\"d" + - "\n\036AsyncBatchAnnotateFilesRequest\022B\n\010requ", + "\n\036AsyncBatchAnnotateFilesRequest\022B\n\010requ" + "ests\030\001 \003(\01320.google.cloud.vision.v1.Asyn" + "cAnnotateFileRequest\"g\n\037AsyncBatchAnnota" + "teFilesResponse\022D\n\tresponses\030\001 \003(\01321.goo" + @@ -347,7 +347,7 @@ public static void registerAllExtensions( "ime_type\030\002 \001(\t\"c\n\014OutputConfig\022?\n\017gcs_de" + "stination\030\001 \001(\0132&.google.cloud.vision.v1" + ".GcsDestination\022\022\n\nbatch_size\030\002 \001(\005\"\030\n\tG" + - "csSource\022\013\n\003uri\030\001 \001(\t\"\035\n\016GcsDestination\022", + "csSource\022\013\n\003uri\030\001 \001(\t\"\035\n\016GcsDestination\022" + "\013\n\003uri\030\001 \001(\t\"\210\002\n\021OperationMetadata\022>\n\005st" + "ate\030\001 \001(\0162/.google.cloud.vision.v1.Opera" + "tionMetadata.State\022/\n\013create_time\030\005 \001(\0132" + @@ -357,7 +357,7 @@ public static void registerAllExtensions( "\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\r\n\tCANCELLED\020\004*" + "e\n\nLikelihood\022\013\n\007UNKNOWN\020\000\022\021\n\rVERY_UNLIK" + "ELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIK" + - "ELY\020\004\022\017\n\013VERY_LIKELY\020\0052\315\002\n\016ImageAnnotato", + "ELY\020\004\022\017\n\013VERY_LIKELY\020\0052\315\002\n\016ImageAnnotato" + "r\022\236\001\n\023BatchAnnotateImages\0222.google.cloud" + ".vision.v1.BatchAnnotateImagesRequest\0323." + "google.cloud.vision.v1.BatchAnnotateImag" + @@ -367,7 +367,7 @@ public static void registerAllExtensions( "equest\032\035.google.longrunning.Operation\"\'\202" + "\323\344\223\002!\"\034/v1/files:asyncBatchAnnotate:\001*Bt" + "\n\032com.google.cloud.vision.v1B\023ImageAnnot" + - "atorProtoP\001Z.googl" + "e.cloud.vision.v1.TextAnnotation.Detecte" + - "dBreak.BreakType\022\021\n\tis_prefix\030\002 \001(\010\"c\n\tB", + "dBreak.BreakType\022\021\n\tis_prefix\030\002 \001(\010\"c\n\tB" + "reakType\022\013\n\007UNKNOWN\020\000\022\t\n\005SPACE\020\001\022\016\n\nSURE" + "_SPACE\020\002\022\022\n\016EOL_SURE_SPACE\020\003\022\n\n\006HYPHEN\020\004" + "\022\016\n\nLINE_BREAK\020\005\032\261\001\n\014TextProperty\022S\n\022det" + @@ -87,7 +87,7 @@ public static void registerAllExtensions( "sion.v1.TextAnnotation.DetectedBreak\"\257\001\n" + "\004Page\022E\n\010property\030\001 \001(\01323.google.cloud.v" + "ision.v1.TextAnnotation.TextProperty\022\r\n\005" + - "width\030\002 \001(\005\022\016\n\006height\030\003 \001(\005\022-\n\006blocks\030\004 ", + "width\030\002 \001(\005\022\016\n\006height\030\003 \001(\005\022-\n\006blocks\030\004 " + "\003(\0132\035.google.cloud.vision.v1.Block\022\022\n\nco" + "nfidence\030\005 \001(\002\"\346\002\n\005Block\022E\n\010property\030\001 \001" + "(\01323.google.cloud.vision.v1.TextAnnotati" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( ".Paragraph\022;\n\nblock_type\030\004 \001(\0162\'.google." + "cloud.vision.v1.Block.BlockType\022\022\n\nconfi" + "dence\030\005 \001(\002\"R\n\tBlockType\022\013\n\007UNKNOWN\020\000\022\010\n" + - "\004TEXT\020\001\022\t\n\005TABLE\020\002\022\013\n\007PICTURE\020\003\022\t\n\005RULER", + "\004TEXT\020\001\022\t\n\005TABLE\020\002\022\013\n\007PICTURE\020\003\022\t\n\005RULER" + "\020\004\022\013\n\007BARCODE\020\005\"\317\001\n\tParagraph\022E\n\010propert" + "y\030\001 \001(\01323.google.cloud.vision.v1.TextAnn" + "otation.TextProperty\022:\n\014bounding_box\030\002 \001" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "operty\030\001 \001(\01323.google.cloud.vision.v1.Te" + "xtAnnotation.TextProperty\022:\n\014bounding_bo" + "x\030\002 \001(\0132$.google.cloud.vision.v1.Boundin" + - "gPoly\022/\n\007symbols\030\003 \003(\0132\036.google.cloud.vi", + "gPoly\022/\n\007symbols\030\003 \003(\0132\036.google.cloud.vi" + "sion.v1.Symbol\022\022\n\nconfidence\030\004 \001(\002\"\255\001\n\006S" + "ymbol\022E\n\010property\030\001 \001(\01323.google.cloud.v" + "ision.v1.TextAnnotation.TextProperty\022:\n\014" + diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Vertex.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Vertex.java index d021cee489cb..775fe8925810 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Vertex.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Vertex.java @@ -35,6 +35,9 @@ private Vertex( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -523,7 +526,7 @@ public Vertex parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Vertex(input, extensionRegistry); + return new Vertex(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetection.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetection.java index 3f52389c3206..84eaa7b80e9d 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetection.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetection.java @@ -38,6 +38,9 @@ private WebDetection( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -234,6 +237,9 @@ private WebEntity( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -963,7 +969,7 @@ public WebEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebEntity(input, extensionRegistry); + return new WebEntity(input, extensionRegistry); } }; @@ -1044,6 +1050,9 @@ private WebImage( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1615,7 +1624,7 @@ public WebImage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebImage(input, extensionRegistry); + return new WebImage(input, extensionRegistry); } }; @@ -1825,6 +1834,9 @@ private WebPage( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3515,7 +3527,7 @@ public WebPage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebPage(input, extensionRegistry); + return new WebPage(input, extensionRegistry); } }; @@ -3609,6 +3621,9 @@ private WebLabel( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4272,7 +4287,7 @@ public WebLabel parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebLabel(input, extensionRegistry); + return new WebLabel(input, extensionRegistry); } }; @@ -7193,7 +7208,7 @@ public WebDetection parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebDetection(input, extensionRegistry); + return new WebDetection(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetectionParams.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetectionParams.java index 1974745f6507..fdb1ebcae052 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetectionParams.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetectionParams.java @@ -33,6 +33,9 @@ private WebDetectionParams( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -448,7 +451,7 @@ public WebDetectionParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebDetectionParams(input, extensionRegistry); + return new WebDetectionParams(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetectionProto.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetectionProto.java index 319fda9cf820..c7cb6880f81f 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetectionProto.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/WebDetectionProto.java @@ -57,7 +57,7 @@ public static void registerAllExtensions( ".WebDetection.WebImage\022N\n\027partial_matchi" + "ng_images\030\003 \003(\0132-.google.cloud.vision.v1" + ".WebDetection.WebImage\022P\n\032pages_with_mat" + - "ching_images\030\004 \003(\0132,.google.cloud.vision", + "ching_images\030\004 \003(\0132,.google.cloud.vision" + ".v1.WebDetection.WebPage\022N\n\027visually_sim" + "ilar_images\030\006 \003(\0132-.google.cloud.vision." + "v1.WebDetection.WebImage\022H\n\021best_guess_l" + @@ -67,7 +67,7 @@ public static void registerAllExtensions( "\030\003 \001(\t\032&\n\010WebImage\022\013\n\003url\030\001 \001(\t\022\r\n\005score" + "\030\002 \001(\002\032\326\001\n\007WebPage\022\013\n\003url\030\001 \001(\t\022\r\n\005score" + "\030\002 \001(\002\022\022\n\npage_title\030\003 \001(\t\022K\n\024full_match" + - "ing_images\030\004 \003(\0132-.google.cloud.vision.v", + "ing_images\030\004 \003(\0132-.google.cloud.vision.v" + "1.WebDetection.WebImage\022N\n\027partial_match" + "ing_images\030\005 \003(\0132-.google.cloud.vision.v" + "1.WebDetection.WebImage\0320\n\010WebLabel\022\r\n\005l" + diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Word.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Word.java index b2eb5c24b0e3..13b3d63eb97b 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Word.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Word.java @@ -34,6 +34,9 @@ private Word( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1539,7 +1542,7 @@ public Word parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Word(input, extensionRegistry); + return new Word(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/AnnotateImageRequest.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/AnnotateImageRequest.java index 7178f2354c8a..2036f3455c38 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/AnnotateImageRequest.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/AnnotateImageRequest.java @@ -34,6 +34,9 @@ private AnnotateImageRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1273,7 +1276,7 @@ public AnnotateImageRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateImageRequest(input, extensionRegistry); + return new AnnotateImageRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/AnnotateImageResponse.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/AnnotateImageResponse.java index 0ff690ddecc6..4d7b8267c49f 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/AnnotateImageResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/AnnotateImageResponse.java @@ -37,6 +37,9 @@ private AnnotateImageResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3987,7 +3990,7 @@ public AnnotateImageResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateImageResponse(input, extensionRegistry); + return new AnnotateImageResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BatchAnnotateImagesRequest.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BatchAnnotateImagesRequest.java index a3f36986a050..9736a5a8d768 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BatchAnnotateImagesRequest.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BatchAnnotateImagesRequest.java @@ -33,6 +33,9 @@ private BatchAnnotateImagesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public BatchAnnotateImagesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchAnnotateImagesRequest(input, extensionRegistry); + return new BatchAnnotateImagesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BatchAnnotateImagesResponse.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BatchAnnotateImagesResponse.java index 34d317c8e857..dee143ee0a66 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BatchAnnotateImagesResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BatchAnnotateImagesResponse.java @@ -33,6 +33,9 @@ private BatchAnnotateImagesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public BatchAnnotateImagesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchAnnotateImagesResponse(input, extensionRegistry); + return new BatchAnnotateImagesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Block.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Block.java index 0d1f9f374e3f..4cdae61917fd 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Block.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Block.java @@ -35,6 +35,9 @@ private Block( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1813,7 +1816,7 @@ public Block parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Block(input, extensionRegistry); + return new Block(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BoundingPoly.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BoundingPoly.java index f762fd926a0e..05bf38c0adce 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BoundingPoly.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/BoundingPoly.java @@ -33,6 +33,9 @@ private BoundingPoly( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public BoundingPoly parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BoundingPoly(input, extensionRegistry); + return new BoundingPoly(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ColorInfo.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ColorInfo.java index 985c0e034713..087b899872dd 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ColorInfo.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ColorInfo.java @@ -35,6 +35,9 @@ private ColorInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -762,7 +765,7 @@ public ColorInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ColorInfo(input, extensionRegistry); + return new ColorInfo(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHint.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHint.java index 1be308ee32f5..e07d7a843b2e 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHint.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHint.java @@ -34,6 +34,9 @@ private CropHint( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -772,7 +775,7 @@ public CropHint parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CropHint(input, extensionRegistry); + return new CropHint(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHintsAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHintsAnnotation.java index 856f01da2396..ee7aeb9c3863 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHintsAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHintsAnnotation.java @@ -33,6 +33,9 @@ private CropHintsAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public CropHintsAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CropHintsAnnotation(input, extensionRegistry); + return new CropHintsAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHintsParams.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHintsParams.java index 0db9cbdb97c7..aba68df606e8 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHintsParams.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/CropHintsParams.java @@ -33,6 +33,9 @@ private CropHintsParams( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -621,7 +624,7 @@ public CropHintsParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CropHintsParams(input, extensionRegistry); + return new CropHintsParams(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/DominantColorsAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/DominantColorsAnnotation.java index 7a3d79c416c9..767e17b7a1d5 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/DominantColorsAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/DominantColorsAnnotation.java @@ -33,6 +33,9 @@ private DominantColorsAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public DominantColorsAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DominantColorsAnnotation(input, extensionRegistry); + return new DominantColorsAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/EntityAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/EntityAnnotation.java index 150fd5ec803d..176c2e49d1fd 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/EntityAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/EntityAnnotation.java @@ -40,6 +40,9 @@ private EntityAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2342,7 +2345,7 @@ public EntityAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityAnnotation(input, extensionRegistry); + return new EntityAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/FaceAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/FaceAnnotation.java index fa31b4ff8b63..b664523a00a0 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/FaceAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/FaceAnnotation.java @@ -45,6 +45,9 @@ private FaceAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -268,6 +271,9 @@ private Landmark( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1630,7 +1636,7 @@ public Landmark parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Landmark(input, extensionRegistry); + return new Landmark(input, extensionRegistry); } }; @@ -4042,7 +4048,7 @@ public FaceAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceAnnotation(input, extensionRegistry); + return new FaceAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Feature.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Feature.java index fcdb4fa867c2..3d27c91fa74e 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Feature.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Feature.java @@ -38,6 +38,9 @@ private Feature( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1006,7 +1009,7 @@ public Feature parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Feature(input, extensionRegistry); + return new Feature(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Image.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Image.java index 436a27f62aa6..3eb3bbba35cf 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Image.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Image.java @@ -33,6 +33,9 @@ private Image( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -711,7 +714,7 @@ public Image parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Image(input, extensionRegistry); + return new Image(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java index ea6afd6533b3..9f1c08e6f2cc 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java @@ -142,7 +142,7 @@ public static void registerAllExtensions( "eta1/web_detection.proto\032\027google/rpc/sta" + "tus.proto\032\027google/type/color.proto\032\030goog" + "le/type/latlng.proto\"\341\002\n\007Feature\0229\n\004type" + - "\030\001 \001(\0162+.google.cloud.vision.v1p1beta1.F", + "\030\001 \001(\0162+.google.cloud.vision.v1p1beta1.F" + "eature.Type\022\023\n\013max_results\030\002 \001(\005\022\r\n\005mode" + "l\030\003 \001(\t\"\366\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022" + "\n\016FACE_DETECTION\020\001\022\026\n\022LANDMARK_DETECTION" + @@ -152,7 +152,7 @@ public static void registerAllExtensions( "\024\n\020IMAGE_PROPERTIES\020\007\022\016\n\nCROP_HINTS\020\t\022\021\n" + "\rWEB_DETECTION\020\n\"7\n\013ImageSource\022\025\n\rgcs_i" + "mage_uri\030\001 \001(\t\022\021\n\timage_uri\030\002 \001(\t\"T\n\005Ima" + - "ge\022\017\n\007content\030\001 \001(\014\022:\n\006source\030\002 \001(\0132*.go", + "ge\022\017\n\007content\030\001 \001(\014\022:\n\006source\030\002 \001(\0132*.go" + "ogle.cloud.vision.v1p1beta1.ImageSource\"" + "\233\016\n\016FaceAnnotation\022B\n\rbounding_poly\030\001 \001(" + "\0132+.google.cloud.vision.v1p1beta1.Boundi" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "1p1beta1.FaceAnnotation.Landmark\022\022\n\nroll" + "_angle\030\004 \001(\002\022\021\n\tpan_angle\030\005 \001(\002\022\022\n\ntilt_" + "angle\030\006 \001(\002\022\034\n\024detection_confidence\030\007 \001(" + - "\002\022\036\n\026landmarking_confidence\030\010 \001(\002\022A\n\016joy", + "\002\022\036\n\026landmarking_confidence\030\010 \001(\002\022A\n\016joy" + "_likelihood\030\t \001(\0162).google.cloud.vision." + "v1p1beta1.Likelihood\022D\n\021sorrow_likelihoo" + "d\030\n \001(\0162).google.cloud.vision.v1p1beta1." + @@ -172,7 +172,7 @@ public static void registerAllExtensions( "oud.vision.v1p1beta1.Likelihood\022K\n\030under" + "_exposed_likelihood\030\r \001(\0162).google.cloud" + ".vision.v1p1beta1.Likelihood\022E\n\022blurred_" + - "likelihood\030\016 \001(\0162).google.cloud.vision.v", + "likelihood\030\016 \001(\0162).google.cloud.vision.v" + "1p1beta1.Likelihood\022F\n\023headwear_likeliho" + "od\030\017 \001(\0162).google.cloud.vision.v1p1beta1" + ".Likelihood\032\307\007\n\010Landmark\022I\n\004type\030\003 \001(\0162;" + @@ -182,7 +182,7 @@ public static void registerAllExtensions( "\006\n\004Type\022\024\n\020UNKNOWN_LANDMARK\020\000\022\014\n\010LEFT_EY" + "E\020\001\022\r\n\tRIGHT_EYE\020\002\022\030\n\024LEFT_OF_LEFT_EYEBR" + "OW\020\003\022\031\n\025RIGHT_OF_LEFT_EYEBROW\020\004\022\031\n\025LEFT_" + - "OF_RIGHT_EYEBROW\020\005\022\032\n\026RIGHT_OF_RIGHT_EYE", + "OF_RIGHT_EYEBROW\020\005\022\032\n\026RIGHT_OF_RIGHT_EYE" + "BROW\020\006\022\031\n\025MIDPOINT_BETWEEN_EYES\020\007\022\014\n\010NOS" + "E_TIP\020\010\022\r\n\tUPPER_LIP\020\t\022\r\n\tLOWER_LIP\020\n\022\016\n" + "\nMOUTH_LEFT\020\013\022\017\n\013MOUTH_RIGHT\020\014\022\020\n\014MOUTH_" + @@ -192,7 +192,7 @@ public static void registerAllExtensions( "HT_CORNER\020\022\022\034\n\030LEFT_EYE_BOTTOM_BOUNDARY\020" + "\023\022\030\n\024LEFT_EYE_LEFT_CORNER\020\024\022\032\n\026RIGHT_EYE" + "_TOP_BOUNDARY\020\025\022\032\n\026RIGHT_EYE_RIGHT_CORNE" + - "R\020\026\022\035\n\031RIGHT_EYE_BOTTOM_BOUNDARY\020\027\022\031\n\025RI", + "R\020\026\022\035\n\031RIGHT_EYE_BOTTOM_BOUNDARY\020\027\022\031\n\025RI" + "GHT_EYE_LEFT_CORNER\020\030\022\037\n\033LEFT_EYEBROW_UP" + "PER_MIDPOINT\020\031\022 \n\034RIGHT_EYEBROW_UPPER_MI" + "DPOINT\020\032\022\024\n\020LEFT_EAR_TRAGION\020\033\022\025\n\021RIGHT_" + @@ -202,7 +202,7 @@ public static void registerAllExtensions( "\n\021CHIN_RIGHT_GONION\020\"\"4\n\014LocationInfo\022$\n" + "\007lat_lng\030\001 \001(\0132\023.google.type.LatLng\"=\n\010P" + "roperty\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\022\024\n\014" + - "uint64_value\030\003 \001(\004\"\274\002\n\020EntityAnnotation\022", + "uint64_value\030\003 \001(\004\"\274\002\n\020EntityAnnotation\022" + "\013\n\003mid\030\001 \001(\t\022\016\n\006locale\030\002 \001(\t\022\023\n\013descript" + "ion\030\003 \001(\t\022\r\n\005score\030\004 \001(\002\022\022\n\nconfidence\030\005" + " \001(\002\022\022\n\ntopicality\030\006 \001(\002\022B\n\rbounding_pol" + @@ -212,7 +212,7 @@ public static void registerAllExtensions( "properties\030\t \003(\0132\'.google.cloud.vision.v" + "1p1beta1.Property\"\274\002\n\024SafeSearchAnnotati" + "on\0228\n\005adult\030\001 \001(\0162).google.cloud.vision." + - "v1p1beta1.Likelihood\0228\n\005spoof\030\002 \001(\0162).go", + "v1p1beta1.Likelihood\0228\n\005spoof\030\002 \001(\0162).go" + "ogle.cloud.vision.v1p1beta1.Likelihood\022:" + "\n\007medical\030\003 \001(\0162).google.cloud.vision.v1" + "p1beta1.Likelihood\022;\n\010violence\030\004 \001(\0162).g" + @@ -222,7 +222,7 @@ public static void registerAllExtensions( "at_lng\030\001 \001(\0132\023.google.type.LatLng\022(\n\013max" + "_lat_lng\030\002 \001(\0132\023.google.type.LatLng\"U\n\tC" + "olorInfo\022!\n\005color\030\001 \001(\0132\022.google.type.Co" + - "lor\022\r\n\005score\030\002 \001(\002\022\026\n\016pixel_fraction\030\003 \001", + "lor\022\r\n\005score\030\002 \001(\002\022\026\n\016pixel_fraction\030\003 \001" + "(\002\"T\n\030DominantColorsAnnotation\0228\n\006colors" + "\030\001 \003(\0132(.google.cloud.vision.v1p1beta1.C" + "olorInfo\"c\n\017ImageProperties\022P\n\017dominant_" + @@ -232,7 +232,7 @@ public static void registerAllExtensions( "vision.v1p1beta1.BoundingPoly\022\022\n\nconfide" + "nce\030\002 \001(\002\022\033\n\023importance_fraction\030\003 \001(\002\"R" + "\n\023CropHintsAnnotation\022;\n\ncrop_hints\030\001 \003(" + - "\0132\'.google.cloud.vision.v1p1beta1.CropHi", + "\0132\'.google.cloud.vision.v1p1beta1.CropHi" + "nt\"(\n\017CropHintsParams\022\025\n\raspect_ratios\030\001" + " \003(\002\"1\n\022WebDetectionParams\022\033\n\023include_ge" + "o_results\030\002 \001(\010\"\205\002\n\014ImageContext\022A\n\rlat_" + @@ -242,7 +242,7 @@ public static void registerAllExtensions( "cloud.vision.v1p1beta1.CropHintsParams\022O" + "\n\024web_detection_params\030\006 \001(\01321.google.cl" + "oud.vision.v1p1beta1.WebDetectionParams\"" + - "\311\001\n\024AnnotateImageRequest\0223\n\005image\030\001 \001(\0132", + "\311\001\n\024AnnotateImageRequest\0223\n\005image\030\001 \001(\0132" + "$.google.cloud.vision.v1p1beta1.Image\0228\n" + "\010features\030\002 \003(\0132&.google.cloud.vision.v1" + "p1beta1.Feature\022B\n\rimage_context\030\003 \001(\0132+" + @@ -252,7 +252,7 @@ public static void registerAllExtensions( "p1beta1.FaceAnnotation\022M\n\024landmark_annot" + "ations\030\002 \003(\0132/.google.cloud.vision.v1p1b" + "eta1.EntityAnnotation\022I\n\020logo_annotation" + - "s\030\003 \003(\0132/.google.cloud.vision.v1p1beta1.", + "s\030\003 \003(\0132/.google.cloud.vision.v1p1beta1." + "EntityAnnotation\022J\n\021label_annotations\030\004 " + "\003(\0132/.google.cloud.vision.v1p1beta1.Enti" + "tyAnnotation\022I\n\020text_annotations\030\005 \003(\0132/" + @@ -262,7 +262,7 @@ public static void registerAllExtensions( "tion\022S\n\026safe_search_annotation\030\006 \001(\01323.g" + "oogle.cloud.vision.v1p1beta1.SafeSearchA" + "nnotation\022S\n\033image_properties_annotation" + - "\030\010 \001(\0132..google.cloud.vision.v1p1beta1.I", + "\030\010 \001(\0132..google.cloud.vision.v1p1beta1.I" + "mageProperties\022Q\n\025crop_hints_annotation\030" + "\013 \001(\01322.google.cloud.vision.v1p1beta1.Cr" + "opHintsAnnotation\022B\n\rweb_detection\030\r \001(\013" + @@ -272,7 +272,7 @@ public static void registerAllExtensions( "ts\030\001 \003(\01323.google.cloud.vision.v1p1beta1" + ".AnnotateImageRequest\"f\n\033BatchAnnotateIm" + "agesResponse\022G\n\tresponses\030\001 \003(\01324.google" + - ".cloud.vision.v1p1beta1.AnnotateImageRes", + ".cloud.vision.v1p1beta1.AnnotateImageRes" + "ponse*e\n\nLikelihood\022\013\n\007UNKNOWN\020\000\022\021\n\rVERY" + "_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022" + "\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\0052\306\001\n\016ImageAn" + @@ -282,7 +282,7 @@ public static void registerAllExtensions( "a1.BatchAnnotateImagesResponse\"%\202\323\344\223\002\037\"\032" + "/v1p1beta1/images:annotate:\001*B\202\001\n!com.go" + "ogle.cloud.vision.v1p1beta1B\023ImageAnnota" + - "torProtoP\001ZCgoogle.golang.org/genproto/g", + "torProtoP\001ZCgoogle.golang.org/genproto/g" + "oogleapis/cloud/vision/v1p1beta1;vision\370" + "\001\001b\006proto3" }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageContext.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageContext.java index 745e1226ac94..e14182a756c4 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageContext.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageContext.java @@ -33,6 +33,9 @@ private ImageContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1378,7 +1381,7 @@ public ImageContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageContext(input, extensionRegistry); + return new ImageContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageProperties.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageProperties.java index abd06142bded..c689e3b892e4 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageProperties.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageProperties.java @@ -32,6 +32,9 @@ private ImageProperties( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public ImageProperties parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageProperties(input, extensionRegistry); + return new ImageProperties(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageSource.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageSource.java index c91902fc73b1..6a75da18750b 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageSource.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageSource.java @@ -34,6 +34,9 @@ private ImageSource( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -781,7 +784,7 @@ public ImageSource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageSource(input, extensionRegistry); + return new ImageSource(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/LatLongRect.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/LatLongRect.java index d79b964609cc..e7abac82316d 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/LatLongRect.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/LatLongRect.java @@ -32,6 +32,9 @@ private LatLongRect( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -831,7 +834,7 @@ public LatLongRect parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LatLongRect(input, extensionRegistry); + return new LatLongRect(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/LocationInfo.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/LocationInfo.java index 87b39e5a1d75..cbcb8f097263 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/LocationInfo.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/LocationInfo.java @@ -32,6 +32,9 @@ private LocationInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public LocationInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LocationInfo(input, extensionRegistry); + return new LocationInfo(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Page.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Page.java index 4585b644e514..1b526e89c178 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Page.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Page.java @@ -36,6 +36,9 @@ private Page( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1267,7 +1270,7 @@ public Page parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Page(input, extensionRegistry); + return new Page(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Paragraph.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Paragraph.java index b06bbbfa9e8c..7bc9be6e4742 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Paragraph.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Paragraph.java @@ -34,6 +34,9 @@ private Paragraph( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1516,7 +1519,7 @@ public Paragraph parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Paragraph(input, extensionRegistry); + return new Paragraph(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Position.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Position.java index c8d9a1ceae60..84aa8007a64f 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Position.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Position.java @@ -37,6 +37,9 @@ private Position( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -608,7 +611,7 @@ public Position parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Position(input, extensionRegistry); + return new Position(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Property.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Property.java index 82633a2c9afd..aee9ed0ec5c4 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Property.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Property.java @@ -35,6 +35,9 @@ private Property( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -758,7 +761,7 @@ public Property parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Property(input, extensionRegistry); + return new Property(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/SafeSearchAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/SafeSearchAnnotation.java index 21281f1e22d4..1735d7d8b2ad 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/SafeSearchAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/SafeSearchAnnotation.java @@ -39,6 +39,9 @@ private SafeSearchAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -981,7 +984,7 @@ public SafeSearchAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SafeSearchAnnotation(input, extensionRegistry); + return new SafeSearchAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Symbol.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Symbol.java index 3ae3965b90d8..e47d954af673 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Symbol.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Symbol.java @@ -34,6 +34,9 @@ private Symbol( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1231,7 +1234,7 @@ public Symbol parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Symbol(input, extensionRegistry); + return new Symbol(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotation.java index 4f4609a948f1..721f6049417e 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotation.java @@ -41,6 +41,9 @@ private TextAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -167,6 +170,9 @@ private DetectedLanguage( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -752,7 +758,7 @@ public DetectedLanguage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedLanguage(input, extensionRegistry); + return new DetectedLanguage(input, extensionRegistry); } }; @@ -832,6 +838,9 @@ private DetectedBreak( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1545,7 +1554,7 @@ public DetectedBreak parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedBreak(input, extensionRegistry); + return new DetectedBreak(input, extensionRegistry); } }; @@ -1667,6 +1676,9 @@ private TextProperty( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2676,7 +2688,7 @@ public TextProperty parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TextProperty(input, extensionRegistry); + return new TextProperty(input, extensionRegistry); } }; @@ -3576,7 +3588,7 @@ public TextAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TextAnnotation(input, extensionRegistry); + return new TextAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotationProto.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotationProto.java index 1d13c1eaaea4..9c36d352429c 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotationProto.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotationProto.java @@ -77,7 +77,7 @@ public static void registerAllExtensions( "\002 \001(\t\032=\n\020DetectedLanguage\022\025\n\rlanguage_co" + "de\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\032\334\001\n\rDetecte" + "dBreak\022S\n\004type\030\001 \001(\0162E.google.cloud.visi" + - "on.v1p1beta1.TextAnnotation.DetectedBrea", + "on.v1p1beta1.TextAnnotation.DetectedBrea" + "k.BreakType\022\021\n\tis_prefix\030\002 \001(\010\"c\n\tBreakT" + "ype\022\013\n\007UNKNOWN\020\000\022\t\n\005SPACE\020\001\022\016\n\nSURE_SPAC" + "E\020\002\022\022\n\016EOL_SURE_SPACE\020\003\022\n\n\006HYPHEN\020\004\022\016\n\nL" + @@ -87,7 +87,7 @@ public static void registerAllExtensions( "\022S\n\016detected_break\030\002 \001(\0132;.google.cloud." + "vision.v1p1beta1.TextAnnotation.Detected" + "Break\"\275\001\n\004Page\022L\n\010property\030\001 \001(\0132:.googl" + - "e.cloud.vision.v1p1beta1.TextAnnotation.", + "e.cloud.vision.v1p1beta1.TextAnnotation." + "TextProperty\022\r\n\005width\030\002 \001(\005\022\016\n\006height\030\003 " + "\001(\005\0224\n\006blocks\030\004 \003(\0132$.google.cloud.visio" + "n.v1p1beta1.Block\022\022\n\nconfidence\030\005 \001(\002\"\202\003" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( "ud.vision.v1p1beta1.BoundingPoly\022<\n\npara" + "graphs\030\003 \003(\0132(.google.cloud.vision.v1p1b" + "eta1.Paragraph\022B\n\nblock_type\030\004 \001(\0162..goo" + - "gle.cloud.vision.v1p1beta1.Block.BlockTy", + "gle.cloud.vision.v1p1beta1.Block.BlockTy" + "pe\022\022\n\nconfidence\030\005 \001(\002\"R\n\tBlockType\022\013\n\007U" + "NKNOWN\020\000\022\010\n\004TEXT\020\001\022\t\n\005TABLE\020\002\022\013\n\007PICTURE" + "\020\003\022\t\n\005RULER\020\004\022\013\n\007BARCODE\020\005\"\344\001\n\tParagraph" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "on.v1p1beta1.BoundingPoly\0222\n\005words\030\003 \003(\013" + "2#.google.cloud.vision.v1p1beta1.Word\022\022\n" + "\nconfidence\030\004 \001(\002\"\343\001\n\004Word\022L\n\010property\030\001" + - " \001(\0132:.google.cloud.vision.v1p1beta1.Tex", + " \001(\0132:.google.cloud.vision.v1p1beta1.Tex" + "tAnnotation.TextProperty\022A\n\014bounding_box" + "\030\002 \001(\0132+.google.cloud.vision.v1p1beta1.B" + "oundingPoly\0226\n\007symbols\030\003 \003(\0132%.google.cl" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "ion.TextProperty\022A\n\014bounding_box\030\002 \001(\0132+" + ".google.cloud.vision.v1p1beta1.BoundingP" + "oly\022\014\n\004text\030\003 \001(\t\022\022\n\nconfidence\030\004 \001(\002B\202\001" + - "\n!com.google.cloud.vision.v1p1beta1B\023Tex", + "\n!com.google.cloud.vision.v1p1beta1B\023Tex" + "tAnnotationProtoP\001ZCgoogle.golang.org/ge" + "nproto/googleapis/cloud/vision/v1p1beta1" + ";vision\370\001\001b\006proto3" diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Vertex.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Vertex.java index 167d6f7d7bb6..33e02cac346f 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Vertex.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Vertex.java @@ -35,6 +35,9 @@ private Vertex( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -523,7 +526,7 @@ public Vertex parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Vertex(input, extensionRegistry); + return new Vertex(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetection.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetection.java index 55ccd018ede1..6b77a12c5152 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetection.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetection.java @@ -38,6 +38,9 @@ private WebDetection( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -234,6 +237,9 @@ private WebEntity( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -963,7 +969,7 @@ public WebEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebEntity(input, extensionRegistry); + return new WebEntity(input, extensionRegistry); } }; @@ -1044,6 +1050,9 @@ private WebImage( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1615,7 +1624,7 @@ public WebImage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebImage(input, extensionRegistry); + return new WebImage(input, extensionRegistry); } }; @@ -1825,6 +1834,9 @@ private WebPage( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3515,7 +3527,7 @@ public WebPage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebPage(input, extensionRegistry); + return new WebPage(input, extensionRegistry); } }; @@ -3609,6 +3621,9 @@ private WebLabel( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4272,7 +4287,7 @@ public WebLabel parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebLabel(input, extensionRegistry); + return new WebLabel(input, extensionRegistry); } }; @@ -7193,7 +7208,7 @@ public WebDetection parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebDetection(input, extensionRegistry); + return new WebDetection(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionParams.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionParams.java index 47e025db8a3f..7aed308e2fb5 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionParams.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionParams.java @@ -33,6 +33,9 @@ private WebDetectionParams( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -448,7 +451,7 @@ public WebDetectionParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebDetectionParams(input, extensionRegistry); + return new WebDetectionParams(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionProto.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionProto.java index b2c743a32b40..d9c671c9192d 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionProto.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionProto.java @@ -57,7 +57,7 @@ public static void registerAllExtensions( "oogle.cloud.vision.v1p1beta1.WebDetectio" + "n.WebImage\022U\n\027partial_matching_images\030\003 " + "\003(\01324.google.cloud.vision.v1p1beta1.WebD" + - "etection.WebImage\022W\n\032pages_with_matching", + "etection.WebImage\022W\n\032pages_with_matching" + "_images\030\004 \003(\01323.google.cloud.vision.v1p1" + "beta1.WebDetection.WebPage\022U\n\027visually_s" + "imilar_images\030\006 \003(\01324.google.cloud.visio" + @@ -67,7 +67,7 @@ public static void registerAllExtensions( "bEntity\022\021\n\tentity_id\030\001 \001(\t\022\r\n\005score\030\002 \001(" + "\002\022\023\n\013description\030\003 \001(\t\032&\n\010WebImage\022\013\n\003ur" + "l\030\001 \001(\t\022\r\n\005score\030\002 \001(\002\032\344\001\n\007WebPage\022\013\n\003ur" + - "l\030\001 \001(\t\022\r\n\005score\030\002 \001(\002\022\022\n\npage_title\030\003 \001", + "l\030\001 \001(\t\022\r\n\005score\030\002 \001(\002\022\022\n\npage_title\030\003 \001" + "(\t\022R\n\024full_matching_images\030\004 \003(\01324.googl" + "e.cloud.vision.v1p1beta1.WebDetection.We" + "bImage\022U\n\027partial_matching_images\030\005 \003(\0132" + diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Word.java b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Word.java index f78287bb1dab..fae581822c87 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Word.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Word.java @@ -34,6 +34,9 @@ private Word( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1539,7 +1542,7 @@ public Word parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Word(input, extensionRegistry); + return new Word(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateFileResponse.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateFileResponse.java index 196a7e03215a..4acc6126d5c6 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateFileResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateFileResponse.java @@ -34,6 +34,9 @@ private AnnotateFileResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1044,7 +1047,7 @@ public AnnotateFileResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateFileResponse(input, extensionRegistry); + return new AnnotateFileResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateImageRequest.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateImageRequest.java index a5dda029e9dc..37396fb5e407 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateImageRequest.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateImageRequest.java @@ -34,6 +34,9 @@ private AnnotateImageRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1273,7 +1276,7 @@ public AnnotateImageRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateImageRequest(input, extensionRegistry); + return new AnnotateImageRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateImageResponse.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateImageResponse.java index 87cf739c2e99..b7c7a630562d 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateImageResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AnnotateImageResponse.java @@ -37,6 +37,9 @@ private AnnotateImageResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4228,7 +4231,7 @@ public AnnotateImageResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateImageResponse(input, extensionRegistry); + return new AnnotateImageResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncAnnotateFileRequest.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncAnnotateFileRequest.java index c014b45d62e2..e143ad6a7dcf 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncAnnotateFileRequest.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncAnnotateFileRequest.java @@ -33,6 +33,9 @@ private AsyncAnnotateFileRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1500,7 +1503,7 @@ public AsyncAnnotateFileRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncAnnotateFileRequest(input, extensionRegistry); + return new AsyncAnnotateFileRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncAnnotateFileResponse.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncAnnotateFileResponse.java index 140dcc81301f..6e8fd2e15dcb 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncAnnotateFileResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncAnnotateFileResponse.java @@ -32,6 +32,9 @@ private AsyncAnnotateFileResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public AsyncAnnotateFileResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncAnnotateFileResponse(input, extensionRegistry); + return new AsyncAnnotateFileResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncBatchAnnotateFilesRequest.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncBatchAnnotateFilesRequest.java index 21cb8238a079..41e208bc0ffc 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncBatchAnnotateFilesRequest.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncBatchAnnotateFilesRequest.java @@ -34,6 +34,9 @@ private AsyncBatchAnnotateFilesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -812,7 +815,7 @@ public AsyncBatchAnnotateFilesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncBatchAnnotateFilesRequest(input, extensionRegistry); + return new AsyncBatchAnnotateFilesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncBatchAnnotateFilesResponse.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncBatchAnnotateFilesResponse.java index 4f2463056b02..2a77b49e3d01 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncBatchAnnotateFilesResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/AsyncBatchAnnotateFilesResponse.java @@ -33,6 +33,9 @@ private AsyncBatchAnnotateFilesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -833,7 +836,7 @@ public AsyncBatchAnnotateFilesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncBatchAnnotateFilesResponse(input, extensionRegistry); + return new AsyncBatchAnnotateFilesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BatchAnnotateImagesRequest.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BatchAnnotateImagesRequest.java index 74fe9a0df824..ee2871370ce1 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BatchAnnotateImagesRequest.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BatchAnnotateImagesRequest.java @@ -33,6 +33,9 @@ private BatchAnnotateImagesRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public BatchAnnotateImagesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchAnnotateImagesRequest(input, extensionRegistry); + return new BatchAnnotateImagesRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BatchAnnotateImagesResponse.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BatchAnnotateImagesResponse.java index 045ad94b135a..e59f1717a09f 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BatchAnnotateImagesResponse.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BatchAnnotateImagesResponse.java @@ -33,6 +33,9 @@ private BatchAnnotateImagesResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public BatchAnnotateImagesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchAnnotateImagesResponse(input, extensionRegistry); + return new BatchAnnotateImagesResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Block.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Block.java index bdb6410e43bf..48023de9611f 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Block.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Block.java @@ -35,6 +35,9 @@ private Block( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1813,7 +1816,7 @@ public Block parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Block(input, extensionRegistry); + return new Block(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BoundingPoly.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BoundingPoly.java index 8b4e632d7c1f..5a4fec6e2412 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BoundingPoly.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/BoundingPoly.java @@ -34,6 +34,9 @@ private BoundingPoly( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1245,7 +1248,7 @@ public BoundingPoly parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BoundingPoly(input, extensionRegistry); + return new BoundingPoly(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ColorInfo.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ColorInfo.java index db54d7eb7b55..a81772911593 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ColorInfo.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ColorInfo.java @@ -35,6 +35,9 @@ private ColorInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -762,7 +765,7 @@ public ColorInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ColorInfo(input, extensionRegistry); + return new ColorInfo(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHint.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHint.java index 8f8f00eeecdd..142393409bd0 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHint.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHint.java @@ -34,6 +34,9 @@ private CropHint( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -772,7 +775,7 @@ public CropHint parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CropHint(input, extensionRegistry); + return new CropHint(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHintsAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHintsAnnotation.java index 23344c9a1d89..5891c763dd70 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHintsAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHintsAnnotation.java @@ -33,6 +33,9 @@ private CropHintsAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public CropHintsAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CropHintsAnnotation(input, extensionRegistry); + return new CropHintsAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHintsParams.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHintsParams.java index 15c96c5c3835..0f5f11d197b0 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHintsParams.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/CropHintsParams.java @@ -33,6 +33,9 @@ private CropHintsParams( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -621,7 +624,7 @@ public CropHintsParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CropHintsParams(input, extensionRegistry); + return new CropHintsParams(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/DominantColorsAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/DominantColorsAnnotation.java index 359402bc7e3a..f9d7c1ed88f9 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/DominantColorsAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/DominantColorsAnnotation.java @@ -33,6 +33,9 @@ private DominantColorsAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public DominantColorsAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DominantColorsAnnotation(input, extensionRegistry); + return new DominantColorsAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/EntityAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/EntityAnnotation.java index 2cb194f35038..c7434c35f7af 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/EntityAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/EntityAnnotation.java @@ -40,6 +40,9 @@ private EntityAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2353,7 +2356,7 @@ public EntityAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityAnnotation(input, extensionRegistry); + return new EntityAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/FaceAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/FaceAnnotation.java index e749c001ff22..3fcdc7102fbb 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/FaceAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/FaceAnnotation.java @@ -45,6 +45,9 @@ private FaceAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -268,6 +271,9 @@ private Landmark( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1630,7 +1636,7 @@ public Landmark parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Landmark(input, extensionRegistry); + return new Landmark(input, extensionRegistry); } }; @@ -4042,7 +4048,7 @@ public FaceAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceAnnotation(input, extensionRegistry); + return new FaceAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Feature.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Feature.java index 279934713476..287b28aa4343 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Feature.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Feature.java @@ -37,6 +37,9 @@ private Feature( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1016,7 +1019,7 @@ public Feature parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Feature(input, extensionRegistry); + return new Feature(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GcsDestination.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GcsDestination.java index bfac61efffce..724f6a8b5e28 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GcsDestination.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GcsDestination.java @@ -33,6 +33,9 @@ private GcsDestination( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -605,7 +608,7 @@ public GcsDestination parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); + return new GcsDestination(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GcsSource.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GcsSource.java index 460dbb9622f8..59caf2e98622 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GcsSource.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GcsSource.java @@ -33,6 +33,9 @@ private GcsSource( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -535,7 +538,7 @@ public GcsSource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsSource(input, extensionRegistry); + return new GcsSource(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GeometryProto.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GeometryProto.java index ad42c4af3a2e..ab205d764955 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GeometryProto.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GeometryProto.java @@ -52,7 +52,7 @@ public static void registerAllExtensions( "vertices\030\002 \003(\0132/.google.cloud.vision.v1p" + "2beta1.NormalizedVertex\"+\n\010Position\022\t\n\001x" + "\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002B|\n!com.goog" + - "le.cloud.vision.v1p2beta1B\rGeometryProto", + "le.cloud.vision.v1p2beta1B\rGeometryProto" + "P\001ZCgoogle.golang.org/genproto/googleapi" + "s/cloud/vision/v1p2beta1;vision\370\001\001b\006prot" + "o3" diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Image.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Image.java index 540f5194405e..d283ae93d35f 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Image.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Image.java @@ -33,6 +33,9 @@ private Image( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -711,7 +714,7 @@ public Image parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Image(input, extensionRegistry); + return new Image(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotationContext.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotationContext.java index c946f25c34fd..15a5a2a33a83 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotationContext.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotationContext.java @@ -35,6 +35,9 @@ private ImageAnnotationContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -608,7 +611,7 @@ public ImageAnnotationContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageAnnotationContext(input, extensionRegistry); + return new ImageAnnotationContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java index 1fcaa69fc00c..ffd6355588f9 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java @@ -197,7 +197,7 @@ public static void registerAllExtensions( "eta1/web_detection.proto\032#google/longrun" + "ning/operations.proto\032\037google/protobuf/t" + "imestamp.proto\032\027google/rpc/status.proto\032" + - "\027google/type/color.proto\032\030google/type/la", + "\027google/type/color.proto\032\030google/type/la" + "tlng.proto\"\341\002\n\007Feature\0229\n\004type\030\001 \001(\0162+.g" + "oogle.cloud.vision.v1p2beta1.Feature.Typ" + "e\022\023\n\013max_results\030\002 \001(\005\022\r\n\005model\030\003 \001(\t\"\366\001" + @@ -207,7 +207,7 @@ public static void registerAllExtensions( "T_DETECTION\020\005\022\033\n\027DOCUMENT_TEXT_DETECTION" + "\020\013\022\031\n\025SAFE_SEARCH_DETECTION\020\006\022\024\n\020IMAGE_P" + "ROPERTIES\020\007\022\016\n\nCROP_HINTS\020\t\022\021\n\rWEB_DETEC" + - "TION\020\n\"7\n\013ImageSource\022\025\n\rgcs_image_uri\030\001", + "TION\020\n\"7\n\013ImageSource\022\025\n\rgcs_image_uri\030\001" + " \001(\t\022\021\n\timage_uri\030\002 \001(\t\"T\n\005Image\022\017\n\007cont" + "ent\030\001 \001(\014\022:\n\006source\030\002 \001(\0132*.google.cloud" + ".vision.v1p2beta1.ImageSource\"\233\016\n\016FaceAn" + @@ -217,7 +217,7 @@ public static void registerAllExtensions( "sion.v1p2beta1.BoundingPoly\022I\n\tlandmarks" + "\030\003 \003(\01326.google.cloud.vision.v1p2beta1.F" + "aceAnnotation.Landmark\022\022\n\nroll_angle\030\004 \001" + - "(\002\022\021\n\tpan_angle\030\005 \001(\002\022\022\n\ntilt_angle\030\006 \001(", + "(\002\022\021\n\tpan_angle\030\005 \001(\002\022\022\n\ntilt_angle\030\006 \001(" + "\002\022\034\n\024detection_confidence\030\007 \001(\002\022\036\n\026landm" + "arking_confidence\030\010 \001(\002\022A\n\016joy_likelihoo" + "d\030\t \001(\0162).google.cloud.vision.v1p2beta1." + @@ -227,7 +227,7 @@ public static void registerAllExtensions( "d.vision.v1p2beta1.Likelihood\022F\n\023surpris" + "e_likelihood\030\014 \001(\0162).google.cloud.vision" + ".v1p2beta1.Likelihood\022K\n\030under_exposed_l" + - "ikelihood\030\r \001(\0162).google.cloud.vision.v1", + "ikelihood\030\r \001(\0162).google.cloud.vision.v1" + "p2beta1.Likelihood\022E\n\022blurred_likelihood" + "\030\016 \001(\0162).google.cloud.vision.v1p2beta1.L" + "ikelihood\022F\n\023headwear_likelihood\030\017 \001(\0162)" + @@ -237,7 +237,7 @@ public static void registerAllExtensions( "mark.Type\0229\n\010position\030\004 \001(\0132\'.google.clo" + "ud.vision.v1p2beta1.Position\"\264\006\n\004Type\022\024\n" + "\020UNKNOWN_LANDMARK\020\000\022\014\n\010LEFT_EYE\020\001\022\r\n\tRIG" + - "HT_EYE\020\002\022\030\n\024LEFT_OF_LEFT_EYEBROW\020\003\022\031\n\025RI", + "HT_EYE\020\002\022\030\n\024LEFT_OF_LEFT_EYEBROW\020\003\022\031\n\025RI" + "GHT_OF_LEFT_EYEBROW\020\004\022\031\n\025LEFT_OF_RIGHT_E" + "YEBROW\020\005\022\032\n\026RIGHT_OF_RIGHT_EYEBROW\020\006\022\031\n\025" + "MIDPOINT_BETWEEN_EYES\020\007\022\014\n\010NOSE_TIP\020\010\022\r\n" + @@ -247,7 +247,7 @@ public static void registerAllExtensions( "T\020\017\022\026\n\022NOSE_BOTTOM_CENTER\020\020\022\031\n\025LEFT_EYE_" + "TOP_BOUNDARY\020\021\022\031\n\025LEFT_EYE_RIGHT_CORNER\020" + "\022\022\034\n\030LEFT_EYE_BOTTOM_BOUNDARY\020\023\022\030\n\024LEFT_" + - "EYE_LEFT_CORNER\020\024\022\032\n\026RIGHT_EYE_TOP_BOUND", + "EYE_LEFT_CORNER\020\024\022\032\n\026RIGHT_EYE_TOP_BOUND" + "ARY\020\025\022\032\n\026RIGHT_EYE_RIGHT_CORNER\020\026\022\035\n\031RIG" + "HT_EYE_BOTTOM_BOUNDARY\020\027\022\031\n\025RIGHT_EYE_LE" + "FT_CORNER\020\030\022\037\n\033LEFT_EYEBROW_UPPER_MIDPOI" + @@ -257,7 +257,7 @@ public static void registerAllExtensions( "IL\020\036\022\025\n\021FOREHEAD_GLABELLA\020\037\022\021\n\rCHIN_GNAT" + "HION\020 \022\024\n\020CHIN_LEFT_GONION\020!\022\025\n\021CHIN_RIG" + "HT_GONION\020\"\"4\n\014LocationInfo\022$\n\007lat_lng\030\001" + - " \001(\0132\023.google.type.LatLng\"=\n\010Property\022\014\n", + " \001(\0132\023.google.type.LatLng\"=\n\010Property\022\014\n" + "\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\022\024\n\014uint64_val" + "ue\030\003 \001(\004\"\274\002\n\020EntityAnnotation\022\013\n\003mid\030\001 \001" + "(\t\022\016\n\006locale\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022" + @@ -267,7 +267,7 @@ public static void registerAllExtensions( "ly\022>\n\tlocations\030\010 \003(\0132+.google.cloud.vis" + "ion.v1p2beta1.LocationInfo\022;\n\nproperties" + "\030\t \003(\0132\'.google.cloud.vision.v1p2beta1.P" + - "roperty\"\274\002\n\024SafeSearchAnnotation\0228\n\005adul", + "roperty\"\274\002\n\024SafeSearchAnnotation\0228\n\005adul" + "t\030\001 \001(\0162).google.cloud.vision.v1p2beta1." + "Likelihood\0228\n\005spoof\030\002 \001(\0162).google.cloud" + ".vision.v1p2beta1.Likelihood\022:\n\007medical\030" + @@ -277,7 +277,7 @@ public static void registerAllExtensions( "\001(\0162).google.cloud.vision.v1p2beta1.Like" + "lihood\"a\n\013LatLongRect\022(\n\013min_lat_lng\030\001 \001" + "(\0132\023.google.type.LatLng\022(\n\013max_lat_lng\030\002" + - " \001(\0132\023.google.type.LatLng\"U\n\tColorInfo\022!", + " \001(\0132\023.google.type.LatLng\"U\n\tColorInfo\022!" + "\n\005color\030\001 \001(\0132\022.google.type.Color\022\r\n\005sco" + "re\030\002 \001(\002\022\026\n\016pixel_fraction\030\003 \001(\002\"T\n\030Domi" + "nantColorsAnnotation\0228\n\006colors\030\001 \003(\0132(.g" + @@ -287,7 +287,7 @@ public static void registerAllExtensions( "antColorsAnnotation\"\177\n\010CropHint\022B\n\rbound" + "ing_poly\030\001 \001(\0132+.google.cloud.vision.v1p" + "2beta1.BoundingPoly\022\022\n\nconfidence\030\002 \001(\002\022" + - "\033\n\023importance_fraction\030\003 \001(\002\"R\n\023CropHint", + "\033\n\023importance_fraction\030\003 \001(\002\"R\n\023CropHint" + "sAnnotation\022;\n\ncrop_hints\030\001 \003(\0132\'.google" + ".cloud.vision.v1p2beta1.CropHint\"(\n\017Crop" + "HintsParams\022\025\n\raspect_ratios\030\001 \003(\002\"1\n\022We" + @@ -297,7 +297,7 @@ public static void registerAllExtensions( "tLongRect\022\026\n\016language_hints\030\002 \003(\t\022I\n\021cro" + "p_hints_params\030\004 \001(\0132..google.cloud.visi" + "on.v1p2beta1.CropHintsParams\022O\n\024web_dete" + - "ction_params\030\006 \001(\01321.google.cloud.vision", + "ction_params\030\006 \001(\01321.google.cloud.vision" + ".v1p2beta1.WebDetectionParams\"\311\001\n\024Annota" + "teImageRequest\0223\n\005image\030\001 \001(\0132$.google.c" + "loud.vision.v1p2beta1.Image\0228\n\010features\030" + @@ -307,7 +307,7 @@ public static void registerAllExtensions( "geAnnotationContext\022\013\n\003uri\030\001 \001(\t\022\023\n\013page" + "_number\030\002 \001(\005\"\212\007\n\025AnnotateImageResponse\022" + "G\n\020face_annotations\030\001 \003(\0132-.google.cloud" + - ".vision.v1p2beta1.FaceAnnotation\022M\n\024land", + ".vision.v1p2beta1.FaceAnnotation\022M\n\024land" + "mark_annotations\030\002 \003(\0132/.google.cloud.vi" + "sion.v1p2beta1.EntityAnnotation\022I\n\020logo_" + "annotations\030\003 \003(\0132/.google.cloud.vision." + @@ -317,7 +317,7 @@ public static void registerAllExtensions( "ns\030\005 \003(\0132/.google.cloud.vision.v1p2beta1" + ".EntityAnnotation\022K\n\024full_text_annotatio" + "n\030\014 \001(\0132-.google.cloud.vision.v1p2beta1." + - "TextAnnotation\022S\n\026safe_search_annotation", + "TextAnnotation\022S\n\026safe_search_annotation" + "\030\006 \001(\01323.google.cloud.vision.v1p2beta1.S" + "afeSearchAnnotation\022S\n\033image_properties_" + "annotation\030\010 \001(\0132..google.cloud.vision.v" + @@ -327,7 +327,7 @@ public static void registerAllExtensions( "tion\030\r \001(\0132+.google.cloud.vision.v1p2bet" + "a1.WebDetection\022!\n\005error\030\t \001(\0132\022.google." + "rpc.Status\022F\n\007context\030\025 \001(\01325.google.clo" + - "ud.vision.v1p2beta1.ImageAnnotationConte", + "ud.vision.v1p2beta1.ImageAnnotationConte" + "xt\"\241\001\n\024AnnotateFileResponse\022@\n\014input_con" + "fig\030\001 \001(\0132*.google.cloud.vision.v1p2beta" + "1.InputConfig\022G\n\tresponses\030\002 \003(\01324.googl" + @@ -337,7 +337,7 @@ public static void registerAllExtensions( "2beta1.AnnotateImageRequest\"f\n\033BatchAnno" + "tateImagesResponse\022G\n\tresponses\030\001 \003(\01324." + "google.cloud.vision.v1p2beta1.AnnotateIm" + - "ageResponse\"\236\002\n\030AsyncAnnotateFileRequest", + "ageResponse\"\236\002\n\030AsyncAnnotateFileRequest" + "\022@\n\014input_config\030\001 \001(\0132*.google.cloud.vi" + "sion.v1p2beta1.InputConfig\0228\n\010features\030\002" + " \003(\0132&.google.cloud.vision.v1p2beta1.Fea" + @@ -347,7 +347,7 @@ public static void registerAllExtensions( "p2beta1.OutputConfig\"_\n\031AsyncAnnotateFil" + "eResponse\022B\n\routput_config\030\001 \001(\0132+.googl" + "e.cloud.vision.v1p2beta1.OutputConfig\"k\n" + - "\036AsyncBatchAnnotateFilesRequest\022I\n\010reque", + "\036AsyncBatchAnnotateFilesRequest\022I\n\010reque" + "sts\030\001 \003(\01327.google.cloud.vision.v1p2beta" + "1.AsyncAnnotateFileRequest\"n\n\037AsyncBatch" + "AnnotateFilesResponse\022K\n\tresponses\030\001 \003(\013" + @@ -357,7 +357,7 @@ public static void registerAllExtensions( "beta1.GcsSource\022\021\n\tmime_type\030\002 \001(\t\"j\n\014Ou" + "tputConfig\022F\n\017gcs_destination\030\001 \001(\0132-.go" + "ogle.cloud.vision.v1p2beta1.GcsDestinati" + - "on\022\022\n\nbatch_size\030\002 \001(\005\"\030\n\tGcsSource\022\013\n\003u", + "on\022\022\n\nbatch_size\030\002 \001(\005\"\030\n\tGcsSource\022\013\n\003u" + "ri\030\001 \001(\t\"\035\n\016GcsDestination\022\013\n\003uri\030\001 \001(\t\"" + "\217\002\n\021OperationMetadata\022E\n\005state\030\001 \001(\01626.g" + "oogle.cloud.vision.v1p2beta1.OperationMe" + @@ -367,7 +367,7 @@ public static void registerAllExtensions( "\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007R" + "UNNING\020\002\022\010\n\004DONE\020\003\022\r\n\tCANCELLED\020\004*e\n\nLik" + "elihood\022\013\n\007UNKNOWN\020\000\022\021\n\rVERY_UNLIKELY\020\001\022" + - "\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022", + "\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022" + "\017\n\013VERY_LIKELY\020\0052\360\002\n\016ImageAnnotator\022\263\001\n\023" + "BatchAnnotateImages\0229.google.cloud.visio" + "n.v1p2beta1.BatchAnnotateImagesRequest\032:" + @@ -377,7 +377,7 @@ public static void registerAllExtensions( "Files\022=.google.cloud.vision.v1p2beta1.As" + "yncBatchAnnotateFilesRequest\032\035.google.lo" + "ngrunning.Operation\".\202\323\344\223\002(\"#/v1p2beta1/" + - "files:asyncBatchAnnotate:\001*B\202\001\n!com.goog", + "files:asyncBatchAnnotate:\001*B\202\001\n!com.goog" + "le.cloud.vision.v1p2beta1B\023ImageAnnotato" + "rProtoP\001ZCgoogle.golang.org/genproto/goo" + "gleapis/cloud/vision/v1p2beta1;vision\370\001\001" + diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageContext.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageContext.java index 6c4a68ab69a0..140821ad933a 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageContext.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageContext.java @@ -33,6 +33,9 @@ private ImageContext( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1378,7 +1381,7 @@ public ImageContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageContext(input, extensionRegistry); + return new ImageContext(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageProperties.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageProperties.java index 6477a96d8b0e..4d524b86027f 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageProperties.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageProperties.java @@ -32,6 +32,9 @@ private ImageProperties( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public ImageProperties parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageProperties(input, extensionRegistry); + return new ImageProperties(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageSource.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageSource.java index 36daf5ba2282..f6a45b07726c 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageSource.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageSource.java @@ -34,6 +34,9 @@ private ImageSource( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -802,7 +805,7 @@ public ImageSource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageSource(input, extensionRegistry); + return new ImageSource(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/InputConfig.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/InputConfig.java index 4f23a1bc2212..53c42aa4b3a6 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/InputConfig.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/InputConfig.java @@ -33,6 +33,9 @@ private InputConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -764,7 +767,7 @@ public InputConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new InputConfig(input, extensionRegistry); + return new InputConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/LatLongRect.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/LatLongRect.java index c288c4d0dc64..c036468cc877 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/LatLongRect.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/LatLongRect.java @@ -32,6 +32,9 @@ private LatLongRect( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -831,7 +834,7 @@ public LatLongRect parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LatLongRect(input, extensionRegistry); + return new LatLongRect(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/LocationInfo.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/LocationInfo.java index 6153ca20b6c4..1185221c6f8d 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/LocationInfo.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/LocationInfo.java @@ -32,6 +32,9 @@ private LocationInfo( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -602,7 +605,7 @@ public LocationInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LocationInfo(input, extensionRegistry); + return new LocationInfo(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/NormalizedVertex.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/NormalizedVertex.java index 619d3d49dcfb..1c7c8db5abf4 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/NormalizedVertex.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/NormalizedVertex.java @@ -36,6 +36,9 @@ private NormalizedVertex( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -531,7 +534,7 @@ public NormalizedVertex parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedVertex(input, extensionRegistry); + return new NormalizedVertex(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/OperationMetadata.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/OperationMetadata.java index e1803dd5aadf..801bb1b5e052 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/OperationMetadata.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/OperationMetadata.java @@ -33,6 +33,9 @@ private OperationMetadata( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1111,7 +1114,7 @@ public OperationMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new OperationMetadata(input, extensionRegistry); + return new OperationMetadata(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/OutputConfig.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/OutputConfig.java index cde6efe58caf..bff29ee1bee7 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/OutputConfig.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/OutputConfig.java @@ -33,6 +33,9 @@ private OutputConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -704,7 +707,7 @@ public OutputConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputConfig(input, extensionRegistry); + return new OutputConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Page.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Page.java index 723c2bd45dfa..40198f4b42d8 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Page.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Page.java @@ -36,6 +36,9 @@ private Page( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1275,7 +1278,7 @@ public Page parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Page(input, extensionRegistry); + return new Page(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Paragraph.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Paragraph.java index aab5a4d01eb3..c9697a154209 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Paragraph.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Paragraph.java @@ -34,6 +34,9 @@ private Paragraph( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1516,7 +1519,7 @@ public Paragraph parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Paragraph(input, extensionRegistry); + return new Paragraph(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Position.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Position.java index 9ee97d758c5e..736873f2739e 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Position.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Position.java @@ -37,6 +37,9 @@ private Position( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -608,7 +611,7 @@ public Position parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Position(input, extensionRegistry); + return new Position(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Property.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Property.java index 057de3283e8b..4cb43e3ba673 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Property.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Property.java @@ -35,6 +35,9 @@ private Property( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -758,7 +761,7 @@ public Property parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Property(input, extensionRegistry); + return new Property(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/SafeSearchAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/SafeSearchAnnotation.java index aa0e32b620a0..25b7446ba72b 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/SafeSearchAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/SafeSearchAnnotation.java @@ -39,6 +39,9 @@ private SafeSearchAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -981,7 +984,7 @@ public SafeSearchAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SafeSearchAnnotation(input, extensionRegistry); + return new SafeSearchAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Symbol.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Symbol.java index b9336b982366..a306d29534c0 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Symbol.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Symbol.java @@ -34,6 +34,9 @@ private Symbol( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1231,7 +1234,7 @@ public Symbol parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Symbol(input, extensionRegistry); + return new Symbol(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotation.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotation.java index 931ff73bdbe4..2a977c5914ad 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotation.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotation.java @@ -40,6 +40,9 @@ private TextAnnotation( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -166,6 +169,9 @@ private DetectedLanguage( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -751,7 +757,7 @@ public DetectedLanguage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedLanguage(input, extensionRegistry); + return new DetectedLanguage(input, extensionRegistry); } }; @@ -831,6 +837,9 @@ private DetectedBreak( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1544,7 +1553,7 @@ public DetectedBreak parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedBreak(input, extensionRegistry); + return new DetectedBreak(input, extensionRegistry); } }; @@ -1666,6 +1675,9 @@ private TextProperty( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2675,7 +2687,7 @@ public TextProperty parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TextProperty(input, extensionRegistry); + return new TextProperty(input, extensionRegistry); } }; @@ -3574,7 +3586,7 @@ public TextAnnotation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TextAnnotation(input, extensionRegistry); + return new TextAnnotation(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotationProto.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotationProto.java index 6db97a5e7dbd..027024e183f6 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotationProto.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotationProto.java @@ -77,7 +77,7 @@ public static void registerAllExtensions( "\002 \001(\t\032=\n\020DetectedLanguage\022\025\n\rlanguage_co" + "de\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\032\334\001\n\rDetecte" + "dBreak\022S\n\004type\030\001 \001(\0162E.google.cloud.visi" + - "on.v1p2beta1.TextAnnotation.DetectedBrea", + "on.v1p2beta1.TextAnnotation.DetectedBrea" + "k.BreakType\022\021\n\tis_prefix\030\002 \001(\010\"c\n\tBreakT" + "ype\022\013\n\007UNKNOWN\020\000\022\t\n\005SPACE\020\001\022\016\n\nSURE_SPAC" + "E\020\002\022\022\n\016EOL_SURE_SPACE\020\003\022\n\n\006HYPHEN\020\004\022\016\n\nL" + @@ -87,7 +87,7 @@ public static void registerAllExtensions( "\022S\n\016detected_break\030\002 \001(\0132;.google.cloud." + "vision.v1p2beta1.TextAnnotation.Detected" + "Break\"\275\001\n\004Page\022L\n\010property\030\001 \001(\0132:.googl" + - "e.cloud.vision.v1p2beta1.TextAnnotation.", + "e.cloud.vision.v1p2beta1.TextAnnotation." + "TextProperty\022\r\n\005width\030\002 \001(\005\022\016\n\006height\030\003 " + "\001(\005\0224\n\006blocks\030\004 \003(\0132$.google.cloud.visio" + "n.v1p2beta1.Block\022\022\n\nconfidence\030\005 \001(\002\"\202\003" + @@ -97,7 +97,7 @@ public static void registerAllExtensions( "ud.vision.v1p2beta1.BoundingPoly\022<\n\npara" + "graphs\030\003 \003(\0132(.google.cloud.vision.v1p2b" + "eta1.Paragraph\022B\n\nblock_type\030\004 \001(\0162..goo" + - "gle.cloud.vision.v1p2beta1.Block.BlockTy", + "gle.cloud.vision.v1p2beta1.Block.BlockTy" + "pe\022\022\n\nconfidence\030\005 \001(\002\"R\n\tBlockType\022\013\n\007U" + "NKNOWN\020\000\022\010\n\004TEXT\020\001\022\t\n\005TABLE\020\002\022\013\n\007PICTURE" + "\020\003\022\t\n\005RULER\020\004\022\013\n\007BARCODE\020\005\"\344\001\n\tParagraph" + @@ -107,7 +107,7 @@ public static void registerAllExtensions( "on.v1p2beta1.BoundingPoly\0222\n\005words\030\003 \003(\013" + "2#.google.cloud.vision.v1p2beta1.Word\022\022\n" + "\nconfidence\030\004 \001(\002\"\343\001\n\004Word\022L\n\010property\030\001" + - " \001(\0132:.google.cloud.vision.v1p2beta1.Tex", + " \001(\0132:.google.cloud.vision.v1p2beta1.Tex" + "tAnnotation.TextProperty\022A\n\014bounding_box" + "\030\002 \001(\0132+.google.cloud.vision.v1p2beta1.B" + "oundingPoly\0226\n\007symbols\030\003 \003(\0132%.google.cl" + @@ -117,7 +117,7 @@ public static void registerAllExtensions( "ion.TextProperty\022A\n\014bounding_box\030\002 \001(\0132+" + ".google.cloud.vision.v1p2beta1.BoundingP" + "oly\022\014\n\004text\030\003 \001(\t\022\022\n\nconfidence\030\004 \001(\002B\202\001" + - "\n!com.google.cloud.vision.v1p2beta1B\023Tex", + "\n!com.google.cloud.vision.v1p2beta1B\023Tex" + "tAnnotationProtoP\001ZCgoogle.golang.org/ge" + "nproto/googleapis/cloud/vision/v1p2beta1" + ";vision\370\001\001b\006proto3" diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Vertex.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Vertex.java index 97f6e1907800..03162ad00790 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Vertex.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Vertex.java @@ -35,6 +35,9 @@ private Vertex( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -523,7 +526,7 @@ public Vertex parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Vertex(input, extensionRegistry); + return new Vertex(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetection.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetection.java index 8b3ab6409bb8..4dad80a59abc 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetection.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetection.java @@ -38,6 +38,9 @@ private WebDetection( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -234,6 +237,9 @@ private WebEntity( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -963,7 +969,7 @@ public WebEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebEntity(input, extensionRegistry); + return new WebEntity(input, extensionRegistry); } }; @@ -1044,6 +1050,9 @@ private WebImage( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1615,7 +1624,7 @@ public WebImage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebImage(input, extensionRegistry); + return new WebImage(input, extensionRegistry); } }; @@ -1825,6 +1834,9 @@ private WebPage( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3515,7 +3527,7 @@ public WebPage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebPage(input, extensionRegistry); + return new WebPage(input, extensionRegistry); } }; @@ -3609,6 +3621,9 @@ private WebLabel( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4272,7 +4287,7 @@ public WebLabel parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebLabel(input, extensionRegistry); + return new WebLabel(input, extensionRegistry); } }; @@ -7193,7 +7208,7 @@ public WebDetection parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebDetection(input, extensionRegistry); + return new WebDetection(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionParams.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionParams.java index 0e3b3188afd0..201863a9d41f 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionParams.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionParams.java @@ -33,6 +33,9 @@ private WebDetectionParams( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -448,7 +451,7 @@ public WebDetectionParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new WebDetectionParams(input, extensionRegistry); + return new WebDetectionParams(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionProto.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionProto.java index c247c4852afb..69b531681fcd 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionProto.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionProto.java @@ -57,7 +57,7 @@ public static void registerAllExtensions( "oogle.cloud.vision.v1p2beta1.WebDetectio" + "n.WebImage\022U\n\027partial_matching_images\030\003 " + "\003(\01324.google.cloud.vision.v1p2beta1.WebD" + - "etection.WebImage\022W\n\032pages_with_matching", + "etection.WebImage\022W\n\032pages_with_matching" + "_images\030\004 \003(\01323.google.cloud.vision.v1p2" + "beta1.WebDetection.WebPage\022U\n\027visually_s" + "imilar_images\030\006 \003(\01324.google.cloud.visio" + @@ -67,7 +67,7 @@ public static void registerAllExtensions( "bEntity\022\021\n\tentity_id\030\001 \001(\t\022\r\n\005score\030\002 \001(" + "\002\022\023\n\013description\030\003 \001(\t\032&\n\010WebImage\022\013\n\003ur" + "l\030\001 \001(\t\022\r\n\005score\030\002 \001(\002\032\344\001\n\007WebPage\022\013\n\003ur" + - "l\030\001 \001(\t\022\r\n\005score\030\002 \001(\002\022\022\n\npage_title\030\003 \001", + "l\030\001 \001(\t\022\r\n\005score\030\002 \001(\002\022\022\n\npage_title\030\003 \001" + "(\t\022R\n\024full_matching_images\030\004 \003(\01324.googl" + "e.cloud.vision.v1p2beta1.WebDetection.We" + "bImage\022U\n\027partial_matching_images\030\005 \003(\0132" + diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Word.java b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Word.java index c9c63076475c..f1c097251943 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Word.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/Word.java @@ -34,6 +34,9 @@ private Word( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1539,7 +1542,7 @@ public Word parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Word(input, extensionRegistry); + return new Word(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrl.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrl.java index 4f7d5cd041a8..fe32d8503539 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrl.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrl.java @@ -37,6 +37,9 @@ private CrawledUrl( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -870,7 +873,7 @@ public CrawledUrl parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CrawledUrl(input, extensionRegistry); + return new CrawledUrl(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CreateScanConfigRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CreateScanConfigRequest.java index 5cf31ef9d6d1..bb048f596bd8 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CreateScanConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CreateScanConfigRequest.java @@ -33,6 +33,9 @@ private CreateScanConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -783,7 +786,7 @@ public CreateScanConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateScanConfigRequest(input, extensionRegistry); + return new CreateScanConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/DeleteScanConfigRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/DeleteScanConfigRequest.java index bb3bad33b98e..aa5a8a6f74a2 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/DeleteScanConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/DeleteScanConfigRequest.java @@ -33,6 +33,9 @@ private DeleteScanConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public DeleteScanConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteScanConfigRequest(input, extensionRegistry); + return new DeleteScanConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/Finding.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/Finding.java index 8e06f773d98c..3f43a76611ca 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/Finding.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/Finding.java @@ -43,6 +43,9 @@ private Finding( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3235,7 +3238,7 @@ public Finding parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Finding(input, extensionRegistry); + return new Finding(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingAddonProto.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingAddonProto.java index 4fba4427b390..1252f031c817 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingAddonProto.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingAddonProto.java @@ -52,7 +52,7 @@ public static void registerAllExtensions( "content_type\030\001 \001(\t\022\024\n\014resource_url\030\002 \001(\t" + "\"/\n\024VulnerableParameters\022\027\n\017parameter_na" + "mes\030\001 \003(\t\"2\n\003Xss\022\024\n\014stack_traces\030\001 \003(\t\022\025" + - "\n\rerror_message\030\002 \001(\tB\235\001\n+com.google.clo", + "\n\rerror_message\030\002 \001(\tB\235\001\n+com.google.clo" + "ud.websecurityscanner.v1alphaB\021FindingAd" + "donProtoP\001ZYgoogle.golang.org/genproto/g" + "oogleapis/cloud/websecurityscanner/v1alp" + diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingProto.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingProto.java index 90388205dd8a..5e456375cbbe 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingProto.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingProto.java @@ -37,7 +37,7 @@ public static void registerAllExtensions( "ogle.cloud.websecurityscanner.v1alpha.Fi" + "nding.FindingType\022\023\n\013http_method\030\003 \001(\t\022\022" + "\n\nfuzzed_url\030\004 \001(\t\022\014\n\004body\030\005 \001(\t\022\023\n\013desc" + - "ription\030\006 \001(\t\022\030\n\020reproduction_url\030\007 \001(\t\022", + "ription\030\006 \001(\t\022\030\n\020reproduction_url\030\007 \001(\t\022" + "\021\n\tframe_url\030\010 \001(\t\022\021\n\tfinal_url\030\t \001(\t\022\023\n" + "\013tracking_id\030\n \001(\t\022R\n\020outdated_library\030\013" + " \001(\01328.google.cloud.websecurityscanner.v" + @@ -47,7 +47,7 @@ public static void registerAllExtensions( "able_parameters\030\r \001(\0132=.google.cloud.web" + "securityscanner.v1alpha.VulnerableParame" + "ters\0229\n\003xss\030\016 \001(\0132,.google.cloud.websecu" + - "rityscanner.v1alpha.Xss\"\241\001\n\013FindingType\022", + "rityscanner.v1alpha.Xss\"\241\001\n\013FindingType\022" + "\034\n\030FINDING_TYPE_UNSPECIFIED\020\000\022\021\n\rMIXED_C" + "ONTENT\020\001\022\024\n\020OUTDATED_LIBRARY\020\002\022\021\n\rROSETT" + "A_FLASH\020\005\022\020\n\014XSS_CALLBACK\020\003\022\r\n\tXSS_ERROR" + diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStats.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStats.java index c407ffe597eb..ea62d55e4765 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStats.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStats.java @@ -35,6 +35,9 @@ private FindingTypeStats( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -571,7 +574,7 @@ public FindingTypeStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FindingTypeStats(input, extensionRegistry); + return new FindingTypeStats(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStatsProto.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStatsProto.java index 4300713df313..d5309ac0ab9f 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStatsProto.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStatsProto.java @@ -37,7 +37,7 @@ public static void registerAllExtensions( "gle.cloud.websecurityscanner.v1alpha.Fin" + "ding.FindingType\022\025\n\rfinding_count\030\002 \001(\005B" + "\241\001\n+com.google.cloud.websecurityscanner." + - "v1alphaB\025FindingTypeStatsProtoP\001ZYgoogle", + "v1alphaB\025FindingTypeStatsProtoP\001ZYgoogle" + ".golang.org/genproto/googleapis/cloud/we" + "bsecurityscanner/v1alpha;websecurityscan" + "nerb\006proto3" diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetFindingRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetFindingRequest.java index a15edd2411f0..addbdb521a1d 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetFindingRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetFindingRequest.java @@ -33,6 +33,9 @@ private GetFindingRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -549,7 +552,7 @@ public GetFindingRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFindingRequest(input, extensionRegistry); + return new GetFindingRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanConfigRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanConfigRequest.java index f846808dc531..ad10f3992be6 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanConfigRequest.java @@ -33,6 +33,9 @@ private GetScanConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public GetScanConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetScanConfigRequest(input, extensionRegistry); + return new GetScanConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanRunRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanRunRequest.java index a4b3406b1013..19cc53e6ddec 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanRunRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanRunRequest.java @@ -33,6 +33,9 @@ private GetScanRunRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -549,7 +552,7 @@ public GetScanRunRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetScanRunRequest(input, extensionRegistry); + return new GetScanRunRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsRequest.java index 9a4d1e0e1b65..c253351658b7 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsRequest.java @@ -35,6 +35,9 @@ private ListCrawledUrlsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -800,7 +803,7 @@ public ListCrawledUrlsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCrawledUrlsRequest(input, extensionRegistry); + return new ListCrawledUrlsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsResponse.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsResponse.java index d73f92542fb0..38907231b551 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsResponse.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsResponse.java @@ -34,6 +34,9 @@ private ListCrawledUrlsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -975,7 +978,7 @@ public ListCrawledUrlsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCrawledUrlsResponse(input, extensionRegistry); + return new ListCrawledUrlsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsRequest.java index 6bcd0a072ed3..5203f54361cd 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsRequest.java @@ -33,6 +33,9 @@ private ListFindingTypeStatsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -549,7 +552,7 @@ public ListFindingTypeStatsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFindingTypeStatsRequest(input, extensionRegistry); + return new ListFindingTypeStatsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsResponse.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsResponse.java index d84f8b5e2649..55d2f451e6c2 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsResponse.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsResponse.java @@ -33,6 +33,9 @@ private ListFindingTypeStatsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public ListFindingTypeStatsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFindingTypeStatsResponse(input, extensionRegistry); + return new ListFindingTypeStatsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsRequest.java index a2a7cf247978..56035cf9446c 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsRequest.java @@ -36,6 +36,9 @@ private ListFindingsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -976,7 +979,7 @@ public ListFindingsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFindingsRequest(input, extensionRegistry); + return new ListFindingsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsResponse.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsResponse.java index 60f562b4f8fd..cccafabdce8a 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsResponse.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsResponse.java @@ -34,6 +34,9 @@ private ListFindingsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -975,7 +978,7 @@ public ListFindingsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFindingsResponse(input, extensionRegistry); + return new ListFindingsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsRequest.java index cef69e219eee..5a8077796603 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsRequest.java @@ -35,6 +35,9 @@ private ListScanConfigsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -793,7 +796,7 @@ public ListScanConfigsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListScanConfigsRequest(input, extensionRegistry); + return new ListScanConfigsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsResponse.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsResponse.java index 6b118abd7525..91fe68f11066 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsResponse.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsResponse.java @@ -34,6 +34,9 @@ private ListScanConfigsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -975,7 +978,7 @@ public ListScanConfigsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListScanConfigsResponse(input, extensionRegistry); + return new ListScanConfigsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsRequest.java index e7e454f615ba..ce8219ef88da 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsRequest.java @@ -35,6 +35,9 @@ private ListScanRunsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -793,7 +796,7 @@ public ListScanRunsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListScanRunsRequest(input, extensionRegistry); + return new ListScanRunsRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsResponse.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsResponse.java index 8dd35d515f3b..588e428b11b5 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsResponse.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsResponse.java @@ -34,6 +34,9 @@ private ListScanRunsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -975,7 +978,7 @@ public ListScanRunsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListScanRunsResponse(input, extensionRegistry); + return new ListScanRunsResponse(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/OutdatedLibrary.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/OutdatedLibrary.java index eea02cc5325a..d2f5418cfb6d 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/OutdatedLibrary.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/OutdatedLibrary.java @@ -35,6 +35,9 @@ private OutdatedLibrary( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -910,7 +913,7 @@ public OutdatedLibrary parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new OutdatedLibrary(input, extensionRegistry); + return new OutdatedLibrary(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfig.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfig.java index ff9327af81cb..81b5e84c1810 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfig.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfig.java @@ -39,6 +39,9 @@ private ScanConfig( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -554,6 +557,9 @@ private Authentication( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -703,6 +709,9 @@ private GoogleAccount( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1380,7 +1389,7 @@ public GoogleAccount parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GoogleAccount(input, extensionRegistry); + return new GoogleAccount(input, extensionRegistry); } }; @@ -1499,6 +1508,9 @@ private CustomAccount( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2337,7 +2349,7 @@ public CustomAccount parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CustomAccount(input, extensionRegistry); + return new CustomAccount(input, extensionRegistry); } }; @@ -3199,7 +3211,7 @@ public Authentication parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Authentication(input, extensionRegistry); + return new Authentication(input, extensionRegistry); } }; @@ -3296,6 +3308,9 @@ private Schedule( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3979,7 +3994,7 @@ public Schedule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Schedule(input, extensionRegistry); + return new Schedule(input, extensionRegistry); } }; @@ -5981,7 +5996,7 @@ public ScanConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ScanConfig(input, extensionRegistry); + return new ScanConfig(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfigProto.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfigProto.java index 2bebbc2d7baf..97cacbf2db6f 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfigProto.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfigProto.java @@ -57,7 +57,7 @@ public static void registerAllExtensions( "ing_urls\030\004 \003(\t\022Z\n\016authentication\030\005 \001(\0132B" + ".google.cloud.websecurityscanner.v1alpha" + ".ScanConfig.Authentication\022Q\n\nuser_agent" + - "\030\006 \001(\0162=.google.cloud.websecurityscanner", + "\030\006 \001(\0162=.google.cloud.websecurityscanner" + ".v1alpha.ScanConfig.UserAgent\022\032\n\022blackli" + "st_patterns\030\007 \003(\t\022N\n\010schedule\030\010 \001(\0132<.go" + "ogle.cloud.websecurityscanner.v1alpha.Sc" + @@ -67,7 +67,7 @@ public static void registerAllExtensions( "entication\022j\n\016google_account\030\001 \001(\0132P.goo" + "gle.cloud.websecurityscanner.v1alpha.Sca" + "nConfig.Authentication.GoogleAccountH\000\022j" + - "\n\016custom_account\030\002 \001(\0132P.google.cloud.we", + "\n\016custom_account\030\002 \001(\0132P.google.cloud.we" + "bsecurityscanner.v1alpha.ScanConfig.Auth" + "entication.CustomAccountH\000\0323\n\rGoogleAcco" + "unt\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\032" + @@ -77,7 +77,7 @@ public static void registerAllExtensions( " \001(\0132\032.google.protobuf.Timestamp\022\036\n\026inte" + "rval_duration_days\030\002 \001(\005\"`\n\tUserAgent\022\032\n" + "\026USER_AGENT_UNSPECIFIED\020\000\022\020\n\014CHROME_LINU" + - "X\020\001\022\022\n\016CHROME_ANDROID\020\002\022\021\n\rSAFARI_IPHONE", + "X\020\001\022\022\n\016CHROME_ANDROID\020\002\022\021\n\rSAFARI_IPHONE" + "\020\003\"N\n\016TargetPlatform\022\037\n\033TARGET_PLATFORM_" + "UNSPECIFIED\020\000\022\016\n\nAPP_ENGINE\020\001\022\013\n\007COMPUTE" + "\020\002B\233\001\n+com.google.cloud.websecurityscann" + diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRun.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRun.java index 5b74198f2be4..79d8a4fc866b 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRun.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRun.java @@ -39,6 +39,9 @@ private ScanRun( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1937,7 +1940,7 @@ public ScanRun parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ScanRun(input, extensionRegistry); + return new ScanRun(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRunProto.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRunProto.java index 15867ad68338..b3fb403b5615 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRunProto.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRunProto.java @@ -37,7 +37,7 @@ public static void registerAllExtensions( "anner.v1alpha.ScanRun.ExecutionState\022R\n\014" + "result_state\030\003 \001(\0162<.google.cloud.websec" + "urityscanner.v1alpha.ScanRun.ResultState" + - "\022.\n\nstart_time\030\004 \001(\0132\032.google.protobuf.T", + "\022.\n\nstart_time\030\004 \001(\0132\032.google.protobuf.T" + "imestamp\022,\n\010end_time\030\005 \001(\0132\032.google.prot" + "obuf.Timestamp\022\032\n\022urls_crawled_count\030\006 \001" + "(\003\022\031\n\021urls_tested_count\030\007 \001(\003\022\033\n\023has_vul" + @@ -47,7 +47,7 @@ public static void registerAllExtensions( "\002\022\014\n\010FINISHED\020\003\"O\n\013ResultState\022\034\n\030RESULT" + "_STATE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERR" + "OR\020\002\022\n\n\006KILLED\020\003B\230\001\n+com.google.cloud.we" + - "bsecurityscanner.v1alphaB\014ScanRunProtoP\001", + "bsecurityscanner.v1alphaB\014ScanRunProtoP\001" + "ZYgoogle.golang.org/genproto/googleapis/" + "cloud/websecurityscanner/v1alpha;websecu" + "rityscannerb\006proto3" diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StartScanRunRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StartScanRunRequest.java index 81f4c11afc02..ed36e662ebc2 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StartScanRunRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StartScanRunRequest.java @@ -33,6 +33,9 @@ private StartScanRunRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public StartScanRunRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StartScanRunRequest(input, extensionRegistry); + return new StartScanRunRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StopScanRunRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StopScanRunRequest.java index 092d7d91cc56..37d725242093 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StopScanRunRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StopScanRunRequest.java @@ -33,6 +33,9 @@ private StopScanRunRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -549,7 +552,7 @@ public StopScanRunRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StopScanRunRequest(input, extensionRegistry); + return new StopScanRunRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/UpdateScanConfigRequest.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/UpdateScanConfigRequest.java index 1a89abb09765..1368cd873ece 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/UpdateScanConfigRequest.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/UpdateScanConfigRequest.java @@ -32,6 +32,9 @@ private UpdateScanConfigRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -903,7 +906,7 @@ public UpdateScanConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateScanConfigRequest(input, extensionRegistry); + return new UpdateScanConfigRequest(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ViolatingResource.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ViolatingResource.java index 46e50e89559c..84e1ea10efe5 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ViolatingResource.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ViolatingResource.java @@ -35,6 +35,9 @@ private ViolatingResource( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -685,7 +688,7 @@ public ViolatingResource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ViolatingResource(input, extensionRegistry); + return new ViolatingResource(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/VulnerableParameters.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/VulnerableParameters.java index 8a8e95fdbb03..d292edc9c856 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/VulnerableParameters.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/VulnerableParameters.java @@ -33,6 +33,9 @@ private VulnerableParameters( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -597,7 +600,7 @@ public VulnerableParameters parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VulnerableParameters(input, extensionRegistry); + return new VulnerableParameters(input, extensionRegistry); } }; diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerProto.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerProto.java index 86748c2e64db..643d134bdf38 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerProto.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerProto.java @@ -122,7 +122,7 @@ public static void registerAllExtensions( "finding.proto\032@google/cloud/websecuritys" + "canner/v1alpha/finding_type_stats.proto\032" + "9google/cloud/websecurityscanner/v1alpha" + - "/scan_config.proto\0326google/cloud/websecu", + "/scan_config.proto\0326google/cloud/websecu" + "rityscanner/v1alpha/scan_run.proto\032\033goog" + "le/protobuf/empty.proto\032 google/protobuf" + "/field_mask.proto\"s\n\027CreateScanConfigReq" + @@ -132,7 +132,7 @@ public static void registerAllExtensions( "t\022\014\n\004name\030\001 \001(\t\"$\n\024GetScanConfigRequest\022" + "\014\n\004name\030\001 \001(\t\"O\n\026ListScanConfigsRequest\022" + "\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\022\021\n\tp" + - "age_size\030\003 \001(\005\"\224\001\n\027UpdateScanConfigReque", + "age_size\030\003 \001(\005\"\224\001\n\027UpdateScanConfigReque" + "st\022H\n\013scan_config\030\002 \001(\01323.google.cloud.w" + "ebsecurityscanner.v1alpha.ScanConfig\022/\n\013" + "update_mask\030\003 \001(\0132\032.google.protobuf.Fiel" + @@ -142,7 +142,7 @@ public static void registerAllExtensions( "_token\030\002 \001(\t\"#\n\023StartScanRunRequest\022\014\n\004n" + "ame\030\001 \001(\t\"!\n\021GetScanRunRequest\022\014\n\004name\030\001" + " \001(\t\"L\n\023ListScanRunsRequest\022\016\n\006parent\030\001 " + - "\001(\t\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001", + "\001(\t\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001" + "(\005\"t\n\024ListScanRunsResponse\022C\n\tscan_runs\030" + "\001 \003(\01320.google.cloud.websecurityscanner." + "v1alpha.ScanRun\022\027\n\017next_page_token\030\002 \001(\t" + @@ -152,7 +152,7 @@ public static void registerAllExtensions( "\027ListCrawledUrlsResponse\022I\n\014crawled_urls" + "\030\001 \003(\01323.google.cloud.websecurityscanner" + ".v1alpha.CrawledUrl\022\027\n\017next_page_token\030\002" + - " \001(\t\"!\n\021GetFindingRequest\022\014\n\004name\030\001 \001(\t\"", + " \001(\t\"!\n\021GetFindingRequest\022\014\n\004name\030\001 \001(\t\"" + "\\\n\023ListFindingsRequest\022\016\n\006parent\030\001 \001(\t\022\016" + "\n\006filter\030\002 \001(\t\022\022\n\npage_token\030\003 \001(\t\022\021\n\tpa" + "ge_size\030\004 \001(\005\"s\n\024ListFindingsResponse\022B\n" + @@ -162,7 +162,7 @@ public static void registerAllExtensions( "t\022\016\n\006parent\030\001 \001(\t\"u\n\034ListFindingTypeStat" + "sResponse\022U\n\022finding_type_stats\030\001 \003(\01329." + "google.cloud.websecurityscanner.v1alpha." + - "FindingTypeStats2\320\024\n\022WebSecurityScanner\022", + "FindingTypeStats2\320\024\n\022WebSecurityScanner\022" + "\310\001\n\020CreateScanConfig\022@.google.cloud.webs" + "ecurityscanner.v1alpha.CreateScanConfigR" + "equest\0323.google.cloud.websecurityscanner" + @@ -172,7 +172,7 @@ public static void registerAllExtensions( "ebsecurityscanner.v1alpha.DeleteScanConf" + "igRequest\032\026.google.protobuf.Empty\"0\202\323\344\223\002" + "**(/v1alpha/{name=projects/*/scanConfigs" + - "/*}\022\265\001\n\rGetScanConfig\022=.google.cloud.web", + "/*}\022\265\001\n\rGetScanConfig\022=.google.cloud.web" + "securityscanner.v1alpha.GetScanConfigReq" + "uest\0323.google.cloud.websecurityscanner.v" + "1alpha.ScanConfig\"0\202\323\344\223\002*\022(/v1alpha/{nam" + @@ -182,7 +182,7 @@ public static void registerAllExtensions( "e.cloud.websecurityscanner.v1alpha.ListS" + "canConfigsResponse\"0\202\323\344\223\002*\022(/v1alpha/{pa" + "rent=projects/*}/scanConfigs\022\324\001\n\020UpdateS" + - "canConfig\022@.google.cloud.websecurityscan", + "canConfig\022@.google.cloud.websecurityscan" + "ner.v1alpha.UpdateScanConfigRequest\0323.go" + "ogle.cloud.websecurityscanner.v1alpha.Sc" + "anConfig\"I\202\323\344\223\002C24/v1alpha/{scan_config." + @@ -192,7 +192,7 @@ public static void registerAllExtensions( "st\0320.google.cloud.websecurityscanner.v1a" + "lpha.ScanRun\"9\202\323\344\223\0023\"./v1alpha/{name=pro" + "jects/*/scanConfigs/*}:start:\001*\022\267\001\n\nGetS" + - "canRun\022:.google.cloud.websecurityscanner", + "canRun\022:.google.cloud.websecurityscanner" + ".v1alpha.GetScanRunRequest\0320.google.clou" + "d.websecurityscanner.v1alpha.ScanRun\";\202\323" + "\344\223\0025\0223/v1alpha/{name=projects/*/scanConf" + @@ -202,7 +202,7 @@ public static void registerAllExtensions( "ityscanner.v1alpha.ListScanRunsResponse\"" + ";\202\323\344\223\0025\0223/v1alpha/{parent=projects/*/sca" + "nConfigs/*}/scanRuns\022\301\001\n\013StopScanRun\022;.g" + - "oogle.cloud.websecurityscanner.v1alpha.S", + "oogle.cloud.websecurityscanner.v1alpha.S" + "topScanRunRequest\0320.google.cloud.websecu" + "rityscanner.v1alpha.ScanRun\"C\202\323\344\223\002=\"8/v1" + "alpha/{name=projects/*/scanConfigs/*/sca" + @@ -212,7 +212,7 @@ public static void registerAllExtensions( "securityscanner.v1alpha.ListCrawledUrlsR" + "esponse\"I\202\323\344\223\002C\022A/v1alpha/{parent=projec" + "ts/*/scanConfigs/*/scanRuns/*}/crawledUr" + - "ls\022\302\001\n\nGetFinding\022:.google.cloud.websecu", + "ls\022\302\001\n\nGetFinding\022:.google.cloud.websecu" + "rityscanner.v1alpha.GetFindingRequest\0320." + "google.cloud.websecurityscanner.v1alpha." + "Finding\"F\202\323\344\223\002@\022>/v1alpha/{name=projects" + @@ -222,7 +222,7 @@ public static void registerAllExtensions( ".google.cloud.websecurityscanner.v1alpha" + ".ListFindingsResponse\"F\202\323\344\223\002@\022>/v1alpha/" + "{parent=projects/*/scanConfigs/*/scanRun" + - "s/*}/findings\022\363\001\n\024ListFindingTypeStats\022D", + "s/*}/findings\022\363\001\n\024ListFindingTypeStats\022D" + ".google.cloud.websecurityscanner.v1alpha" + ".ListFindingTypeStatsRequest\032E.google.cl" + "oud.websecurityscanner.v1alpha.ListFindi" + diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/Xss.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/Xss.java index 624872197119..fa21fa1534d1 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/Xss.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/Xss.java @@ -34,6 +34,9 @@ private Xss( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -755,7 +758,7 @@ public Xss parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Xss(input, extensionRegistry); + return new Xss(input, extensionRegistry); } };